diff options
author | Carsten Lund <lund@research.att.com> | 2017-02-26 12:15:58 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-02-26 12:15:58 +0000 |
commit | fcaf80abc680eacad15eb69025d543784a1860f7 (patch) | |
tree | 704f150161ed4ee34ee9fa8b352c9958576898f8 | |
parent | af2ff7568bcf1ecfd8a7fe604993523469fd4f4f (diff) |
Fixes POMs for release job
Change-Id: Ife60d121a058e527667e43f7de09bda7bf337d4e
Signed-off-by: Carsten Lund <lund@research.att.com>
-rw-r--r-- | operation-utils/pom.xml | 34 | ||||
-rw-r--r-- | version.properties | 11 |
2 files changed, 11 insertions, 34 deletions
diff --git a/operation-utils/pom.xml b/operation-utils/pom.xml index 7c4247b..d10639a 100644 --- a/operation-utils/pom.xml +++ b/operation-utils/pom.xml @@ -12,42 +12,8 @@ </properties> - <pluginRepositories> - <!-- Black Duck plugin dependencies --> - <pluginRepository> - <id>JCenter</id> - <name>JCenter Repository</name> - <url>http://jcenter.bintray.com</url> - </pluginRepository> - - <pluginRepository> - <id>Restlet</id> - <name>Restlet Repository</name> - <url>http://maven.restlet.com</url> - </pluginRepository> - </pluginRepositories> <build> <plugins> - <!-- blackduck maven plugin --> - <plugin> - <groupId>com.blackducksoftware.integration</groupId> - <artifactId>hub-maven-plugin</artifactId> - <version>1.4.0</version> - <inherited>false</inherited> - <configuration> - <hubProjectName>${project.name}</hubProjectName> - <outputDirectory>${project.basedir}</outputDirectory> - </configuration> - <executions> - <execution> - <id>create-bdio-file</id> - <phase>package</phase> - <goals> - <goal>createHubOutput</goal> - </goals> - </execution> - </executions> - </plugin> <!-- site maven plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..c0f2742 --- /dev/null +++ b/version.properties @@ -0,0 +1,11 @@ +# Versioning variables +# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) +# because they are used in Jenkins, whose plug-in doesn't support +major=1 +minor=0 +patch=0 +base_version=${major}.${minor}.${patch} +# Release must be completed with git revision # in Jenkins + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT |