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://[email protected]/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: [email protected] For additional commands, e-mail: [email protected]
