semantic-release-maven

1.1.8 • Public • Published

semantic-release-maven

npm build coverage license

semantic-release plugin to publish a maven package.

Step Description
verifyConditions Verify the environment variable and import the gpg secret.
prepare Update the pom.xml version.
publish Publish the maven package to the repository.

Install

$ npm i semantic-release-maven -D

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "semantic-release-maven"
  ]
}

Configuration

Environment variables

Variable Description
SERVER_USERNAME The username of the maven repository manager account.
SERVER_PASSWORD The password of the maven repository manager account.
GPG_PRIVATE_KEY The gpg private key for signing the published artifacts.
GPG_PASSPHRASE The passphrase of the gpg private key.

Options

Options Description Default
serverId The id of the repository that maven tries to connect to. ossrh
profiles List of profiles to activate when publishing the maven package. none

License

MIT © AkiJoey

Readme

Keywords

Package Sidebar

Install

npm i semantic-release-maven

Weekly Downloads

66

Version

1.1.8

License

MIT

Unpacked Size

9.04 kB

Total Files

9

Last publish

Collaborators

  • akijoey