We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project structure:
. └── parent ├── moduleA │ └── submoduleB
parent pom.xml
<groupId>org.example</groupId> <artifactId>parent</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <modules> <module>moduleA/pom.xml</module> </modules>
moduleA pom.xml
<parent> <artifactId>parent</artifactId> <groupId>org.example</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>moduleA</artifactId> <packaging>pom</packaging> <modules> <module>submoduleB/pom.xml</module> </modules>
submoduleB pom.xml
<parent> <artifactId>moduleA</artifactId> <groupId>org.example</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.example.moduleA</groupId> <artifactId>submoduleB</artifactId>
Command:
mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:set -DnewVersion=123456
Expected behaviour: All 1.0-SNAPSHOT versions to be replaced with 123456
1.0-SNAPSHOT
123456
What happens: Only versions in root pom.xml and moduleA/pom.xml is updated, the one in submoduleB/pom.xml stays the same
Note: When pom.xml paths not specified, plugin works correctly and updates all of them successfully
The text was updated successfully, but these errors were encountered:
Resolves mojohaus#505: getReactorModels using correct module paths wh…
8f20cfc
…en the module name includes pom.xml
07dcdee
a406bb2
ff6fe8d
Resolves #505: getReactorModels using correct module paths when the m…
96deb8e
…odule name includes pom.xml
Successfully merging a pull request may close this issue.
Project structure:
parent pom.xml
moduleA pom.xml
submoduleB pom.xml
Command:
Expected behaviour:
All
1.0-SNAPSHOT
versions to be replaced with123456
What happens:
Only versions in root pom.xml and moduleA/pom.xml is updated, the one in submoduleB/pom.xml stays the same
Note:
When pom.xml paths not specified, plugin works correctly and updates all of them successfully
The text was updated successfully, but these errors were encountered: