Now I use scm: checkin in the preparation of Goals
clean verify org.codehaus.mojo: build-helper-maven-plugin: 1.5: parse version of com.google.code.maven-replacer-plugin: replacer: 1.5.0: replace scm: checkin -Dmessage = "... "-DworkingDirectory =. / ... / ...
But this is not the same as the pom.xml command. This causes mvn rlelease: rollback not to roll back from the first commit in order to prepare!
Now they look like this:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <tagBase> ...... </tagBase> <autoVersionSubmodules>true</autoVersionSubmodules> <arguments>-Dtest='*IT,*Test' -DfailIfNoTests=false</arguments> <tagNameFormat>@{project.version}</tagNameFormat> <preparationGoals>clean verify org.codehaus.mojo:build-helper-maven-plugin:parse-version com.google.code.maven-replacer-plugin:replacer:replace scm:checkin -Dmessage="Version in Komponentenversion.sql incrementiert" -DworkingDirectory=./db/include</preparationGoals> </configuration> </plugin>
bennixview
source share