servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r705453 - /servicemix/maven-plugins/jbi-maven-plugin/trunk/pom.xml
Date Fri, 17 Oct 2008 03:53:45 GMT
Author: ffang
Date: Thu Oct 16 20:53:44 2008
New Revision: 705453

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

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

Modified: servicemix/maven-plugins/jbi-maven-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/maven-plugins/jbi-maven-plugin/trunk/pom.xml?rev=705453&r1=705452&r2=705453&view=diff
==============================================================================
--- servicemix/maven-plugins/jbi-maven-plugin/trunk/pom.xml (original)
+++ servicemix/maven-plugins/jbi-maven-plugin/trunk/pom.xml Thu Oct 16 20:53:44 2008
@@ -26,7 +26,7 @@
   
   <groupId>org.apache.servicemix.tooling</groupId>
   <artifactId>jbi-maven-plugin</artifactId>
-  <version>4.0-SNAPSHOT</version>
+  <version>4.0</version>
   
   <packaging>maven-plugin</packaging>
   <name>ServiceMix :: Maven2 JBI Plugin</name>
@@ -77,7 +77,7 @@
     <dependency>
       <groupId>org.apache.servicemix</groupId>
       <artifactId>servicemix-common</artifactId>
-      <version>2008.01-SNAPSHOT</version>
+      <version>2008.01</version>
     </dependency>
     
     <dependency>
@@ -121,6 +121,79 @@
         <version>1.6.2</version>
       </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>
   
   <build>
     <plugins>



Mime
View raw message