Since this took me quite some hours to investigate I thought this might help 
others:

If you want to release a new version of your plugin and maven somehow only 
commits and releases the snapshot version then your are probably also hit by 
http://jira.codehaus.org/browse/MRELEASE-812. Seems that the current release of 
the maven release plugin is broken (when using git): sometimes only the 
snapshot version is committed and released rather than the release version.

Workaround until 2.5 of the release plug-in is available:

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.4.2</version>
          <dependencies>
            <dependency>
              <groupId>org.apache.maven.scm</groupId>
              <artifactId>maven-scm-provider-gitexe</artifactId>
              <version>1.9</version>
            </dependency>
          </dependencies>
        </plugin>
      </plugins>
    </pluginManagement>


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to