Hide Forgot
Description of problem: Missing dependency: org.jboss:jboss-parent:16 Repository contains artifact of version 16.0.0 [INFO] Scanning for projects... Downloading: file:///home/jdurani/redhat/tests/maven_repo_test/repos/jboss-dv-6.3.0.ER1-maven-repository/maven-repository/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30-redhat-1/jboss-integration-platform-parent-6.0.0.CR30-redhat-1.pom Downloaded: file:///home/jdurani/redhat/tests/maven_repo_test/repos/jboss-dv-6.3.0.ER1-maven-repository/maven-repository/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30-redhat-1/jboss-integration-platform-parent-6.0.0.CR30-redhat-1.pom (27 KB at 828.4 KB/sec) Downloading: file:///home/jdurani/redhat/tests/maven_repo_test/repos/jboss-dv-6.3.0.ER1-maven-repository/maven-repository/org/jboss/jboss-parent/16/jboss-parent-16.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/16/jboss-parent-16.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.jboss.integration-platform:jboss-integration-platform-parent:6.0.0.CR30-redhat-1: Could not transfer artifact org.jboss:jboss-parent:pom:16 from/to central (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.jboss.integration-platform:jboss-integration-platform-parent:6.0.0.CR30-redhat-1, /home/jdurani/redhat/tests/quickstarts_test/./downloaded_local_repos/repository_quickstart_16_03_2016__10_37_54/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30-redhat-1/jboss-integration-platform-parent-6.0.0.CR30-redhat-1.pom, line 5, column 11 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.jboss.teiid.quickstart:teiid-quickstart-parent:3.0.0.redhat-63-4 (/home/jdurani/redhat/tests/quickstarts_test/quickstarts/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.jboss.integration-platform:jboss-integration-platform-parent:6.0.0.CR30-redhat-1: Could not transfer artifact org.jboss:jboss-parent:pom:16 from/to central (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.jboss.integration-platform:jboss-integration-platform-parent:6.0.0.CR30-redhat-1, /home/jdurani/redhat/tests/quickstarts_test/./downloaded_local_repos/repository_quickstart_16_03_2016__10_37_54/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30-redhat-1/jboss-integration-platform-parent-6.0.0.CR30-redhat-1.pom, line 5, 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
The maven error makes it seem like it's related to the integration-platform-parent pom, but if you look closely, the root exception is a JVM-internal error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Searching this indicates that the trust store path is probably misconfigured, and since maven is trying to download via HTTPS, it makes sense that would be required. So, this doesn't look a build problem. Please check the trust store in your local JVM is configured correctly? Thanks.
The exception is only result not the cause. The maven failed to find artifact in zip repository, therefore it tries to find it in central and fails because of bad configuration. But the point still is, that it should not even try to look for the artifact in maven central, because the artifact should be in the zip repository. > Artifact jboss-integration-platform-parent: <parent> <groupId>org.jboss</groupId> <artifactId>jboss-parent</artifactId> <version>16</version> <relativePath></relativePath> </parent> <groupId>org.jboss.integration-platform</groupId> <artifactId>jboss-integration-platform-parent</artifactId> > Versions in the zip repository: 10-redhat-2 11-redhat-1 14.0.0.redhat-1 16.0.0.redhat-1 8-redhat-1 9-redhat-1
Sorry, I confirm jboss-parent:16 isn't present, and is set as the parent of jboss-integration-platform-parent:6.0.0.CR30-redhat-1. I'm not currently sure why the maven repository generator missed it.
I asked pkocandr, and he reminded me that any artifacts that are present in Maven Central are deliberately filtered from the repo zips. A missing jboss-parent:16 is compliant with the MRRC requirements[1] since it is present in Central[2], and the requirements state all artifacts must "be included in the product maven repository or be available in Maven central" So, I think my original suggestion (fix the JVM trust store) stands, as the quickstarts are allowed to require access to Maven Central. Juraj, if you agree I will close this as NOTABUG. [1] https://mojo.redhat.com/docs/DOC-187749 [2] http://central.maven.org/maven2/org/jboss/jboss-parent/16/
OK, close the bug.
Anyway, there is still at least one missing dependency. I logged a new issue - https://bugzilla.redhat.com/show_bug.cgi?id=1318684