-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
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
versions:set is not propagated to submodules if they don't inherit aggregator pom #37
Comments
I see this can be achieved by using |
this is not working for me with -DartifactId='*'. Basically nothing change to all my poms
module 3 does not inherit from the top parent |
this is platform specific, on windows, -DartifactId=* -DgroupId=* no single quotes |
i think this plugin should remove the single quote to deal with windows |
Hi Dan, have you set |
yes for my case, i need to use
there is no need to use -DoldVersion since i have same version for entire reactor |
Ok. That means it works for you now correctly. But I think there should be note for using the quotes on Windows vs. Linux/Unix...( added to the docs for groupId, artifactId and oldVersion for the set goal). |
may be better to trim the surround quotes inside the MOJO? |
Ok I will open another issue for that purpose. #170. I have rechecked the quoting parts is already handled by Maven itself during the command line parsing. If you take a look into debug output you will see that the quotes are already removed...So no need for that... |
If we have a project A with modules B & C where :
When we execute the following command line :
mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=0.1
Only A & B are updated.
The fact that C doesn't inherit from A (whereas C is a module of A) doesn't make it updated.
Previously known as MVERSIONS-131
The text was updated successfully, but these errors were encountered: