You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are performing a release mvn release:prepare release:perform on a multimodule maven project.
Some module depends from other modules. The typical scenario is:
parent
|->model
|->client (depends from model)
|->web (depends from model)
The release plugin change the version and run a clean verify in all pom.xml after that run deploy site:deploy goals. The aggregate-add-third-party mojo run on parent project and to resolve all dependencies of children modules. It fails when one of child module depends on other child (web -> model) because aggregate-add-third-party is not able to resolve the child module with the new version since it has been never installed.
The text was updated successfully, but these errors were encountered:
Change the preparationGoals of the mave-release-plugin from it default value (clean verify) to clean install so that when the release plugin run the second phase (perform) deploy site:deploy than the site generation of the parent project has jars of submodules available in the local m2.
We are performing a release
mvn release:prepare release:perform
on a multimodule maven project.Some module depends from other modules. The typical scenario is:
parent
|->model
|->client (depends from model)
|->web (depends from model)
The release plugin change the version and run a
clean verify
in all pom.xml after that rundeploy site:deploy
goals. The aggregate-add-third-party mojo run on parent project and to resolve all dependencies of children modules. It fails when one of child module depends on other child (web -> model) because aggregate-add-third-party is not able to resolve the child module with the new version since it has been never installed.The text was updated successfully, but these errors were encountered: