-
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
Enhancement: set-property update value in a specific profile #911
Labels
Milestone
Comments
mcarlett
added a commit
to mcarlett/versions
that referenced
this issue
Jan 26, 2023
Add profileId property to manage the property value to set
the above commit is a solution to add this feature |
@mcarlett please create a PR |
@slawekjaranowski done, thanks #912 |
slawekjaranowski
pushed a commit
that referenced
this issue
Feb 2, 2023
Add profileId property to manage the property value to set
andrzejj0
pushed a commit
to andrzejj0/versions-maven-plugin
that referenced
this issue
Feb 13, 2023
Add profileId property to manage the property value to set
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run
mvn versions:set-property -Dproperty=myProp -DnewVersion=newPropVal
the value of the property in the pom.xml will be set as expected, but if I have the same property overridden in a specific profile, I cannot set that specific property in the profile, keeping the value as it is in the project properties section.Example:
If I have
`
`
And I run
mvn versions:set-property -Dproperty=dummy-api-version -DnewVersion=2.0.0
the result will be`
`
but what it I want to update the value
test-value
in the profiletest-profile
?I'm expecting that running something like
mvn versions:set-property -Dproperty=dummy-api-version -DnewVersion=2.0.0 -DprofileId=test-profile
will produce`
`
The text was updated successfully, but these errors were encountered: