Skip to content

👨‍🏫 Semantic release plugin to publish a maven package.

License

Notifications You must be signed in to change notification settings

kayman-mk/semantic-release-maven

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

👨‍🏫 Semantic release plugin to publish a maven package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • Shell 2.2%