mirror of https://github.com/apache/archiva.git
[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
This commit is contained in:
parent
c84794d15d
commit
463948cfb4
|
@ -33,12 +33,33 @@
|
||||||
</description>
|
</description>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<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>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.1</version>
|
<version>2.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<keystore>src/keystore/keystore</keystore>
|
<keystore>target/keystore</keystore>
|
||||||
<alias>mykey</alias>
|
<alias>mykey</alias>
|
||||||
<storepass>password</storepass>
|
<storepass>password</storepass>
|
||||||
<keypass>password</keypass>
|
<keypass>password</keypass>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue