[ 
https://jira.codehaus.org/browse/MRELEASE-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=334663#comment-334663
 ] 

Catalin Patruica commented on MRELEASE-812:
-------------------------------------------

I had the same problems but after some hours of search i was finding a 
sollution that was working for me:
just add the dependencies of the maven-release-plugin 
 <dependencies>
        <dependency>
           <groupId>org.apache.maven.scm</groupId>
           <artifactId>maven-scm-api</artifactId>
           <version>1.8.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-provider-gitexe</artifactId>
            <version>1.8.1</version>
        </dependency>
     </dependencies>

for testing I have created a test project on github
https://github.com/duderoot/maven.release.plugin
and also make a more detailed description under
http://xlab-iq.blogspot.de/2013/10/maven-release-plugin.html
I hope it helps.
cheers,
cp

                
> "prepare" does not commit before tagging and therefore deploys snapshot 
> instead of release
> ------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-812
>                 URL: https://jira.codehaus.org/browse/MRELEASE-812
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: Git
>    Affects Versions: 2.4
>            Reporter: Andrei Pozolotin
>            Priority: Critical
>         Attachments: mvn-2.3.2.txt, mvn-2.4.0.txt
>
>
> thank you very much for new release!
> http://mail-archives.apache.org/mod_mbox/maven-announce/201212.mbox/%3Cop.wpjbptp1kdkhrr@columbia%3E
> it seems we need an emergency fix:
> attached are 2 logs:
> 1) mvn-2.3.2.txt invocation that works fine with 2.3.2
> 2) mvn-2.4.0.txt invocation that fails with 2.4
> problem:
> "perform" does not commit tags, deploys snapshot instead of release
> here is project parent:
> http://search.maven.org/remotecontent?filepath=com/barchart/base/barchart-archon/2.3.6/barchart-archon-2.3.6.pom
> build is invoked both times with this:
> mvn --define resume=false release:prepare
> mvn --define resume=false release:perform

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to