You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2008/10/10 14:01:22 UTC

svn commit: r703428 - /directory/studio/trunk/pom.xml

Author: pamarcelot
Date: Fri Oct 10 05:01:21 2008
New Revision: 703428

URL: http://svn.apache.org/viewvc?rev=703428&view=rev
Log:
Added jar signing configuration for the 'release' plugin.

Modified:
    directory/studio/trunk/pom.xml

Modified: directory/studio/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/pom.xml?rev=703428&r1=703427&r2=703428&view=diff
==============================================================================
--- directory/studio/trunk/pom.xml (original)
+++ directory/studio/trunk/pom.xml Fri Oct 10 05:01:21 2008
@@ -109,6 +109,32 @@
         <maven.test.skip>true</maven.test.skip>
       </properties>
     </profile>
+    <!-- Release profile -->
+    <profile>
+      <id>release</id>
+       <build>
+         <plugins>
+          <!-- Configuration for signature of the jars using the keystore -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <keystore>${jarsign.keystore}</keystore>
+              <alias>${jarsign.alias}</alias>
+              <storepass>${jarsign.storepass}</storepass>
+              <verify>true</verify>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <!-- 
       Building help modules can be skipped by adding 
       -Dfastbuild