summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhai Do <zaro0508@gmail.com>2013-07-24 08:47:47 -0700
committerKhai Do <zaro0508@gmail.com>2013-07-24 09:03:44 -0700
commit83563029e4c64f335506a1a628fbaf7b2565c1b6 (patch)
tree37444008d78f2c34e21cb65acdc7613634c4f502
parent135d2739635415e2f633a4b70d63f803e193ab88 (diff)
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
Notes
Notes (review): Verified+2: Jenkins Approved+1: Clark Boylan <clark.boylan@gmail.com> Code-Review+2: Clark Boylan <clark.boylan@gmail.com> Submitted-by: Jenkins Submitted-at: Wed, 24 Jul 2013 22:45:14 +0000 Reviewed-on: https://review.openstack.org/38494 Project: openstack-infra/zmq-event-publisher Branch: refs/heads/master
-rw-r--r--pom.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 1cc2341..14dc681 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,10 @@
16 limitations under the License. 16 limitations under the License.
17--> 17-->
18 18
19<!--
20 Pass in the version on manual builds (i.e. mvn clean package -Dproject-version=1.0)
21 -->
22
19<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"> 23<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">
20 24
21 <modelVersion>4.0.0</modelVersion> 25 <modelVersion>4.0.0</modelVersion>
@@ -29,7 +33,7 @@
29 <groupId>org.jenkins-ci.plugins</groupId> 33 <groupId>org.jenkins-ci.plugins</groupId>
30 <artifactId>zmq-event-publisher</artifactId> 34 <artifactId>zmq-event-publisher</artifactId>
31 <packaging>hpi</packaging> 35 <packaging>hpi</packaging>
32 <version>1.0</version> 36 <version>${project-version}</version>
33 37
34 <name>Jenkins Event Publisher (via ZMQ PUB SUB)</name> 38 <name>Jenkins Event Publisher (via ZMQ PUB SUB)</name>
35 <url>https://github.com/cboylan/zmq-event-publisher</url> 39 <url>https://github.com/cboylan/zmq-event-publisher</url>