3.1.0 • Published 9 months ago

@terrestris/maven-semantic-release v3.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

maven-semantic-release

This is a simple plugin that allows users to increase versions in pom.xml and publish via maven, either with the deploy or the jib:build target.

It has an option to increase the version after release to the next snapshot version

It only assures that the mvn command exists.

Was inspired by https://github.com/conveyal/maven-semantic-release. It differs in some ways. It …

  • … allows different maven targets.
  • … has an option to allow multimodule projects
  • … can increase a snapshot version after a successful release
  • … has fewer checks to verify th integrity of the setup (does not check pom.xml)

Getting started

  • npm i -D semantic-release @terrestris/maven-semantic-release
  • Add @terrestris/maven-semantic-release as a plugin (https://semantic-release.gitbook.io/semantic-release/usage/plugins)
  • Configure settingsPath or ensure that a maven settings file exists at the expected location
  • Make sure that the @semantic-release/git plugin runs after this plugin and includes the pom.xml if you want to use it.

Options

Typedefs

MavenTarget : 'deploy' | 'package jib:build' | 'deploy jib:build'

Kind: global typedef

PluginConfig : Object

Kind: global typedef
Properties

NameTypeDefaultDescription
settingsPathstringPath to a maven settings file.
processAllModulesbooleanfalseThis sets the processAllModules option for the versions:set target. It is useful for multimodule projects.
mavenTargetMavenTarget'deploy'This determines which mvn targets are used to publish.
cleanbooleantrueWhether the clean target will be applied before publishing.
updateSnapshotVersionbooleanfalseWhether a new snapshot version should be set after releasing.
snapshotCommitMessagestring"'chore:"setting next snapshot version skip ci' The commit message used if a new snapshot version should be created.
debugbooleanfalseSets the -X option for all maven calls.
mvnwbooleanfalseUse the mvnw script instead of mvn
3.1.0

9 months ago

3.0.1

1 year ago

3.0.0

1 year ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago