Fix for build issues 45/40945/1
authorBlackwell, Ian (ib733q) <IanB@amdocs.com>
Wed, 4 Apr 2018 12:04:04 +0000 (13:04 +0100)
committerBlackwell, Ian (ib733q) <IanB@amdocs.com>
Wed, 4 Apr 2018 12:04:04 +0000 (13:04 +0100)
Some missing repository configuration causes a build issue.

Issue-ID: AAI-996

Change-Id: Iabbc5de6cf7fbd4bae9fae9de7bf1b651da76bcc
Signed-off-by: Blackwell, Ian (ib733q) <IanB@amdocs.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 242b623..10d2692 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                        <url>http://www.evosuite.org/m2</url>
                </pluginRepository>
        </pluginRepositories>
+       
+       <repositories>
+               <repository>
+                       <id>central</id>
+                       <name>Maven 2 repository 2</name>
+                       <url>http://repo2.maven.org/maven2/</url>
+               </repository>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>ECOMP Release Repository</name>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
+               </repository>
+               <repository>
+                       <id>ecomp-snapshots</id>
+                       <name>ECOMP Snapshot Repository</name>
+                       <url>${nexusproxy}/content/repositories/snapshots/</url>
+               </repository>
+               <repository>
+                       <id>ecomp-staging</id>
+                       <name>ECOMP Staging Repository</name>
+                       <url>${nexusproxy}/content/repositories/staging/</url>
+               </repository>
+       </repositories>
 
        <profiles>
                <profile>
                                <configuration>
                                        <verbose>true</verbose>
                                        <serverId>docker-hub</serverId>
-                                       <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
+                                       <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
                                        <dockerDirectory>${docker.location}</dockerDirectory>
                                        <imageTags>
                                                <imageTag>latest</imageTag>
                                </configuration>
                        </plugin>
 
-                       <!-- license plugin
+                       <!-- license plugin -->
                        <plugin>
                                <groupId>com.mycila</groupId>
                                <artifactId>license-maven-plugin</artifactId>
                                        </execution>
                                </executions>
                        </plugin>
-                        -->
+
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>