X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fpom.xml;h=19bbf4fadefa1800984f329db64aa8f949666c3e;hb=7704d3079906a4fb51cd58f12d56bd3100fca6b2;hp=c9c0c2ffee20145416592012639baa18654b358b;hpb=c7708c4957a822b48e14570a0695b6572eb22469;p=dmaap%2Fdatarouter.git
diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml
index c9c0c2ff..19bbf4fa 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.1-SNAPSHOT
+ 2.1.0-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,17 @@
org.hibernate
hibernate-entitymanager
5.2.9.Final
+
+
+ dom4j
+ dom4j
+
+
+
+
+ org.onap.aaf.authz
+ aaf-cadi-aaf
+ ${aaf-cadi-aaf.version}
@@ -252,37 +275,78 @@
+
+
+
+ org.codehaus.groovy.maven
+ gmaven-plugin
+
+
+ validate
+
+ execute
+
+
+
+ ${project.version}
+ ${maven.build.timestamp}
+
+
+
+
+
+
- com.spotify
+ 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 +399,7 @@
jar-with-dependencies
- ${basedir}/target/opt/app/datartr/lib
+ ${basedir}/target/docker-stage/opt/app/datartr/lib
true
@@ -364,43 +428,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 +481,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr/etc
+ ${basedir}/target/docker-stage/opt/app/datartr/etc
${basedir}/src/main/resources
@@ -432,7 +500,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr
+ ${basedir}/target/docker-stage/opt/app/datartr
${basedir}/data
@@ -451,7 +519,7 @@
copy-resources
- ${basedir}/target/opt/app/datartr/aaf_certs
+ ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs
${basedir}/aaf_certs
@@ -477,7 +545,7 @@
copy-dependencies
- ${project.build.directory}/opt/app/datartr/lib
+ ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs
false
false
true