Rename jar to jetty-keystore, remove main from KeystoreGenerator.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
a99f8196bc
commit
c3e8e8d395
|
@ -778,7 +778,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-test-keystore</artifactId>
|
||||
<artifactId>jetty-keystore</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<version>10.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>jetty-test-keystore</artifactId>
|
||||
<artifactId>jetty-keystore</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Jetty :: Test Keystore</name>
|
||||
<description>Test keystore with self-signed SSL Certificate.</description>
|
|
@ -14,7 +14,7 @@ maven://org.bouncycastle/bcpkix-jdk15on/${bouncycastle.version}|lib/bouncycastle
|
|||
maven://org.bouncycastle/bcprov-jdk15on/${bouncycastle.version}|lib/bouncycastle/bcprov-jdk15on-${bouncycastle.version}.jar
|
||||
|
||||
[lib]
|
||||
lib/jetty-test-keystore-${jetty.version}.jar
|
||||
lib/jetty-keystore-${jetty.version}.jar
|
||||
lib/bouncycastle/bcpkix-jdk15on-${bouncycastle.version}.jar
|
||||
lib/bouncycastle/bcprov-jdk15on-${bouncycastle.version}.jar
|
||||
|
|
@ -38,11 +38,7 @@ import org.eclipse.jetty.util.security.Password;
|
|||
|
||||
public class KeystoreGenerator
|
||||
{
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
generateTestKeystore("test-keystore.p12", "storepwd");
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public static File generateTestKeystore(String location, String password) throws Exception
|
||||
{
|
||||
// Generate an RSA key pair.
|
Loading…
Reference in New Issue