Author: gnodet
Date: Mon Jun 25 07:26:40 2007
New Revision: 550513

URL: http://svn.apache.org/viewvc?view=rev&rev=550513
Log:
Fix release process

Modified:
    incubator/servicemix/branches/servicemix-3.1/pom.xml

Modified: incubator/servicemix/branches/servicemix-3.1/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1/pom.xml?view=diff&rev=550513&r1=550512&r2=550513
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1/pom.xml (original)
+++ incubator/servicemix/branches/servicemix-3.1/pom.xml Mon Jun 25 07:26:40 
2007
@@ -269,6 +269,62 @@
                 <module>distributions</module>
             </modules>
         </profile>
+        <profile>
+            <id>release</id>
+            <activation>
+                <property>
+                    <name>performRelease</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <!-- We want to sign the artifact, the POM, and all 
attached artifacts -->
+                    <plugin>
+                        <inherited>true</inherited>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0-alpha-3</version>
+                        <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>
+                        <artifactId>maven-deploy-plugin</artifactId>
+                        <version>2.3</version>
+                        <configuration>
+                            
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+                            <updateReleaseInfo>true</updateReleaseInfo>
+                        </configuration>
+                    </plugin>
+                    <!-- We want the JavaDoc JAR published with the release -->
+                    <plugin>
+                        <inherited>true</inherited>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <version>2.2</version>
+                        <configuration>
+                            <source>1.5</source>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
     <repositories>
@@ -1589,14 +1645,6 @@
         </resources>
         <pluginManagement>
             <plugins>
-                <plugin>
-                    <inherited>true</inherited>
-                    <artifactId>maven-gpg-plugin</artifactId>
-                    <version>1.0-alpha-4-SNAPSHOT</version>
-                    <configuration>
-                        <passphrase>${gpg.passphrase}</passphrase>
-                    </configuration>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-plugin</artifactId>


Reply via email to