Fix to pull images from Onap nexus 88/120288/1
authorRishi.Chail <rishi.chail@est.tech>
Thu, 8 Apr 2021 13:23:32 +0000 (14:23 +0100)
committerBruno Sakoto <bruno.sakoto@bell.ca>
Thu, 8 Apr 2021 23:22:18 +0000 (23:22 +0000)
Issue-ID: CPS-319

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I2a82e56aef8572e4241b6644cb8c53d2d33ace97
(cherry picked from commit 27fba350de15c5a5145a66f75cc188a6f69633c6)

cps-parent/pom.xml

index b76cd2d..06d6364 100755 (executable)
@@ -41,6 +41,7 @@
         <java.version>11</java.version>
         <minimum-coverage>0.9</minimum-coverage>
         <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <nexus.public.repo>nexus3.onap.org:10001/library/</nexus.public.repo>
         <oparent.version>3.1.0</oparent.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
                             see https://www.testcontainers.org/features/configuration/#disabling-ryuk
                          -->
                         <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED>
+                        <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${nexus.public.repo}</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>
                     </environmentVariables>
                 </configuration>
             </plugin>
             </plugin>
         </plugins>
     </build>
-</project>
\ No newline at end of file
+</project>