You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2008/10/17 06:02:01 UTC
svn commit: r705458 -
/servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml
Author: ffang
Date: Thu Oct 16 21:02:01 2008
New Revision: 705458
URL: http://svn.apache.org/viewvc?rev=705458&view=rev
Log:
prepare release res-maven-plugin-4.0
Modified:
servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml
Modified: servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml?rev=705458&r1=705457&r2=705458&view=diff
==============================================================================
--- servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml (original)
+++ servicemix/maven-plugins/res-maven-plugin/trunk/pom.xml Thu Oct 16 21:02:01 2008
@@ -26,7 +26,7 @@
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>res-maven-plugin</artifactId>
- <version>4.0-SNAPSHOT</version>
+ <version>4.0</version>
<packaging>maven-plugin</packaging>
<name>ServiceMix :: Maven2 Resource Plugin</name>
@@ -70,4 +70,77 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <!-- We want to deploy the artifact to a staging location for perusal -->
+ <plugin>
+ <inherited>true</inherited>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>deploy</id>
+ <build>
+ <defaultGoal>deploy</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <source>1.5</source>
+ <attach>true</attach>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.2</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>