logo Maven Nonsnapshot Plugin

A Maven plugin to get rid of SNAPSHOT versions and automatically update artifact versions with each build if anything changes. Such a change can be a scm commit since the last build or a newly available upstream dependency version within a configured range.

homepage:
fresh index:
last release: 2 years ago, first release: 2 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
nonsnapshot:commitVersions

Goal to commit changed POM files if the updateVersions goal was called with deferPomCommit = true

nonsnapshot:pretend

Test Plugin Goal which not actually updates the POMs.

nonsnapshot:updateVersions

Main Goal of this Plugin. Checks the version number and manipulates it if necessary (if changes were found). Updates the version of upstream modules. Commits the POM files if deferPomCommit is false.


© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.