1
0
-1

I am just getting started and following these instructions here to do a complete build under Ubuntu 16.04, Java 1.8.0_91, Maven 3.3.9.

When executing mvn clean install -U -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Djava.net.preferIPv4Stack=true, build process is crashed in the following message.

Can anyone advise?


....

Downloaded: https://nexus.opendaylight.org/content/repositories/public/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar (324 KB at 30.8 KB/sec)
Downloaded: https://nexus.opendaylight.org/content/repositories/public/org/jdom/jdom/1.1/jdom-1.1.jar (150 KB at 13.9 KB/sec)
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.onap.aai.aai-common:aai-schema:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.onap.aai.aai-common:aai-schema:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-schema/pom.xml, line 125, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.onap.aai.aai-common:aai-annotations:jar:1.1.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-site-plugin @ org.onap.aai.aai-common:aai-annotations:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-annotations/pom.xml, line 47, column 13
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.onap.aai.aai-common:aai-annotations:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-annotations/pom.xml, line 131, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.onap.aai.aai-common:aai-core:jar:1.1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: commons-lang:commons-lang:jar -> duplicate declaration of version 2.6 @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 197, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.bazaarvoice.jolt:jolt-complete:jar -> duplicate declaration of version 0.0.24 @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 295, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-all:jar -> duplicate declaration of version 1.10.19 @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 300, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.powermock:powermock-module-junit4:jar -> duplicate declaration of version 1.6.2 @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 306, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.powermock:powermock-api-mockito:jar -> duplicate declaration of version 1.6.2 @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 312, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.onap.aai.aai-common:aai-core:[unknown-version], /home/jin/project/work/git/onap/aai/aai-common/aai-core/pom.xml, line 417, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai.aai-service:aai-schema:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.openecomp.aai.aai-service:aai-schema:[unknown-version], /home/jin/project/work/git/onap/aai/aai-service/aai-schema/pom.xml, line 90, column 13
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ com.att.ajsc:ajsc-archetype-parent:[unknown-version], /home/jin/.m2/repository/com/att/ajsc/ajsc-archetype-parent/2.0.0/ajsc-archetype-parent-2.0.0.pom, line 735, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai.aai-service:annotations:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.openecomp.aai.aai-service:annotations:[unknown-version], /home/jin/project/work/git/onap/aai/aai-service/annotations/pom.xml, line 81, column 17
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ com.att.ajsc:ajsc-archetype-parent:[unknown-version], /home/jin/.m2/repository/com/att/ajsc/ajsc-archetype-parent/2.0.0/ajsc-archetype-parent-2.0.0.pom, line 735, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai.aai-service:ajsc-aai:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openecomp.aai.aai-service:ajsc-aai:[unknown-version], /home/jin/project/work/git/onap/aai/aai-service/ajsc-aai/pom.xml, line 565, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.openecomp.aai.aai-service:ajsc-aai:[unknown-version], /home/jin/project/work/git/onap/aai/aai-service/ajsc-aai/pom.xml, line 612, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai.aai-service:aai-service:pom:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 392, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai.model-loader:model-loader:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 491, column 22
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.aai:search-data-service:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 416, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics-test:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ org.openecomp.dcae.apod.analytics:dcae-analytics:1.1.0-SNAPSHOT, /home/jin/project/work/git/onap/dcae/apod/analytics/pom.xml, line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics-model:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ org.openecomp.dcae.apod.analytics:dcae-analytics:1.1.0-SNAPSHOT, /home/jin/project/work/git/onap/dcae/apod/analytics/pom.xml, line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics-common:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ org.openecomp.dcae.apod.analytics:dcae-analytics:1.1.0-SNAPSHOT, /home/jin/project/work/git/onap/dcae/apod/analytics/pom.xml, line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics-dmaap:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ org.openecomp.dcae.apod.analytics:dcae-analytics:1.1.0-SNAPSHOT, /home/jin/project/work/git/onap/dcae/apod/analytics/pom.xml, line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics-tca:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ org.openecomp.dcae.apod.analytics:dcae-analytics:1.1.0-SNAPSHOT, /home/jin/project/work/git/onap/dcae/apod/analytics/pom.xml, line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.apod.analytics:dcae-analytics:pom:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ line 1022, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.collectors.ves:VESCollector:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.blackducksoftware.integration:hub-maven-plugin is missing. @ line 563, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.controller.analytics:dcae-controller-analytics:pom:1.1.0-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.dcae.controller.analytics:dcae-controller-analytics:[unknown-version] (/home/jin/project/work/git/onap/dcae/controller/analytics/pom.xml) points at org.openecomp.dcae.controller:dcae-controller instead of org.openecomp.ncomp.maven:ncomp-maven-base, please verify your project structure @ org.openecomp.dcae.controller.analytics:dcae-controller-analytics:[unknown-version], /home/jin/project/work/git/onap/dcae/controller/analytics/pom.xml, line 20, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.demo:dcae-demo-controller:pom:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-site-plugin @ line 125, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.dcae.operation.utils:operation-utils:jar:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-site-plugin @ org.openecomp.dcae.operation.utils:operation-utils:[unknown-version], /home/jin/project/work/git/onap/dcae/operation/utils/operation-utils/pom.xml, line 30, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.ncomp.utils:ncomp-utils-journaling:jar:1.1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: commons-io:commons-io:jar -> duplicate declaration of version 2.5 @ line 103, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:dblib-provider:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:dblib-features:jar:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:dblib-installer:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:dblib:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli-common:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli-provider:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli-recording:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli-features:jar:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli-installer:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sli:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:filters-provider:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:filters-features:jar:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:filters-installer:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:filters:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliPluginUtils-provider:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliPluginUtils-features:jar:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliPluginUtils-installer:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliPluginUtils:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliapi-model:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliapi-features:jar:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliapi-provider:bundle:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliapi-installer:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sliapi:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.sdnc.core:sdnc-core:pom:1.1.2-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.openecomp.sdnc.core:root:1.1.2 (/home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml) points at org.openecomp.sdnc.core:sdnc-core instead of org.opendaylight.odlparent:odlparent, please verify your project structure @ org.openecomp.sdnc.core:root:1.1.2, /home/jin/project/work/git/onap/sdnc/core/rootpom/pom.xml, line 5, column 10
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.vid:epsdk-app-onap:war:1.1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openecomp.vid:vid-app-common:war -> version ${project.version} vs ${version} @ line 279, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openecomp.vid:vid-app-common:jar:classes -> version ${project.version} vs ${version} @ line 285, column 15
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.openecomp.vid:vid-parent:pom:1.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:versions-maven-plugin @ line 118, column 12
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.sonatype.plugins:nexus-staging-maven-plugin @ line 124, column 12
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-site-plugin @ line 185, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[ERROR] [ERROR] Project 'org.openecomp.ecompsdkos:epsdk-app-os:1.1.0-SNAPSHOT' is duplicated in the reactor @ 
[ERROR] Project 'org.openecomp.ecompsdkos:epsdk-app-os:1.1.0-SNAPSHOT' is duplicated in the reactor -> [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/DuplicateProjectException




    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0
      You have a duplicated module entry
      [ERROR] [ERROR] Project 'org.openecomp.ecompsdkos:epsdk-app-os:1.1.0-SNAPSHOT' is duplicated in the reactor @ 
      It looks like PORTAL-8 was fixed recently in 1.1.0-SNAPSHOT

      (check your ecomp-sdk/pom.xml history - updated 6 days ago)

      Therefore you can remove the workaround <module>ecompsdkos/ecomp-sdk/espskd-app-os</module> in the root.xml

      I'll post the change and/or push the root.xml pom to github shortly

      /michael

      1. Gwuieon Jin

        Hi Michael O'Brien,

        As your comment, i remove <module>ecompsdkos/ecomp-sdk/espskd-app-os</module> in the root.xml and the one was resolved. but another build error is coming.

        [INFO] onap.root .......................................... SKIPPED
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 08:15 min
        [INFO] Finished at: 2017-06-22T17:18:24+09:00
        [INFO] Final Memory: 450M/1108M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project ui-ci: Could not resolve dependencies for project org.openecomp.sdc:ui-ci:jar:1.1.0-SNAPSHOT: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) -> [Help 1]
        org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ui-ci: Could not resolve dependencies for project org.openecomp.sdc:ui-ci:jar:1.1.0-SNAPSHOT: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/)
            at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
            at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
            at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:262)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
            at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
            at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
            at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:498)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.openecomp.sdc:ui-ci:jar:1.1.0-SNAPSHOT: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/)
            at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
            at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
            ... 23 more
        Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/)
            at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
            at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
            ... 24 more
        Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/)
            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
            at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
            ... 25 more
        Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.openecomp.sdc:test-apis-ci:jar:1.1.0-SNAPSHOT in 70_opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/)
            at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
            at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
            at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
            at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
            at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
            ... 27 more
        [ERROR] 
        [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
        [ERROR] 
        [ERROR] After correcting the problems, you can resume the build with the command
        [ERROR]   mvn <goals> -rf :ui-ci
        
        
        


        Thanks you.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      You will have to work your way backwards from each error - search on this particular project and find it's parent pom if iti is a child - comment out that line and see if you can continue to success - then come back to it - in some cases a couple of these don't resolve certain test jars on certain systems - the root.pom on the wiki builds the most projects under OSX, and then RHEL and lastly windows.  When I get in the office I will verify my RHEL vm 

      Check your settings.xml - make sure you have all 6 repos there - I used to get several of these errors until I added staging.

          <activeProfile>openecomp-staging</activeProfile>
          <activeProfile>openecomp-public</activeProfile>
          <activeProfile>openecomp-release</activeProfile>
          <activeProfile>openecomp-snapshots</activeProfile>
          <activeProfile>opendaylight-release</activeProfile>
          <activeProfile>opendaylight-snapshots</activeProfile>

      1. Gwuieon Jin

        Hi Michael O'Brien,

        i appreciate your comment. from the conclusion, build is succeeded.

        when error occur, my build process stop at dcae-inventory project. As you suggested, i took a look at my build environment again by referring to Setting Up Your Development Environment.

        my build environment was different from the version recommended in the tutorial. i have used

        java 1.8.0_91, maven 3.3.9 and docker.io. i upgrade the version for java, maven, docker as described in the tutoral and the build is succeeded. (smile)


        Regards.

        Jin.

      2. Michael O'Brien

        Jin, sounds good - I thought you had a second build failure.  Your java/maven versions are perfectly fine (anything above 1.8.0_65/3.3.3).  Also you can selectively comment parts of the root pom.xml based on what you are changing and only build the dependency branch above any component you would like to modify.  The rest of the indirect build artifacts will be picked up from nexus.

        thank you

        /michael

      CommentAdd your comment...