1
0
-1

I am trying to build appc core and facing following error. I am using windows 7 wtih eclipse.

[INFO] Scanning for projects...
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://nexus.onap.org/content/repositories/snapshots/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.onap.ccsdk.parent:odlparent-carbon-sr1:0.0.2-SNAPSHOT/maven-metadata.xml from/to openecomp-snapshot (https://nexus.onap.org/content/repositories/snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[INFO] Downloading: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/odlparent-carbon-sr1-0.0.2-SNAPSHOT.pom
[INFO] Downloading: https://nexus.onap.org/content/repositories/snapshots/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/odlparent-carbon-sr1-0.0.2-SNAPSHOT.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/onap/ccsdk/parent/odlparent-carbon-sr1/0.0.2-SNAPSHOT/odlparent-carbon-sr1-0.0.2-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.openecomp.appc:appc:1.1.0-SNAPSHOT: Could not transfer artifact org.onap.ccsdk.parent:odlparent-carbon-sr1:pom:0.0.2-SNAPSHOT from/to openecomp-snapshot (https://nexus.onap.org/content/repositories/snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 27, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.openecomp.appc:appc:1.1.0-SNAPSHOT (D:\onapappc\appc\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.openecomp.appc:appc:1.1.0-SNAPSHOT: Could not transfer artifact org.onap.ccsdk.parent:odlparent-carbon-sr1:pom:0.0.2-SNAPSHOT from/to openecomp-snapshot (https://nexus.onap.org/content/repositories/snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 27, column 13 -> [Help 2]
[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.

Looking for pointer to resolve this issue.

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hello Jeetesh,

      I too had similar issue, below solution worked for me:

      1. go to the  url mentioned in the error https://nexus.onap.org/content/repositories/snapshots/
      2. Download required POM and Jar
      3. install it as independent pom/jar from command line using this command
        mvn install:install-file -Dfile=<<file name>> -DgroupId=<<group id>> -DartifactId=<<artifactid>> -Dversion=<<version>> -Dpackaging=<<packaging>>
      4. then start the build again

      Regards,

      Sanchita 

        CommentAdd your comment...