All Projects → s4u → sign-maven-plugin

s4u / sign-maven-plugin

Licence: Apache-2.0 License
Maven plugin which creates Open PGP / GPG signatures for all of the project's artifacts

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects

Projects that are alternatives of or similar to sign-maven-plugin

checksum-maven-plugin
Compute Maven project artifacts/dependencies/files checksum digests.
Stars: ✭ 36 (+5.88%)
Mutual labels:  maven, maven-plugin
wagon-maven-plugin
www.mojohaus.org/wagon-maven-plugin/
Stars: ✭ 23 (-32.35%)
Mutual labels:  maven, maven-plugin
build-helper-maven-plugin
Build Helper Maven Plugin
Stars: ✭ 77 (+126.47%)
Mutual labels:  maven, maven-plugin
webstart
www.mojohaus.org/webstart/
Stars: ✭ 27 (-20.59%)
Mutual labels:  maven, maven-plugin
cyclonedx-maven-plugin
Creates CycloneDX Software Bill of Materials (SBOM) from Maven projects
Stars: ✭ 103 (+202.94%)
Mutual labels:  maven, maven-plugin
RapidMavenPushPlugin
A Gradle plugin : Upload Artifacts to Multi Maven Repository
Stars: ✭ 21 (-38.24%)
Mutual labels:  maven, maven-plugin
gradle-git-versioning-plugin
This extension will set project version, based on current Git branch or tag.
Stars: ✭ 44 (+29.41%)
Mutual labels:  maven, maven-plugin
impsort-maven-plugin
Java import sorter plugin. Sort your imps!
Stars: ✭ 31 (-8.82%)
Mutual labels:  maven, maven-plugin
aspectj-maven-plugin
www.mojohaus.org/aspectj-maven-plugin/
Stars: ✭ 77 (+126.47%)
Mutual labels:  maven, maven-plugin
xml-maven-plugin
XML Maven Plugin
Stars: ✭ 18 (-47.06%)
Mutual labels:  maven, maven-plugin
light-jpf
Lightweight Java Plugin Framework
Stars: ✭ 19 (-44.12%)
Mutual labels:  maven, maven-plugin
scalafix-maven-plugin
Enables automatic refactoring and linting of Maven projects written in Scala using Scalafix.
Stars: ✭ 15 (-55.88%)
Mutual labels:  maven, maven-plugin
jaxws-maven-plugin
www.mojohaus.org/jaxws-maven-plugin/
Stars: ✭ 18 (-47.06%)
Mutual labels:  maven, maven-plugin
kobby
Kobby is a codegen plugin of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries, mutation and subscriptions in Kotlin with syntax similar to native GraphQL syntax.
Stars: ✭ 52 (+52.94%)
Mutual labels:  maven, maven-plugin
restdocs-spec
A maven plugin for generating Open API and Postman Collection specifications using Spring Restdocs.
Stars: ✭ 43 (+26.47%)
Mutual labels:  maven, maven-plugin
keep-changelog-maven-plugin
Maven plugin to help creating CHANGELOG by keeping one format and solving merge request conflicts problem by extraction of new CHANGELOG entries to seperate files.
Stars: ✭ 22 (-35.29%)
Mutual labels:  maven, maven-plugin
mosec-maven-plugin
用于检测maven项目的第三方依赖组件是否存在安全漏洞。
Stars: ✭ 85 (+150%)
Mutual labels:  maven, maven-plugin
buildnumber-maven-plugin
BuildNumber Maven Plugin
Stars: ✭ 53 (+55.88%)
Mutual labels:  maven, maven-plugin
native-build-tools
Native-image plugins for various build tools
Stars: ✭ 168 (+394.12%)
Mutual labels:  maven, maven-plugin
maven-wrapper-plugin
Apache Maven Wrapper Plugin
Stars: ✭ 14 (-58.82%)
Mutual labels:  maven, maven-plugin

Sign Maven Plugin

Build Reproducible Builds Maven Central

Quality Gate Status Coverage Lines of Code

Creates Open PGP / GPG signatures for all of the project's artifacts without any external software.

This plugin can replace maven-gpg-plugin in an easy way and provide new features.

Feature

  • all the signing operations are done using Bouncy Castle
  • support Maven 3.6 and is ready for next version 4.0 of Maven with Consumer POM
  • support subkey for signing
  • easy to use on CI system, configuration can be provided by environment variables
  • key passphrase can be encrypted by standard Maven Password Encryption
  • no needed store private key on CI system - you can use key from environment variable

Key prepare

Please look at our tutorial

Usage

Key configuration provided in pom

<plugins>
    <plugin>
        <groupId>org.simplify4u.plugins</groupId>
        <artifactId>sign-maven-plugin</artifactId>
        <version><!-- check releases page --></version>
        <executions>
            <execution>
                <goals>
                    <goal>sign</goal>
                </goals>
                <configuration>
                    <keyId><!-- key id in hex --></keyId>
                    <keyPass><!-- private key passphrase --></keyPass>
                    <keyFile><!-- private key file location --></keyFile>
                </configuration>
            </execution>
        </executions>
    </plugin>
    ...
</plugins>

Key configuration provided in environment variables

Key configuration can be provided by environment variables: SIGN_KEY, SIGN_KEY_ID, SIGN_KEY_PASS.

When using environment variables for configuration, SIGN_KEY - must contain private key content - not file path for key

So your pom configuration can be simplified to:

<plugins>
    <plugin>
        <groupId>org.simplify4u.plugins</groupId>
        <artifactId>sign-maven-plugin</artifactId>
        <version><!-- check releases page --></version>
        <executions>
            <execution>
                <goals>
                    <goal>sign</goal>
                </goals>
            </execution>
        </executions>
    </plugin>
    ...
</plugins>

Documentations

You can find more information about configuration options on the site:

https://www.simplify4u.org/sign-maven-plugin/

Testing latest snapshot version

Each build of current version is deployed to sonatype snapshots repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].