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
Prevent replacement of properties #194
Comments
That is strange, I'll investigate. |
I was able to reproduce your bug. Give me some days and I'll try fixing it |
It turns out this behaviour is not caused by the maven-git-versioning-extension. If I run |
This versions-maven-plugin behaviour was introduced by this merge mojohaus/versions#522. So this behaviour is pretty new. |
I'm thinking about implement the same logic. Means override WDYT? BTW I plan to remove basically all <ref type="branch">
<pattern>.+</pattern>
<version>${ref}-SNAPSHOT</version>
<properties>
<foo>${commit.timestamp.datetime}</foo>
</properties>
</ref> |
Sorry about filling non related bugs here, but thanks for the investigation. Always a joy to see new features introduced with changing the old defaults. For me it would also be fine to define/use the git properties via the extension config. Kind regards, |
Following merge of the version plugin adds an option to set behaviour of updating of |
I don't know which version introduced the changed behaviour. I'm using version 8.0.0 now and I have a section like this in the pom.xml
Everytime I run mvn commands like this:
mvn versions:set -DnewVersion=1.2.3-SNAPSHOT
The placeholder is replaced with the timestamp in the original pom.xml although I have not enabled any updatePom setting.
The text was updated successfully, but these errors were encountered: