Skip to content
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

Support .properties file input in set-property, to update many properties as the same time #469

Closed
arkel-s opened this issue Jul 2, 2021 · 0 comments · Fixed by #470
Closed

Comments

@arkel-s
Copy link
Contributor

arkel-s commented Jul 2, 2021

I regularly have to update several properties in my project's pom.
Current bad solution is a bash script looping on a .properties file to launch
mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:set-property -Dproperty=$propertyName -DnewVersion=$version
on each property.

I would be much easier and faster to provide a property file in input, like:
myVersions.property

property1=value1
...
propertyN=valueN

and give it in input with -DpropertyVersionFile=myVersions.property instead of the -Dproperty and -DnewVersion

arkel-s pushed a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 5, 2021
Possibility to use set-property with `-DpropertiesVersionsFile=test.properties`
to set multiple properties.
arkel-s added a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 5, 2021
Possibility to use set-property with `-DpropertiesVersionsFile=test.properties`
to set multiple properties.
arkel-s added a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 6, 2021
Possibility to use set-property with `-DpropertiesVersionsFile=test.properties`
to set multiple properties.
arkel-s added a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 6, 2021
Possibility to use set-property with `-DpropertiesVersionsFile=test.properties`
to set multiple properties.
arkel-s added a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 7, 2021
Possibility to use set-property with the new `-DpropertiesVersionsFile=test.properties`
to set one or multiple properties.
arkel-s added a commit to arkel-s/versions-maven-plugin that referenced this issue Jul 12, 2021
Possibility to use set-property with the new `-DpropertiesVersionsFile=test.properties`
to set one or multiple properties.
olamy pushed a commit that referenced this issue Jul 25, 2021
Possibility to use set-property with the new `-DpropertiesVersionsFile=test.properties`
to set one or multiple properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant