Hello friends,
Martin van den Bemt and I are working on the release of the plugins.
I'd like to add a profile like the attached one (take from Tobago).
With that profile we'll do the following.
-Do the release and deploy it to the Incubator SNAPSHOT repository
-Hold a vote on the bits and bytes on Trinidad DEV
-Move the vote to the [EMAIL PROTECTED] list
-do the release (means *moving* it to a non-snapshot incubator repo)
The maven release-plugin changes those -SNAPSHOT things, so the
Incubator PMC hasn't to vote on a snapshot (only deployed to a
snapshot repo, easy to *redeloy*). So the *vote candidate* and the
*real* "release artifacts" would be the same.
(that was one side note on a formal thread at the general_incubator
list, to not vote on a SNAPSHOT)
When putting the profile to the plugins release branch, I'd like to
start to change the versions as discussed in my past email (also a
side note on a incubator thread, to have proper versions like
1.0.0-incubating instead of incubator-m1).
Feedback welcome!
-Matthias
-------------------------------------------------------------------------------------------
the profile:
<profile>
<id>release</id>
<!--
NOTE: To use you need to enable this profile and pass in the passphrase:
mvn -Prelease -Dpassphrase=thephrase
-->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<id>getting-scm.revision</id>
<goals><goal>update</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>