Jacopo,
    Ran into this one in the past – make sure your maven is at or above 3.3.3 
(there is a fix for ignoring certain types of certificate issues in mvn) – for 
example 3.2 will experience this.

(https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/): 
hostname in certificate didn't match: <nexus.opendaylight.org> != 
<logs.opendaylight.org> OR <logs.opendaylight.org>

   I should add this to the wiki
   /michael

From: Jacopo Pianigiani [mailto:jpianigi...@juniper.net]
Sent: Tuesday, June 6, 2017 12:58
To: Michael O'Brien <frank.obr...@amdocs.com>; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] Overall list of repos available somewhere ?

All
Still struggling to do a build with updated  code from repos (just pulled), 
updated pom.xml (from wiki) and updated settings.xml from URL 
https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment#SettingUpYourDevelopmentEnvironment-MavenExamplesettings.xml

I have Ubuntu 14.04.5 environment , getting error in dcae.

root@onap10:/home/jpianigiani# mvn clean install -U -DskipTests=true 
-Dmaven.test.skip=true -Dmaven.javadoc.skip=true 
-Dadditionalparam=-Xdoclint:none
[INFO] Scanning for projects...
Downloading: 
http://repo.maven.apache.org/maven2/org/openecomp/ncomp/maven/ncomp-maven-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/ncomp/maven/ncomp-maven-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/maven/ncomp-maven-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/maven/ncomp-maven-base/1.1.0-SNAPSHOT/maven-metadata.xml
 (618 B at 0.7 KB/sec)
[WARNING] Could not transfer metadata 
org.openecomp.ncomp.maven:ncomp-maven-base:1.1.0-SNAPSHOT/maven-metadata.xml 
from/to 70_opendaylight-snapshot 
(https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/): 
hostname in certificate didn't match: <nexus.opendaylight.org> != 
<logs.opendaylight.org> OR <logs.opendaylight.org>
Downloading: 
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/ncomp/maven/ncomp-maven-xcore/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/maven/ncomp-maven-xcore/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
http://repo.maven.apache.org/maven2/org/openecomp/ncomp/maven/ncomp-maven-xcore/1.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/maven/ncomp-maven-xcore/1.1.0-SNAPSHOT/maven-metadata.xml
 (619 B at 2.9 KB/sec)
[WARNING] Could not transfer metadata 
org.openecomp.ncomp.maven:ncomp-maven-xcore:1.1.0-SNAPSHOT/maven-metadata.xml 
from/to 70_opendaylight-snapshot 
(https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/): 
hostname in certificate didn't match: <nexus.opendaylight.org> != 
<logs.opendaylight.org> OR <logs.opendaylight.org>
Downloading: 
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/openecomp/ncomp/sirius/manager/ncomp-sirius-manager-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/sirius/manager/ncomp-sirius-manager-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloading: 
http://repo.maven.apache.org/maven2/org/openecomp/ncomp/sirius/manager/ncomp-sirius-manager-base/1.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://nexus.onap.org/content/repositories/snapshots/org/openecomp/ncomp/sirius/manager/ncomp-sirius-manager-base/1.1.0-SNAPSHOT/maven-metadata.xml
 (636 B at 3.5 KB/sec)
[WARNING] Could not transfer metadata 
org.openecomp.ncomp.sirius.manager:ncomp-sirius-manager-base:1.1.0-SNAPSHOT/maven-metadata.xml
 from/to 70_opendaylight-snapshot 
(https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/): 
hostname in certificate didn't match: <nexus.opendaylight.org> != 
<logs.opendaylight.org> OR <logs.opendaylight.org>
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.onap:org.onap:1.1.0-SNAPSHOT 
(/home/jpianigiani/pom.xml) has 1 error
[ERROR]     Child module /home/jpianigiani/dcae/demo/pom.xml of 
/home/jpianigiani/pom.xml does not exist
[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/ProjectBuildingException
root@onap10:/home/jpianigiani#


DEBUG INFO
[DEBUG] Looking up lifecyle mappings for packaging pom from 
ClassRealm[plexus.core, parent: null]
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[ERROR] Child module /home/jpianigiani/dcae/demo/pom.xml of 
/home/jpianigiani/pom.xml does not exist @

        at 
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
        at 
org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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)
[ERROR]
[ERROR]   The project org.onap:org.onap:1.1.0-SNAPSHOT 
(/home/jpianigiani/pom.xml) has 1 error
[ERROR]     Child module /home/jpianigiani/dcae/demo/pom.xml of 
/home/jpianigiani/pom.xml does not exist
[ERROR]
From: Michael O'Brien [mailto:frank.obr...@amdocs.com]
Sent: Tuesday, June 6, 2017 6:31 AM
To: Jacopo Pianigiani <jpianigi...@juniper.net<mailto:jpianigi...@juniper.net>>
Subject: RE: [onap-discuss] Overall list of repos available somewhere ?
Importance: High

The one on the wiki has the 6, the embedded settings.xml there has 7 (including 
the redundant nexus one)
https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment#SettingUpYourDevelopmentEnvironment-MavenExamplesettings.xml

<activeProfile>10_nexus</activeProfile>
<activeProfile>20_openecomp-public</activeProfile>
<activeProfile>30_openecomp-staging</activeProfile>
<activeProfile>40_openecomp-release</activeProfile>
<activeProfile>50_openecomp-snapshots</activeProfile>
<activeProfile>60_opendaylight-release</activeProfile>
<activeProfile>70_opendaylight-snapshots</activeProfile>

Where did you get the one with 5 – just curious – so we can update that one

/michael
From: Jacopo Pianigiani [mailto:jpianigi...@juniper.net]
Sent: Monday, June 5, 2017 23:34
To: Michael O'Brien <frank.obr...@amdocs.com<mailto:frank.obr...@amdocs.com>>
Subject: Re: [onap-discuss] Overall list of repos available somewhere ?

Downloaded the settings.xml today but it refers only to 5 repos... where is the 
latest?

Inviato da iPad

Il giorno 05 giu 2017, alle ore 20:02, Michael O'Brien 
<frank.obr...@amdocs.com<mailto:frank.obr...@amdocs.com>> ha scritto:
Make sure you are running the latest settings.xml (with the 6 repos including 
the 4 onap ones with the snapshot repo for example.
Also, there may be a couple issues with linux building (I need to reverify with 
different versions of RHEL/Ubuntu before publishing them) – I have a fully 
functional root pom.xml on one of my VMs at work that I will pass to 
you/publish tomorrow.

The pom.xml published on the wiki builds on OSX which so far is the best place 
to build onap in my experience.

Also did you see the 1.1.2 build failure in SDNC today – it was fixed late in 
the day – refresh and rebuild if required.

This looks like the build failure in

[ERROR]   The project 
org.openecomp.sdnc.northbound:sdnc-northbound:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/northbound/pom.xml) has 1 error

Also, just a suggestion for group sharing/visibility - all build problems 
should be shared with the group, so we all benefit from solutions and 
cross-referencing of similar issues.
See my note on
https://wiki.onap.org/display/DW/Building+Entire+ONAP

for
https://jira.onap.org/browse/SDNC-14

/michael

From: Jacopo Pianigiani [mailto:jpianigi...@juniper.net]
Sent: Monday, June 5, 2017 21:14
To: Michael O'Brien <frank.obr...@amdocs.com<mailto:frank.obr...@amdocs.com>>
Subject: RE: [onap-discuss] Overall list of repos available somewhere ?

Michael
This is the last one for today, in case you can help. I copied your pom.xml 
file but something goes wrong..

root@onap10:/home/jpianigiani# mvn clean install -U -DskipTests=true 
-Dmaven.test.skip=true -Dmaven.javadoc.skip=true 
-Dadditionalparam=-Xdoclint:none
[INFO] Scanning for projects...
Downloading: 
http://repo.maven.apache.org/maven2/org/openecomp/sdnc/core/root/1.1.2/root-1.1.2.pom
Downloading: 
http://repo.maven.apache.org/maven2/org/opendaylight/odlparent/odlparent/1.7.1-Boron-SR1/odlparent-1.7.1-Boron-SR1.pom
[ERROR] The build could not read 18 projects -> [Help 1]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller.analytics:dcae-controller-analytics:1.1.0-SNAPSHOT
 (/home/jpianigiani/dcae/controller/analytics/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 20, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller:dcae-controller-core:1.1.0-SNAPSHOT 
(/home/jpianigiani/dcae/controller/dcae-controller-core/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 43, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller:dcae-controller-service-dmaap-drsub:1.1.0-SNAPSHOT
 
(/home/jpianigiani/dcae/controller/dcae-controller-service/dcae-controller-service-dmaap-drsub/pom.xml)
 has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 42, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller:dcae-controller-service-cdap:1.1.0-SNAPSHOT 
(/home/jpianigiani/dcae/controller/dcae-controller-service-cdap/pom.xml) has 1 
error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 45, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller:dcae-controller-service-docker:1.1.0-SNAPSHOT 
(/home/jpianigiani/dcae/controller/dcae-controller-service-docker/pom.xml) has 
1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 43, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.controller:dcae-controller-service-vm:1.1.0-SNAPSHOT 
(/home/jpianigiani/dcae/controller/dcae-controller-service-vm/pom.xml) has 1 
error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 46, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.dcae.operation.utils:dcae-operation-utils:1.1.0-SNAPSHOT 
(/home/jpianigiani/dcae/operation/utils/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 20, column 12 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.ncomp.cdap:ncomp-cdap:1.1.0-SNAPSHOT 
(/home/jpianigiani/ncomp/cdap/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 40, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.ncomp.core:ncomp-core:1.1.0-SNAPSHOT 
(/home/jpianigiani/ncomp/core/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 34, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.ncomp.docker:ncomp-docker:1.1.0-SNAPSHOT 
(/home/jpianigiani/ncomp/docker/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 39, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.ncomp.openstack:ncomp-openstack:1.1.0-SNAPSHOT 
(/home/jpianigiani/ncomp/openstack/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 43, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.ncomp.utils:ncomp-utils:1.1.0-SNAPSHOT 
(/home/jpianigiani/ncomp/utils/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.ncomp.maven:ncomp-maven-base:pom:1.1.0-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 68, column 11 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.sdnc.adaptors:sdnc-adaptors:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/adaptors/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.openecomp.sdnc.core:root:pom:1.1.2 in central 
(http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong 
local POM @ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.sdnc.core:sdnc-core:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/core/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.openecomp.sdnc.core:root:1.1.2: 
Could not transfer artifact 
org.opendaylight.odlparent:odlparent:pom:1.7.1-Boron-SR1 from/to 
openecomp-public (${openecomp.nexus.public-url}): No connector available to 
access repository openecomp-public (${openecomp.nexus.public-url}) of type 
default using the available factories WagonRepositoryConnectorFactory and 
'parent.relativePath' points at wrong local POM @ 
org.openecomp.sdnc.core:root:1.1.2, 
/home/jpianigiani/sdnc/core/rootpom/pom.xml, line 5, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project 
org.openecomp.sdnc.northbound:sdnc-northbound:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/northbound/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find 
org.openecomp.sdnc.core:root:pom:1.1.2 in http://repo.maven.apache.org/maven2 
was cached in the local repository, resolution will not be reattempted until 
the update interval of central has elapsed or updates are forced and 
'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.sdnc.oam:sdnc-oam:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/oam/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find 
org.openecomp.sdnc.core:root:pom:1.1.2 in http://repo.maven.apache.org/maven2 
was cached in the local repository, resolution will not be reattempted until 
the update interval of central has elapsed or updates are forced and 
'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.openecomp.sdnc.plugins:sdnc-plugins:1.1.2-SNAPSHOT 
(/home/jpianigiani/sdnc/plugins/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find 
org.openecomp.sdnc.core:root:pom:1.1.2 in http://repo.maven.apache.org/maven2 
was cached in the local repository, resolution will not be reattempted until 
the update interval of central has elapsed or updates are forced and 
'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.onap:org.onap:1.1.0-SNAPSHOT 
(/home/jpianigiani/pom.xml) has 1 error
[ERROR]     Child module /home/jpianigiani/dcae/demo/pom.xml of 
/home/jpianigiani/pom.xml does not exist
[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/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

From: Michael O'Brien [mailto:frank.obr...@amdocs.com]
Sent: Monday, June 5, 2017 2:44 PM
To: Jacopo Pianigiani 
<jpianigi...@juniper.net<mailto:jpianigi...@juniper.net>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: RE: [onap-discuss] Overall list of repos available somewhere ?
Importance: High

Jacopo,
   Hi, good to meet you.  There are a couple ways (design-time code and 
run-time demo).  We had the same requirement to pull/build everything – you can 
refer to the following page that has a bootstrap clone script as well as a 
preliminary root pom.xml

https://wiki.onap.org/display/DW/Building+Entire+ONAP#BuildingEntireONAP-Clone/pullallreposshscript

   However getting a running demo working is easier using the 
Rackspace/openstack demo which will pull/build artifacts into the containers 
where appropriate at deployment time based on the specified branch in the env 
file for the heat template.  You can pull all the code as source for hitting 
breakpoints.

https://wiki.onap.org/display/DW/Installing+and+Running+the+ONAP+Demos

  Also as Alexis de Talhouët<https://wiki.onap.org/display/~adetalhouet> 
mentioned we can use the dynamic list generated by the following that should be 
retrofitted into the sh script.
https://gerrit.onap.org/r/projects/?format=text

thank you
/Michael



Michael O’Brien
Amdocs Technology
16135955268
[amdocs-a]


From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Jacopo Pianigiani
Sent: Monday, June 5, 2017 17:31
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: Re: [onap-discuss] Overall list of repos available somewhere ?

All
Is there a PUBLISHED LIST of repositories where the source code of each 
Subproject can be downloaded ? I am trying to get an up and running 
installation of the current ONAP code, but the information is extremely 
fragmented.

Jacopo

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to