You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/03/04 17:24:12 UTC

svn commit: r514429 - /incubator/tuscany/java/sca/kernel/pom.xml

Author: jboynes
Date: Sun Mar  4 08:24:12 2007
New Revision: 514429

URL: http://svn.apache.org/viewvc?view=rev&rev=514429
Log:
add profile to perform release tasks

Modified:
    incubator/tuscany/java/sca/kernel/pom.xml

Modified: incubator/tuscany/java/sca/kernel/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/pom.xml?view=diff&rev=514429&r1=514428&r2=514429
==============================================================================
--- incubator/tuscany/java/sca/kernel/pom.xml (original)
+++ incubator/tuscany/java/sca/kernel/pom.xml Sun Mar  4 08:24:12 2007
@@ -110,12 +110,9 @@
         </dependencies>
     </dependencyManagement>
 
-    <build>
-        <defaultGoal>install</defaultGoal>
-    </build>
-
     <profiles>
         <profile>
+            <!-- default profile that just builds the jar files -->
             <id>default</id>
             <activation>
                 <activeByDefault>true</activeByDefault>
@@ -126,9 +123,51 @@
                 <module>spi</module>
                 <module>core</module>
             </modules>
+            <build>
+                <defaultGoal>install</defaultGoal>
+            </build>
+        </profile>
+
+        <profile>
+            <!-- release profile that prepares artifacts for release -->
+            <id>release</id>
+            <modules>
+                <module>api</module>
+                <module>host-api</module>
+                <module>spi</module>
+                <module>core</module>
+            </modules>
+            <build>
+                <defaultGoal>verify</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
 
         <profile>
+            <!-- javadoc profile for generating online javadoc -->
             <id>javadoc</id>
             <modules>
                 <module>api</module>
@@ -136,6 +175,7 @@
                 <module>spi</module>
             </modules>
             <build>
+                <defaultGoal>org.apache.maven.plugins:maven-javadoc-plugin:javadoc</defaultGoal>
                 <plugins>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org