Skip to content

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:

  1. Call mvn versions:set. It will ask you for the new version numbers. Give 1.0 in.

  2. 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.

  3. Call mvn versions:commit.

  4. Commit the current status to git and create a tag called v1.0

  5. Call mvn versions:set. Set the version numbers to 1.1-SNAPSHOT.

  6. Call mvn versions:commit.

  7. Commit the current status to git.

Clone this wiki locally