GitHub - s4u/pgp-keys-map: PGP keys map to maven artifacts (original) (raw)

Build Maven Central Version Quality Gate Status Lines of Code

This project contains PGP keys map to maven artifacts which should be used to signed.

Contributing

We need help of any other people (the more the better) to build credible keys map, so your contribution is welcome.

Especially you can help, when:

Usage

<project>
    ...
    <build>
        <!-- To define the plugin version in your parent POM -->
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.simplify4u.plugins</groupId>
                    <artifactId>pgpverify-maven-plugin</artifactId>
                    <version><!-- use the latest version --></version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <keysMapLocation>/pgp-keys-map.list</keysMapLocation>
                        <verifyPlugins>true</verifyPlugins>
                        <verifyPluginDependencies>true</verifyPluginDependencies>
                        <verifyAtypical>true</verifyAtypical>
                    </configuration>
                    <dependencies>
                        <dependency>
                            <groupId>org.simplify4u</groupId>
                            <artifactId>pgp-keys-map</artifactId>
                            <version><!-- use the latest version --></version>
                        </dependency>
                    </dependencies>
                </plugin>
                ...
            </plugins>
        </pluginManagement>

        <!-- To use the plugin goals in your POM or parent POM -->
        <plugins>
            <plugin>
                <groupId>org.simplify4u.plugins</groupId>
                <artifactId>pgpverify-maven-plugin</artifactId>
            </plugin>
        ...
        </plugins>
    </build>
    ...
</project>