You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2010/09/14 19:52:34 UTC
svn commit: r997015 - /mina/trunk/pom.xml
Author: elecharny
Date: Tue Sep 14 17:52:34 2010
New Revision: 997015
URL: http://svn.apache.org/viewvc?rev=997015&view=rev
Log:
get rid of references to the apache parent release conf, to use our own
Modified:
mina/trunk/pom.xml
Modified: mina/trunk/pom.xml
URL: http://svn.apache.org/viewvc/mina/trunk/pom.xml?rev=997015&r1=997014&r2=997015&view=diff
==============================================================================
--- mina/trunk/pom.xml (original)
+++ mina/trunk/pom.xml Tue Sep 14 17:52:34 2010
@@ -363,6 +363,64 @@
<module>distribution</module>
</modules>
</profile>
+ <profile>
+ <id>mina-release</id>
+ <build>
+ <plugins>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to deploy the artifact to a staging location for perusal -->
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
@@ -414,7 +472,9 @@
https://svn.apache.org/repos/asf/mina/tags
</tagBase>
<preparationGoals>clean install</preparationGoals>
- <goals>clean install deploy</goals>
+ <goals>clean deploy</goals>
+ <arguments>-Pmina-release,serial</arguments>
+ <mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>