-
Notifications
You must be signed in to change notification settings - Fork 15
Publishing new version
Ferenc Karsany edited this page Mar 10, 2015
·
2 revisions
For example you are switching version from 1.0-SNAPSHOT to 1.1-SNAPSHOT. Between the version switch you want to publish version 1.0.
Follow the steps below:
-
Call
mvn versions:set
. It will ask you for the new version numbers. Give 1.0 in. -
Call
mvn clean package assembly:single
. It will run the tests, compile the program and create the unified obridge.jar for you. The binary version of the OBridge will be this obridge.jar. -
Call
mvn versions:commit
. -
Commit the current status to git and create a tag called v1.0
-
Call
mvn versions:set
. Set the version numbers to 1.1-SNAPSHOT. -
Call
mvn versions:commit
. -
Commit the current status to git.