-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Version in the ${revision} and "-SNAPSHOT" suffix in the ${changelist} property #305
Comments
You can pass additional arguments to mvn goals using |
Thank you, but that does not solve my problem. If the value of |
Yes, |
Should be supported. Feel free to reopen if something is missing. |
Maybe I was not clear enough before: |
@simontunnat Which command you are running? |
Example:
POM before command execution:
POM after command execution:
The plugin is configured like this:
The same thing happens when I execute the command with the argLine parameter:
Setting the changelist parameter directly does not work as well:
I hope this finally make my issue clear. :) |
@simontunnat Set |
The plugin always behaves the same way: Even with I'm bot sure what else I can do to make my issue clear. :( |
Where did you set it? You need to set in the pom, since you have When you say "next development version", what do you mean by that? Version in the |
I mean the next version in the develop branch after the release finish or directly after the release start if I use the |
Well, you can try to use |
I'm already using that property, but it did not change the behaviour regarding the next development version. A quick look into the code made it clear to me that changes would have to be made. Would you be willing to accept an PR regarding this issue? I'm thinking of an additional property |
I have the following feature request:
I'm using the Maven CI-friendly versions (https://maven.apache.org/maven-ci-friendly.html) that where implemented in the Gitflow Maven plugin as part of the ticket #151.
My POM looks like this:
What I would like the plugin to do:
If I want to build a SNAPSHOT or RELEASE version would then be completely left to me, by doing something like this:
mvn -Dchangelist= clean verify
I could also use my CI system to do something like this:
mvn -Dchangelist="-20210718.191300" clean verify
A similar approach worked very well for me in the past and I would like to use it with the Gitflow Maven plugin.
If a PR for this might have some chances to be accepted, I could try to implement it myself (did not have look at the code base jet).
The text was updated successfully, but these errors were encountered: