Re: git scm
Baptiste, That did it. In our pom.xml, we did not explicitly specify the version of the maven-release-plugin. After adding the version tag to 2.2.1 I can now run the release:prepare. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId *version2.2.1/version* /plugin Thanks!!! -- View this message in context: http://maven.40175.n5.nabble.com/git-scm-tp4686535p4702081.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: git scm
Baptiste, Yeah, the working copy is a git repository. kabar.local:~/code/tw/video-servicesgit tag myTag kabar.local:~/code/tw/video-servicescat .git/refs/tags/myTag 9f637e641283205e01391b99ec2c6ea7a0bdd124 -- View this message in context: http://maven.40175.n5.nabble.com/git-scm-tp4686535p4694614.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
git scm
I'm trying to use the release plugin with git. The git scm plugin seems to get hung up when applying the tag. If you look at the Working directory messages below, when it tries to apply the tag it goes up 1 directory such that the command executes outside of my git repository. Is there something I need to define differently for the tag to work? [INFO] Executing: /bin/sh -c cd /Users/demianneidetcher/code/tw/video-services git commit --verbose -F /var/folders/gt/gtxEeKivHniLmkebNhA1Ak+++TI/-Tmp-/maven-scm-1819129561.commit service/pom.xml webservice/pom.xml pom.xml *[INFO] Working directory: /Users/demianneidetcher/code/tw/video-services *[INFO] Executing: /bin/sh -c cd /Users/demianneidetcher/code/tw/video-services git symbolic-ref HEAD *[INFO] Working directory: /Users/demianneidetcher/code/tw/video-services *[INFO] Executing: /bin/sh -c cd /Users/demianneidetcher/code/tw/video-services git push ssh://gito...@code.webapps.rr.com/video-services.git master:master *[INFO] Working directory: /Users/demianneidetcher/code/tw/video-services *[INFO] Tagging release with the label video-parent-pom-3.0.5... [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true [DEBUG] ScmTagPhase :: scmTagParameters scmRevision null [INFO] Executing: /bin/sh -c cd /Users/demianneidetcher/code/tw git tag -F /var/folders/gt/gtxEeKivHniLmkebNhA1Ak+++TI/-Tmp-/maven-scm-150875144.commit video-parent-pom-3.0.5 *[INFO] Working directory: /Users/demianneidetcher/code/tw * ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project video-parent-pom: Unable to tag SCM [ERROR] Provider message: [ERROR] The git-tag command failed. [ERROR] Command output: *[ERROR] fatal: Not a git repository (or any of the parent directories): .git *[ERROR] - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project video-parent-pom: Unable to tag SCM Provider message: The git-tag command failed. Command output: fatal: Not a git repository (or any of the parent directories): .git -- View this message in context: http://maven.40175.n5.nabble.com/git-scm-tp4686535p4686535.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org