Skip to content

A Simple Maven Assembly Plugin and Distribution example with local nexus docker instance

License

Notifications You must be signed in to change notification settings

saurabhnemade/devops-maven-artifact-distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devops-maven-artifact-distribution

A Simple Maven Assembly Plugin and Distribution example with local nexus docker instance

Deploying Snapshots

mvn --settings settings.xml deploy

Deploying Release Version

mvn versions:set -DremoveSnapshot
mvn versions:commit
mvn --settings settings.xml deploy

Auto Increment Snapshot versions

With gitbash:

mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit

With windows command prompt:

mvn build-helper:parse-version versions:set -DnewVersion=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit

About

A Simple Maven Assembly Plugin and Distribution example with local nexus docker instance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages