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:09:32 UTC

svn commit: r705460 - /servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml

Author: ffang
Date: Thu Oct 16 21:09:31 2008
New Revision: 705460

URL: http://svn.apache.org/viewvc?rev=705460&view=rev
Log:
prepare release xfire-maven-plugin-4.0

Modified:
    servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml

Modified: servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml?rev=705460&r1=705459&r2=705460&view=diff
==============================================================================
--- servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml (original)
+++ servicemix/maven-plugins/xfire-maven-plugin/trunk/pom.xml Thu Oct 16 21:09:31 2008
@@ -26,7 +26,7 @@
   
   <groupId>org.apache.servicemix.tooling</groupId>
   <artifactId>xfire-maven-plugin</artifactId>
-  <version>4.0-SNAPSHOT</version>
+  <version>4.0</version>
   
   <packaging>maven-plugin</packaging>  
   <name>ServiceMix :: Maven2 XFire Plugin</name>
@@ -111,5 +111,77 @@
       <layout>legacy</layout>
     </repository>
   </repositories>
+  <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>