diff options
author | Brett Porter <brett@apache.org> | 2007-12-14 04:37:50 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-12-14 04:37:50 +0000 |
commit | 463948cfb4671b67b68ad543f0073dc230d44b7a (patch) | |
tree | 03cb0c7f8a7f891e1b446e44700596cda252b7e3 /archiva-web/archiva-applet | |
parent | c84794d15d652dfa1d9635b655ce6f7cfd6df24f (diff) | |
download | archiva-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.xml | 23 | ||||
-rw-r--r-- | archiva-web/archiva-applet/src/keystore/keystore | bin | 1284 -> 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 Binary files differdeleted file mode 100644 index 7c513ad41..000000000 --- a/archiva-web/archiva-applet/src/keystore/keystore +++ /dev/null |