You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@terrestris/maven-semantic-release

Package Overview
Dependencies
Maintainers
17
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@terrestris/maven-semantic-release

a very simple maven plugin for semantic release

Source
npmnpm
Version
2.2.0
Version published
Maintainers
17
Created
Source

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.

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

  • settingsPath: path to a maven settings file (default: '.m2/settings.xml')
  • clean: either true or false. Whether the clean target will be applied before publishing. (default: true)
  • mavenTarget: possible values: deploy, package jib:build, deploy jib:build. This determines which mvn targets are used to publish. (default: 'deploy')
  • updateSnapshotVersion: either true or false. Whether a new snapshot version should be set after releasing. (default: false)
  • snapshotCommitMessage: the commit message used if a new snapshot version should be created (default: 'chore: setting next snapshot version [skip ci]')
  • processAllModules: either true or false. It sets the processAllModules option for the versions:set target. This is useful for multimodule projects. (default: false)

FAQs

Package last updated on 17 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts