Hello,
I am trying to get the 2024.06 template running. During the build process I get the following error
Execution failed for task ':server:app:bootJar'.
> Could not resolve all files for configuration ':server:app:runtimeClasspath'.
> Could not find com.mgmtp.a12.mr:internal-client-model:39.107.0.
Required by:
project :server:app > com.mgmtp.a12.uaa:uaa-authorization-a12-extension:8.0.1 > com.mgmtp.a12.kernel:kernel-core-facade:29.1.0
When manually checking JFrog, I can only find:
39.107.0-onDemand00003_38678073
I think the version mismatch is the problem. Is that correct and how can I resolve the resolution error?
Moin @christoph-wintry-light,
thanks for your post. I will check it out and try if I can reproduce it.
Moin @christoph-wintry-light,
I was able to reproduce it with my setup.
For the moment you could add the following to the two build files in server/app/build.gradle and server/init/build.gradle to make the build work:
dependencies {
...
implementation('com.mgmtp.a12.mr:internal-client-model') {
version {
strictly '39.107.1'
}
}
}
We will investigate this further, and clarify if the respective version should be released on getA12 artifactory.
Kind regards,
Jan
Please also make sure that you’ve added the additional scoped packages to your ~/.npmrc config before building: GetA12 Login
So your .npmrc should include these scoped packages:
registry=https://registry.npmjs.org/
//artifacts.geta12.com/artifactory/api/npm/a12-npm/:_auth = <USERNAME>:<API KEY> (convert to base64)
//artifacts.geta12.com/artifactory/api/npm/a12-npm/:always-auth = true
//artifacts.geta12.com/artifactory/api/npm/a12-npm/:email = <EMAIL>
@com.mgmtp.a12.base:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.client:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.dataservices:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.devtools:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.diagrameditor:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.dml:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.formengine:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.kernel:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.overviewengine:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.projecttemplate:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.treeengine:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.tutorial:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.uaa:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.utils:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.widgets:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.workflows:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.expression:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.print:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.contentengine:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.enablements:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.dml:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.datadistribution:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.notificationcenter:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.migrationtool:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.relationshipengine:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
@com.mgmtp.a12.crud:registry=https://artifacts.geta12.com/artifactory/api/npm/a12-npm/
Thanks, the build works with the change in the build.gradle files!
Moin @christoph-wintry-light again,
the artifact internal-client-model-39.107.0 is now available on the getA12 artifactory.
The workaround by explicitly configuring an available version isn’t necessary anymore.