Browse Source

Merge "setup a parameter for the plugin version"

tags/0.0.1^0
Jenkins 5 years ago
parent
commit
41e07786b0
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      pom.xml

+ 5
- 1
pom.xml View File

@@ -16,6 +16,10 @@
16 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 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 25
   <modelVersion>4.0.0</modelVersion>
@@ -29,7 +33,7 @@
29 33
   <groupId>org.jenkins-ci.plugins</groupId>
30 34
   <artifactId>zmq-event-publisher</artifactId>
31 35
   <packaging>hpi</packaging>
32
-  <version>1.0</version>
36
+  <version>${project-version}</version>
33 37
 
34 38
   <name>Jenkins Event Publisher (via ZMQ PUB SUB)</name>
35 39
   <url>https://github.com/cboylan/zmq-event-publisher</url>

Loading…
Cancel
Save