directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r569932 - /directory/shared/trunk/pom.xml
Date Mon, 27 Aug 2007 00:41:44 GMT
Author: akarasulu
Date: Sun Aug 26 17:41:44 2007
New Revision: 569932

URL: http://svn.apache.org/viewvc?rev=569932&view=rev
Log:
enabling release deployment of shared branch with support for gpg signatures

Modified:
    directory/shared/trunk/pom.xml

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=569932&r1=569931&r2=569932&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Sun Aug 26 17:41:44 2007
@@ -102,28 +102,22 @@
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-
   </dependencies>
 
-
   <build>
     <pluginManagement>
       <plugins>
-       
-
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-antlr-plugin</artifactId>
           <version>2.0-beta-1</version>
         </plugin>
-
       </plugins>
     </pluginManagement>
-
   </build>
+
   <reporting>
     <excludeDefaults>true</excludeDefaults>
-
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -140,7 +134,6 @@
           </reportSet>
         </reportSets>
       </plugin>
-
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
@@ -149,8 +142,50 @@
         </configuration>
       </plugin>
     </plugins>
-
   </reporting>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals><goal>sign</goal></goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <!-- TODO remove this version tag after using TLP pom 9 -->
+            <version>2.0.3</version>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals><goal>jar</goal></goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals><goal>jar</goal></goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 
 </project>
 



Mime
View raw message