summaryrefslogtreecommitdiffstats
path: root/archiva-web/archiva-applet
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2007-12-14 04:37:50 +0000
committerBrett Porter <brett@apache.org>2007-12-14 04:37:50 +0000
commit463948cfb4671b67b68ad543f0073dc230d44b7a (patch)
tree03cb0c7f8a7f891e1b446e44700596cda252b7e3 /archiva-web/archiva-applet
parentc84794d15d652dfa1d9635b655ce6f7cfd6df24f (diff)
downloadarchiva-463948cfb4671b67b68ad543f0073dc230d44b7a.tar.gz
archiva-463948cfb4671b67b68ad543f0073dc230d44b7a.zip
[MRM-623] generate the certificate as part of the build instead
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@604101 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-web/archiva-applet')
-rw-r--r--archiva-web/archiva-applet/pom.xml23
-rw-r--r--archiva-web/archiva-applet/src/keystore/keystorebin1284 -> 0 bytes
2 files changed, 22 insertions, 1 deletions
diff --git a/archiva-web/archiva-applet/pom.xml b/archiva-web/archiva-applet/pom.xml
index 40717c823..3ddb812cc 100644
--- a/archiva-web/archiva-applet/pom.xml
+++ b/archiva-web/archiva-applet/pom.xml
@@ -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>
diff --git a/archiva-web/archiva-applet/src/keystore/keystore b/archiva-web/archiva-applet/src/keystore/keystore
deleted file mode 100644
index 7c513ad41..000000000
--- a/archiva-web/archiva-applet/src/keystore/keystore
+++ /dev/null
Binary files differ