diff options
author | MichaelArrastia <MArrasti@amdocs.com> | 2018-03-22 16:49:59 +0000 |
---|---|---|
committer | MichaelArrastia <MArrasti@amdocs.com> | 2018-03-22 17:41:29 +0000 |
commit | 985b15821e37a82d90ca8939058f0a197558c3a1 (patch) | |
tree | 2807e5c8a559338178c3503ca4494a9a6f7c241d /champ-service | |
parent | 970b263b6b1e12e11d3de4147caea150d0b74051 (diff) |
Support maven deploy and docker build targets
This commit principally includes the following pom updates:
1. Add distributionManagement to fix jobs that run maven deploy.
2. Update way in which champ-service gets the graph-deps. This
change specifically supports the docker build.
Issue-ID: AAI-927
Change-Id: I5920de3c010b810a802f95ac82da89ea3989e7d9
Signed-off-by: MichaelArrastia <MArrasti@amdocs.com>
Diffstat (limited to 'champ-service')
-rw-r--r-- | champ-service/pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/champ-service/pom.xml b/champ-service/pom.xml index 57234c0..1717648 100644 --- a/champ-service/pom.xml +++ b/champ-service/pom.xml @@ -49,6 +49,9 @@ limitations under the License. <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid> <common.logging.version>1.2.0</common.logging.version> <org.apache.httpcomponents.httpclient.version>4.5.2</org.apache.httpcomponents.httpclient.version> + + <docker.location>${basedir}/target</docker.location> + <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> </properties> <dependencies> @@ -136,6 +139,19 @@ limitations under the License. </dependency> </dependencies> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${onap.nexus.url}/content/repositories/releases/</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${onap.nexus.url}/content/repositories/snapshots/</url> + </snapshotRepository> + </distributionManagement> + <build> <finalName>${project.artifactId}</finalName> <plugins> @@ -164,6 +180,12 @@ limitations under the License. <resource> <directory>${basedir}/src/main/bin/</directory> </resource> + <resource> + <directory>../champ-service-deps-janus/target/</directory> + </resource> + <resource> + <directory>../champ-service-deps-titan/target/</directory> + </resource> </resources> </configuration> </execution> |