archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r604101 - in /maven/archiva/trunk/archiva-web/archiva-applet: pom.xml src/keystore/
Date Fri, 14 Dec 2007 04:37:51 GMT
Author: brett
Date: Thu Dec 13 20:37:50 2007
New Revision: 604101

URL: http://svn.apache.org/viewvc?rev=604101&view=rev
Log:
[MRM-623] generate the certificate as part of the build instead

Removed:
    maven/archiva/trunk/archiva-web/archiva-applet/src/keystore/
Modified:
    maven/archiva/trunk/archiva-web/archiva-applet/pom.xml

Modified: maven/archiva/trunk/archiva-web/archiva-applet/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-applet/pom.xml?rev=604101&r1=604100&r2=604101&view=diff
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-applet/pom.xml (original)
+++ maven/archiva/trunk/archiva-web/archiva-applet/pom.xml Thu Dec 13 20:37:50 2007
@@ -34,11 +34,32 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>keytool-maven-plugin</artifactId>
+        <version>1.0-beta-1</version>
+        <executions>
+          <execution>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>clean</goal>
+              <goal>genkey</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+           <keystore>target/keystore</keystore>
+           <dname>cn=Brett Porter, ou=Archiva, L=Sydney, ST=NSW, o=Apache Software
Foundation, c=AU</dname>
+           <keypass>password</keypass>
+           <storepass>password</storepass>
+           <validity>10000</validity>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <version>2.1</version>
         <configuration>
-          <keystore>src/keystore/keystore</keystore>
+          <keystore>target/keystore</keystore>
           <alias>mykey</alias>
           <storepass>password</storepass>
           <keypass>password</keypass>



Mime
View raw message