Fix mvn deploy
authorDan Timoney <dtimoney@att.com>
Fri, 21 Jul 2017 12:34:58 +0000 (08:34 -0400)
committerDan Timoney <dtimoney@att.com>
Fri, 21 Jul 2017 12:34:58 +0000 (08:34 -0400)
Mvn deploy failed due to credentials issue.  Seems like distributionManagement section from parent pom was not processed correctly.  Copied that section to top level pom.xml

Issue: CCSDK-6
Change-Id: Ib508169bd3cc93ffd82aa0b865cea441b0e30c9b
Signed-off-by: Dan Timoney <dtimoney@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index bb0df7e..d89d59e 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
 
 
        <distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>onap-repository-releases</name>
+                       <url>${onap.nexus.release-url}</url>
+               </repository>
+               <snapshotRepository>
+                       <id>ecomp-snapshots</id>
+                       <name>onap-repository-snapshots</name>
+                       <url>${onap.nexus.snapshot-url}</url>
+               </snapshotRepository>
                <site>
                        <id>ecomp-site</id>
                        <url>dav:https://${onap.nexus.host}/content/sites/site/org/onap/sdnc/core/${project.artifactId}/${project.version}</url>