[maven] graylog-server does not build

Bug #1636904 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Just pointing the maven plugin at https://github.com/Graylog2/graylog2-server fails like this:

[INFO] Scanning for projects...
Downloading: https://oss.sonatype.org/content/repositories/releases/com/google/inject/guice-bom/4.1.0/guice-bom-4.1.0.pom
Downloading: https://repo.maven.apache.org/maven2/com/google/inject/guice-bom/4.1.0/guice-bom-4.1.0.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/glassfish/hk2/hk2-bom/2.4.0-b31/hk2-bom-2.4.0-b31.pom
Downloading: https://repo.maven.apache.org/maven2/org/glassfish/hk2/hk2-bom/2.4.0-b31/hk2-bom-2.4.0-b31.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/com/github/joschi/jackson/jackson-bom/2.8.4/jackson-bom-2.8.4.pom
Downloading: https://repo.maven.apache.org/maven2/com/github/joschi/jackson/jackson-bom/2.8.4/jackson-bom-2.8.4.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/glassfish/jersey/jersey-bom/2.22.1/jersey-bom-2.22.1.pom
Downloading: https://repo.maven.apache.org/maven2/org/glassfish/jersey/jersey-bom/2.22.1/jersey-bom-2.22.1.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom
Downloading: https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/2.2/archetype-packaging-2.2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact com.google.inject:guice-bom:pom:4.1.0 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 46, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 53, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact com.github.joschi.jackson:jackson-bom:pom:2.8.4 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 60, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact org.glassfish.jersey:jersey-bom:pom:2.22.1 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 67, column 25
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.7 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 211, column 25
[ERROR] Unresolveable build extension: Plugin org.apache.maven.archetype:archetype-packaging:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.archetype:archetype-packaging:jar:2.2 @
[ERROR] Unknown packaging: maven-archetype @ org.graylog:graylog-plugin-archetype:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-plugin-archetype/pom.xml, line 36, column 16
[ERROR] Non-resolvable import POM: Failure to transfer com.google.inject:guice-bom:pom:4.1.0 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact com.google.inject:guice-bom:pom:4.1.0 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 46, column 25
[ERROR] Non-resolvable import POM: Failure to transfer org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 53, column 25
[ERROR] Non-resolvable import POM: Failure to transfer com.github.joschi.jackson:jackson-bom:pom:2.8.4 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact com.github.joschi.jackson:jackson-bom:pom:2.8.4 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 60, column 25
[ERROR] Non-resolvable import POM: Failure to transfer org.glassfish.jersey:jersey-bom:pom:2.22.1 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.glassfish.jersey:jersey-bom:pom:2.22.1 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 67, column 25
[ERROR] Non-resolvable import POM: Failure to transfer org.apache.logging.log4j:log4j-bom:pom:2.7 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.7 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 211, column 25
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project org.graylog:graylog-project-parent:2.2.0-alpha.5-SNAPSHOT (/home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml) has 5 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact com.google.inject:guice-bom:pom:4.1.0 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 46, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 53, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact com.github.joschi.jackson:jackson-bom:pom:2.8.4 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 60, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.glassfish.jersey:jersey-bom:pom:2.22.1 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 67, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.7 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 211, column 25 -> [Help 2]
[ERROR]
[ERROR] The project org.graylog:graylog-plugin-archetype:2.2.0-alpha.5-SNAPSHOT (/home/daniel/graylog2-server/parts/graylog-server/build/graylog-plugin-archetype/pom.xml) has 7 errors
[ERROR] Unresolveable build extension: Plugin org.apache.maven.archetype:archetype-packaging:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.archetype:archetype-packaging:jar:2.2: Could not transfer artifact org.apache.maven.archetype:archetype-packaging:pom:2.2 from/to central (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 3]
[ERROR] Unknown packaging: maven-archetype @ org.graylog:graylog-plugin-archetype:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-plugin-archetype/pom.xml, line 36, column 16
[ERROR] Non-resolvable import POM: Failure to transfer com.google.inject:guice-bom:pom:4.1.0 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact com.google.inject:guice-bom:pom:4.1.0 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 46, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.glassfish.hk2:hk2-bom:pom:2.4.0-b31 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 53, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer com.github.joschi.jackson:jackson-bom:pom:2.8.4 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact com.github.joschi.jackson:jackson-bom:pom:2.8.4 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 60, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer org.glassfish.jersey:jersey-bom:pom:2.22.1 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.glassfish.jersey:jersey-bom:pom:2.22.1 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 67, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Failure to transfer org.apache.logging.log4j:log4j-bom:pom:2.7 from https://oss.sonatype.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.logging.log4j:log4j-bom:pom:2.7 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty @ org.graylog:graylog-project-parent:[unknown-version], /home/daniel/graylog2-server/parts/graylog-server/build/graylog-project-parent/pom.xml, line 211, column 25 -> [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
[ERROR] [Help 3] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

Tags: plugin
Leo Arias (elopio)
tags: added: plugin
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.