maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Voogd <willem.vo...@dayon.nl>
Subject git release:prepare does not commit the poms (Linux)
Date Thu, 07 Mar 2013 13:04:01 GMT
Hi All,

I'm new to this mailing list, so if I'm posting at the wrong place, 
please say so kindly ;)

I am trying to craete a release, while making use of the github.

It seems the changed poms (with the release numbers) don't get commited, 
just added to staging. mvn does tag the branch, but since the new poms 
are not on the HEAD, the release:perform just releases the SNAPSHOT 
versions...

a snippet from my mvn output:

[INFO] Executing: /bin/sh -c cd /home/willem/var/sdu/bwb-cms/BWB-CMS/cms 
&& git add -- pom.xml cms-ejb/pom.xml cms-web/pom.xml 
stylesheets-jar/pom.xml cms-ear/pom.xml schaduw-ear/pom.xml 
buzacms-ear/pom.xml buzaschaduw-ear/pom.xml config-web/pom.xml
[INFO] Working directory: /home/willem/var/sdu/bwb-cms/BWB-CMS/cms
[INFO] Executing: /bin/sh -c cd /home/willem/var/sdu/bwb-cms/BWB-CMS/cms 
&& git status --porcelain
[INFO] Working directory: /home/willem/var/sdu/bwb-cms/BWB-CMS/cms
[INFO] Tagging release with the label cms-3.x_TEST...
[INFO] Executing: /bin/sh -c cd /home/willem/var/sdu/bwb-cms/BWB-CMS/cms 
&& git tag -F /tmp/maven-scm-1360697828.commit cms-3.x_TEST
[INFO] Working directory: /home/willem/var/sdu/bwb-cms/BWB-CMS/cms
[INFO] Executing: /bin/sh -c cd /home/willem/var/sdu/bwb-cms/BWB-CMS/cms 
&& git push git@github.com:SDUUitgevers/BWB-CMS.git cms-3.x_TEST
[INFO] Working directory: /home/willem/var/sdu/bwb-cms/BWB-CMS/cms
[INFO] Executing: /bin/sh -c cd /home/willem/var/sdu/bwb-cms/BWB-CMS/cms 
&& git ls-files
[INFO] Working directory: /home/willem/var/sdu/bwb-cms/BWB-CMS/cms

I expect a commit after the git add statement, and a push before the tag 
statement.

the plugin part in my pom:

                 <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
                     <version>2.4</version>
                     <configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
                     </configuration>
                 </plugin>


Since the deployed versions are a dependency for another project, I 
cannot release this other project, because it cannot have a SNAPSHOT 
dependency of course...

Any tips on how to solve this are greatly appreciated...


thanks,

Willem Voogd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message