setup a parameter for the plugin version

This commit parameterizes the version so that it can be
passed in from the command line.  We use it to auotmate
the versioning and deployment to the repo.jenkins-ci.org
repository.

Change-Id: Ie3911e7181ff7e7f40f29ba48b0c0613937ec489
This commit is contained in:
Khai Do 2013-07-24 08:47:47 -07:00
parent 135d273963
commit 83563029e4
1 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,10 @@
limitations under the License.
-->
<!--
Pass in the version on manual builds (i.e. mvn clean package -Dproject-version=1.0)
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@ -29,7 +33,7 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>zmq-event-publisher</artifactId>
<packaging>hpi</packaging>
<version>1.0</version>
<version>${project-version}</version>
<name>Jenkins Event Publisher (via ZMQ PUB SUB)</name>
<url>https://github.com/cboylan/zmq-event-publisher</url>