servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r577494 - /incubator/servicemix/branches/servicemix-3.1.2/pom.xml
Date Thu, 20 Sep 2007 01:33:50 GMT
Author: ffang
Date: Wed Sep 19 18:33:50 2007
New Revision: 577494

URL: http://svn.apache.org/viewvc?rev=577494&view=rev
Log:
change release and depoly profile to make release time reasonable

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

Modified: incubator/servicemix/branches/servicemix-3.1.2/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1.2/pom.xml?rev=577494&r1=577493&r2=577494&view=diff
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1.2/pom.xml (original)
+++ incubator/servicemix/branches/servicemix-3.1.2/pom.xml Wed Sep 19 18:33:50 2007
@@ -275,6 +275,91 @@
                 <module>distributions</module>
             </modules>
         </profile>
+        
+
+         <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-3</version>
+                        <configuration>
+                            <passphrase>${gpg.passphrase}</passphrase>
+                        </configuration>            
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>deploy</id>
+            <modules>
+                <module>build</module>
+                <module>core</module>
+                <module>common</module>
+                <module>tooling</module>            
+                <module>archetypes</module>
+                <module>deployables</module>
+                <module>servicemix-itests</module>
+                <module>samples</module>
+                <module>web</module>
+                <module>platforms</module>
+                <module>distributions</module>
+            </modules>
+            <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>
         <!--profile>
             <id>release</id>
             <activation>
@@ -328,7 +413,7 @@
                 </plugins>
             </build>
         </profile-->
-        <profile>
+        <!--profile>
             <id>release-environment</id>
             <activation>
                 <property>
@@ -338,7 +423,6 @@
             </activation>
             <build>
                 <plugins>
-                    <!-- We want to sign the artifact, the POM, and all attached artifacts
-->
                     <plugin>
                         <inherited>true</inherited>
                         <artifactId>maven-gpg-plugin</artifactId>
@@ -354,7 +438,6 @@
                             <passphrase>${gpg.passphrase}</passphrase>
                         </configuration>
                     </plugin>
-                    <!-- We want the JavaDoc JAR published with the release -->
                     <plugin>
                         <inherited>true</inherited>
                         <artifactId>maven-javadoc-plugin</artifactId>
@@ -371,7 +454,6 @@
                             <attach>true</attach>
                         </configuration>
                     </plugin>
-                    <!-- Force source JAR to be published -->
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-source-plugin</artifactId>
@@ -389,7 +471,7 @@
                     </plugin>
                 </plugins>
             </build>
-        </profile>
+        </profile-->
     </profiles>
 
     <repositories>



Mime
View raw message