X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fpom.xml;h=44f70f5f2d56a95449ebd52b05da4d41b151c909;hb=08728973159e813c10212db23d4e5fb63b44db8a;hp=c6f91e8210d93272fde5808e55a6fce029a78d1a;hpb=9c8a0690aa5a1e22332e78f685362af5b4a8fbe5;p=dmaap%2Fdatarouter.git
diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml
index c6f91e82..44f70f5f 100755
--- a/datarouter-prov/pom.xml
+++ b/datarouter-prov/pom.xml
@@ -3,6 +3,7 @@
* org.onap.dmaap
* ===========================================================================
* Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2018 Nokia. All rights reserved.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +26,7 @@
org.onap.dmaap.datarouter
parent
- 1.0.2-SNAPSHOT
+ 2.0.2-SNAPSHOT
../pom.xml
datarouter-prov
@@ -40,10 +41,21 @@
${basedir}/target/${artifactId}
onap/dmaap/datarouter-prov
+
+ ${maven.build.timestamp}
+ yyyyMMdd'T'HHmmss'Z'
+
+ true
+ 1.23
- dom4j
+ xml-apis
+ xml-apis
+ ${xml-apis.version}
+
+
+ org.dom4j
dom4j
${dom4j.version}
@@ -240,6 +252,12 @@
org.hibernate
hibernate-entitymanager
5.2.9.Final
+
+
+ dom4j
+ dom4j
+
+
@@ -252,37 +270,78 @@
+
+
- com.spotify
+ org.codehaus.groovy.maven
+ gmaven-plugin
+
+
+ validate
+
+ execute
+
+
+
+ ${project.version}
+ ${maven.build.timestamp}
+
+
+
+
+
+
+
+ io.fabric8
docker-maven-plugin
- 1.0.0
+ 0.28.0
- ${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}
- ${docker.location}
- ${onap.nexus.dockerregistry.daily}
- false
-
- ${project.version}
- latest
-
- true
-
-
- /
- ${project.basedir}
-
- target/**/*
- pom.xml
-
-
-
-
- /
- ${project.build.directory}
- **/**
-
-
+ ${docker.verbose}
+ ${docker.apiVersion}
+ ${docker.pull.registry}
+ ${docker.push.registry}
+
+
+ ${datarouter.prov.image.name}
+
+ try
+ ${basedir}/target/docker-stage
+ Dockerfile
+
+ ${dockertag1}
+ ${dockertag2}
+
+
+
+
+
+
+ generate-images
+ install
+
+ build
+
+
+
+ push-images
+ deploy
+
+ push
+
+
+
@@ -335,7 +394,7 @@
jar-with-dependencies
- ${basedir}/target/opt/app/datartr/lib
+ ${basedir}/target/docker-stage/opt/app/datartr/lib
true
@@ -364,43 +423,47 @@
3.6.0
+
+
maven-resources-plugin
2.7
- copy-docker-file
- package
+ copy-dockerfile
+ validate
copy-resources
- ${docker.location}
+ ${basedir}/target/docker-stage
true
${basedir}/src/main/resources/docker
true
- **/*
+ Dockerfile
- copy-resources-1
+ copy-startup-script
validate
copy-resources
- ${basedir}/target/opt/app/datartr/lib
+ ${basedir}/target/docker-stage/opt
+ true
- ${project.basedir}/src/main/resources
+ ${basedir}/src/main/resources/docker
+ true
- **/*.jar
+ startup.sh
@@ -413,7 +476,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr/etc
+ ${basedir}/target/docker-stage/opt/app/datartr/etc
${basedir}/src/main/resources
@@ -432,7 +495,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr
+ ${basedir}/target/docker-stage/opt/app/datartr
${basedir}/data
@@ -451,7 +514,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr/aaf_certs
+ ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs
${basedir}/aaf_certs
@@ -477,7 +540,7 @@
copy-dependencies
- ${project.build.directory}/opt/app/datartr/lib
+ ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs
false
false
true