I've seen the same problem as Sudhakar Reddy today. The issue is that ${sdnctl.dblib.version} is resolving to 1.1.1-SNAPSHOT instead of 1.1.2-SNAPSHOT.
I got core to build, with the following changes:
diff --git a/rootpom/pom.xml b/rootpom/pom.xml
index 2b3a4da..fa3693e 100755
--- a/rootpom/pom.xml
+++ b/rootpom/pom.xml
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>org.openecomp.sdnc.core</groupId>
- <artifactId>rootpom</artifactId>
+ <artifactId>root</artifactId>
<version>1.1.0</version>
@@ -84,7 +84,7 @@
<sdnc.plugins.version>(1.0.999,1.1.999)</sdnc.plugins.version>
<sdnctl.sli.version>${sdnc.core.version}</sdnctl.sli.version>
<sdnctl.aai.service.version>${sdnc.adaptors.version}</sdnctl.aai.service.version>
- <sdnctl.dblib.version>${sdnc.core.version}</sdnctl.dblib.version>
+ <sdnctl.dblib.version>1.1.2-SNAPSHOT</sdnctl.dblib.version>
<sdnctl.mdsal.resource.version>${sdnc.adaptors.version}</sdnctl.mdsal.resource.version>
Hi James MacNider ,the Core got built now but the same issue in coming in plugins project.
I have changed the inner poms by mentioning the sli-common and sli-provider versions as '1.1.2-SNAPSHOT' but it exit with the below error. Is there any workaround for this?
[INFO] Building Properties Node - Provider 1.1.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli-common/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli-common/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 0.5 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.2-SNAPSHOT/maven-metadata.xml (603 B at 0.6 KB/sec) Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sdnc-core/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sdnc-core/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.2-SNAPSHOT/maven-metadata.xml (820 B at 0.4 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/dblib-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/dblib-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/dblib-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/dblib-provider/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 1.2 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/dblib/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/dblib/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/dblib/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/dblib/1.1.2-SNAPSHOT/maven-metadata.xml (605 B at 0.6 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli-provider/1.1.2-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-provider/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 1.5 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli-common/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli-common/maven-metadata.xml Downloading: https://repo.maven.apache.org/maven2/org/openecomp/sdnc/core/sli-common/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/maven-metadata.xml (473 B at 0.3 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli-common/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli-common/1.1.0-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.0-SNAPSHOT/maven-metadata.xml (2 KB at 1.5 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli/1.1.0-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.0-SNAPSHOT/maven-metadata.xml (605 B at 0.6 KB/sec) Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sdnc-core/1.1.0-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sdnc-core/1.1.0-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.0-SNAPSHOT/maven-metadata.xml (823 B at 0.8 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli-common/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli-common/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.1-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli-common/1.1.1-SNAPSHOT/maven-metadata.xml (2 KB at 0.8 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sli/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sli/1.1.1-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sli/1.1.1-SNAPSHOT/maven-metadata.xml (605 B at 0.6 KB/sec) Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/sdnc/core/sdnc-core/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.1-SNAPSHOT/maven-metadata.xml Downloading: https://nexus.onap.org/content/groups/public/org/openecomp/sdnc/core/sdnc-core/1.1.1-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.onap.org/content/repositories/snapshots/org/openecomp/sdnc/core/sdnc-core/1.1.1-SNAPSHOT/maven-metadata.xml (823 B at 0.9 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/openecomp/sdnc/core/root/1.1.1/root-1.1.1.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SDN-C Java Plugins ................................. SUCCESS [ 3.782 s] [INFO] Properties Node .................................... SUCCESS [ 0.084 s] [INFO] Properties Node - Provider ......................... FAILURE [ 23.545 s] [INFO] Properties Node - Features ......................... SKIPPED [INFO] Properties node - Karaf Installer ................. SKIPPED [INFO] RESTAPI Call Node .................................. SKIPPED [INFO] RESTAPI Call Node - Provider ....................... SKIPPED [INFO] RESTAPI Call Node - Features ....................... SKIPPED [INFO] Properties node - Karaf Installer ................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.543 s [INFO] Finished at: 2017-07-26T08:50:13+03:00 [INFO] Final Memory: 50M/302M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project properties-node-provider: Could not resolve dependencies for project org.openecomp.sdnc.plugins:properties-node-provider:bundle:1.1.2-SNAPSHOT: Failed to collect dependencies at org.openecomp.sdnc.core:sli-provider:jar:1.1.2-SNAPSHOT -> org.openecomp.sdnc.core:sli-common:jar:1.1.1-SNAPSHOT: Failed to read artifact descriptor for org.openecomp.sdnc.core:sli-common:jar:1.1.1-SNAPSHOT: Failure to find org.openecomp.sdnc.core:root:pom:1.1.1 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
I just cloned an successfully built. Sometimes that error means the Linux foundation nexus was having problems.
I'm trying to build SDNC as mentioned in Controllers - SDNC Build Instructions
The settings.xml is in sync with the one provided in Setting Up Your Development Environment
When I try to build sdnc/core I'm getting the below error in sli-common module:
Software versions used:
Apache Maven 3.5.0
Java version: 1.8.0_131, vendor: Oracle Corporation