-
Bug
-
Resolution: Not an issue
-
Major
-
None
-
1.2.1
-
None
The maven build fails in our current project, when changing to Version 5.5.6 (updating from 5.5).
The maven error is reproducable when starting a plain project with the following steps (based on instructions from https://documentation.magnolia-cms.com/display/DOCS/Module+structure#Modulestructure-Mavenarchetypes):
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/
- Using version 5.5.6
- Changing the resulting pom's
- Root pom.xml: Use the eebundle (Option B)
- Webapp pom.xml: Use the magnolia-enterprise-pro-webapp (Option iv)
- Run
mvn clean install
Resulting error:
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] test (parent pom) .................................. SUCCESS [ 0.255 s] [INFO] test: webapp ....................................... FAILURE [ 14.380 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.070 s [INFO] Finished at: 2017-09-06T12:51:06+02:00 [INFO] Final Memory: 32M/232M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project test-webapp: Could not resolve dependencies for project test:test-webapp:war:1.0-SNAPSHOT: Failed to collect dependencies at info.magnolia.eebundle:magnolia-enterprise-pro-webapp:pom:5.5.6 -> info.magnolia.multisite:magnolia-module-multisite:jar:1.2.6: Failed to read artifact descriptor for info.magnolia.multisite:magnolia-module-multisite:jar:1.2.6: Failure to find info.magnolia:magnolia-project:pom:5.4.13 in https://nexus.magnolia-cms.com/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of magnolia.public has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :test-webapp
The error seems to occur up from version 5.5.5. We did not see it in 5.5.1 - 5.5.4.
Acceptance criteria
- is related to
-
MAGNOLIA-7148 missing magnolia-bundle-parent - Update from 5.4.x to 5.4.13 (latest) not possible
- Open