sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
214 stars 81 forks source link

Build fails when downloading `nexus-plugins` dependency #62

Open florent-souliere-smile opened 4 years ago

florent-souliere-smile commented 4 years ago

Build the project from the master branch.

To get the .jar binaries of the project!

Fix Maven project dependencies.

Here is my maven stdout:

[INFO] Scanning for projects...
Downloading from rso-snapshots: https://repository.sonatype.org/content/repositories/snapshots/org/sonatype/nexus/plugins/nexus-plugins/3.19.1-01/nexus-plugins-3.19.1-01.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/nexus/plugins/nexus-plugins/3.19.1-01/nexus-plugins-3.19.1-01.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.sonatype.nexus.plugins:composer-parent:0.0.2: Could not transfer artifact org.sonatype.nexus.plugins:nexus-plugins:pom:3.19.1-01 from/to rso-snapshots (https://repository.sonatype.org/content/repositories/snapshots): 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 14, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.sonatype.nexus.plugins:composer-parent:0.0.2 (/tmp/nexus-repository-composer/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.sonatype.nexus.plugins:composer-parent:0.0.2: Could not transfer artifact org.sonatype.nexus.plugins:nexus-plugins:pom:3.19.1-01 from/to rso-snapshots (https://repository.sonatype.org/content/repositories/snapshots): 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 14, column 11 -> [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.
[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