From f94606aea2ac4a18028865c47dcd53b72a6d8c89 Mon Sep 17 00:00:00 2001 From: Dmitry Puzikov Date: Thu, 22 Aug 2019 15:30:56 +0200 Subject: Fixed project version parsing Change-Id: I488b42b187e78db90e862ca8683bb361fa1d9bf6 Issue-ID: INT-1152 Signed-off-by: Dmitry Puzikov --- elasticsearch-sg/pom.xml | 197 ++++++++++++++++++++++++++++------------------- 1 file changed, 119 insertions(+), 78 deletions(-) (limited to 'elasticsearch-sg/pom.xml') diff --git a/elasticsearch-sg/pom.xml b/elasticsearch-sg/pom.xml index 31bad6a..8b35a82 100644 --- a/elasticsearch-sg/pom.xml +++ b/elasticsearch-sg/pom.xml @@ -21,88 +21,129 @@ --> - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - - search-data-service - org.onap.aai - 1.6.0-SNAPSHOT - + + search-data-service + org.onap.aai + 1.6.0-SNAPSHOT + - org.onap.aai.search-data-service - elasticsearch-sg - ElasticSearch with SearchGuard - 1.6.0-SNAPSHOT - pom + org.onap.aai.search-data-service + elasticsearch-sg + ElasticSearch with SearchGuard + 1.6.0-SNAPSHOT + pom - - https://nexus.onap.org - + + + docker + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-resources-plugin + 2.7 + + + copy-docker-file + process-resources + + copy-resources + + + ${aai.build.directory} + true + + + ${basedir}/src/main/docker + + **/* + + + + + + + - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - process-resources - - copy-resources - - - target - true - - - ${basedir}/src/main/docker - - **/* - - - - - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - true - docker-hub - ${docker.push.registry}/onap/${project.artifactId} - ${basedir}/target - - latest - - true - - - - org.apache.maven.plugins - maven-deploy-plugin - - - - - - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}/content/repositories/releases/ - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}/content/repositories/snapshots/ - - + + io.fabric8 + docker-maven-plugin + ${docker.fabric.version} + + true + 1.23 + + + ${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l + + + @ + + latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp} + + try + ${aai.build.directory} + + + + + + + clean-images + clean + + remove + + + true + + + + generate-images + package + + build + + + + push-images + deploy + + push + + + + + + org.apache.maven.plugins + maven-deploy-plugin + + + + + + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${nexusproxy}/content/repositories/snapshots/ + + -- cgit 1.2.3-korg