The Wayback Machine - http://web.archive.org/web/20201103144142/https://github.com/marschall/truststore-maven-plugin/
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
Apr 4, 2020
Jul 28, 2018

README.md

Truststore Maven Plugin Maven Central Build Status

The truststore Maven plugin gives you an easy way to manage Java truststores.

The plugins allows you to manage truststores by having a project under source control that contains all your trusted certificates. A Maven build a produces a PKCS12 artifact that can be deployed to a Maven repository. Since the project is under source control a release is also tagged making to easy to know what is deployed in production.

Usage

Simply create a project with packaging pkcs12

<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.acme</groupId>
  <artifactId>truststore</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pkcs12</packaging>

  <build>
    <plugins>
      <plugin>
        <groupId>com.github.marschall</groupId>
        <artifactId>truststore-maven-plugin</artifactId>
        <version>0.2.0</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
</project>

and add your certificates under src/main/certificates. The filename minus the extension will be the alias of the certificate.

For more information check out the generated plugin page.

You can’t perform that action at this time.