diff options
author | Anaël Closson <ac2550@intl.att.com> | 2017-08-31 17:03:05 +0200 |
---|---|---|
committer | Anaël Closson <ac2550@intl.att.com> | 2017-09-04 10:18:18 +0200 |
commit | 073004dfda1d6cb84aa4ba7566f6ae93868d8465 (patch) | |
tree | 67c9a34e2ad6ca79c3b0c820b1468ada7e9e0248 | |
parent | 553868f6b9898ae1cdd2f4cbb566e5d33b7f1af4 (diff) |
OParent deps not downloaded by children
When compiling a project that use OParent as parent project, despite
the usage of ONAP nexus repositories in the project repositories
configuration, the dependencies of org.onap.oparent:oparent are only
searched on maven central which results in build failure for those
projects.
Issue-Id: INT-128
Change-Id: Iba9b92cc563685ffe9454d824191028b357bc9f1
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r-- | oparent/pom.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/oparent/pom.xml b/oparent/pom.xml index 820e8e2..ae98f2b 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -45,6 +45,29 @@ <!-- If following file exist, auto-generation of sdk will be done --> <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> </properties> + <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>ONAP Release Repository</name> + <url>https://nexus.onap.org/content/repositories/releases/</url> + </repository> + <repository> + <id>ecomp-snapshots</id> + <name>ONAP Snapshot Repository</name> + <url>https://nexus.onap.org/content/repositories/snapshots/</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + </repositories> <profiles> <profile> <id>generate-json</id> |