[
https://issues.apache.org/jira/browse/RANGER-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709631#comment-17709631
]
Alvin Wo commented on RANGER-4176:
----------------------------------
https://reviews.apache.org/r/74385/
> Failed to collect dependencies at org.apache.hbase:hbase-server:jar:2.4.6 ->
> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 ->
> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4176
> URL: https://issues.apache.org/jira/browse/RANGER-4176
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Environment: Apache Maven 3.8.6
> (84538c9988a25aec085021c365c560670ad80f63)
> Java version: 11.0.15, vendor: Amazon.com Inc., runtime:
> Default locale: en_CN, platform encoding: UTF-8
> OS name: "mac os x", version: "13.2.1", arch: "x86_64", family: "mac"
> Reporter: Alvin Wo
> Priority: Major
> Attachments:
> 0001-RANGER-4172-Move-base-and-thirdparty-image-versions-.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When I was trying to build the project using the comment in the README.md
> {code:java}
> mvn clean compile package install -Drat.skip=true -DskipTests=true -P
> 'ranger-jdk11,!linux'{code}
>
> I got error like this:
> {code:java}
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b06-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/maven-metadata.xml
> [WARNING] org.glassfish:javax.el:3.0.1-b06-SNAPSHOT/maven-metadata.xmlfailed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> resolution will not be reattempted until the update interval of
> jvnet-nexus-snapshots has elapsed or updates are forced. Original error:
> Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b06-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/maven-metadata.xml
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml
> [WARNING] org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xmlfailed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> resolution will not be reattempted until the update interval of
> jvnet-nexus-snapshots has elapsed or updates are forced. Original error:
> Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/javax.el-3.0.1-b07-SNAPSHOT.pom
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml
> [WARNING] org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xmlfailed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> resolution will not be reattempted until the update interval of
> jvnet-nexus-snapshots has elapsed or updates are forced. Original error:
> Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/javax.el-3.0.1-b08-SNAPSHOT.pom
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml
> [WARNING] org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xmlfailed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> resolution will not be reattempted until the update interval of
> jvnet-nexus-snapshots has elapsed or updates are forced. Original error:
> Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/javax.el-3.0.1-b11-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for ranger 3.0.0-SNAPSHOT:
> [INFO]
> [INFO] ranger ............................................. SUCCESS [ 3.769
> s]
> [INFO] Jdbc SQL Connector ................................. SUCCESS [ 6.126
> s]
> [INFO] Credential Support ................................. SUCCESS [ 7.396
> s]
> [INFO] Audit Component .................................... SUCCESS [ 16.804
> s]
> [INFO] ranger-plugin-classloader .......................... SUCCESS [ 5.318
> s]
> [INFO] Common library for Plugins ......................... SUCCESS [ 33.586
> s]
> [INFO] ranger-intg ........................................ SUCCESS [ 10.884
> s]
> [INFO] Installer Support Component ........................ SUCCESS [ 3.953
> s]
> [INFO] Credential Builder ................................. SUCCESS [ 6.536
> s]
> [INFO] Embedded Web Server Invoker ........................ SUCCESS [ 9.632
> s]
> [INFO] Key Management Service ............................. SUCCESS [ 49.474
> s]
> [INFO] HBase Security Plugin Shim ......................... FAILURE [ 49.767
> s]
> [INFO] HBase Security Plugin .............................. SKIPPED
> [INFO] Hdfs Security Plugin ............................... SKIPPED
> [INFO] Hive Security Plugin ............................... SKIPPED
> [INFO] Knox Security Plugin Shim .......................... SKIPPED
> [INFO] Knox Security Plugin ............................... SKIPPED
> [INFO] Storm Security Plugin .............................. SKIPPED
> [INFO] YARN Security Plugin ............................... SKIPPED
> [INFO] Ozone Security Plugin .............................. SKIPPED
> [INFO] Ranger Util ........................................ SKIPPED
> [INFO] Unix Authentication Client ......................... SKIPPED
> [INFO] User Group Synchronizer Util ....................... SKIPPED
> [INFO] ranger-authn ....................................... SKIPPED
> [INFO] Security Admin Web Application ..................... SKIPPED
> [INFO] KAFKA Security Plugin .............................. SKIPPED
> [INFO] SOLR Security Plugin ............................... SKIPPED
> [INFO] NestedStructure Security Plugin .................... SKIPPED
> [INFO] NiFi Security Plugin ............................... SKIPPED
> [INFO] NiFi Registry Security Plugin ...................... SKIPPED
> [INFO] Presto Security Plugin ............................. SKIPPED
> [INFO] Trino Security Plugin .............................. SKIPPED
> [INFO] Kudu Security Plugin ............................... SKIPPED
> [INFO] Unix User Group Synchronizer ....................... SKIPPED
> [INFO] Ldap Config Check Tool ............................. SKIPPED
> [INFO] Unix Authentication Service ........................ SKIPPED
> [INFO] KMS Security Plugin ................................ SKIPPED
> [INFO] Tag Synchronizer ................................... SKIPPED
> [INFO] Hdfs Security Plugin Shim .......................... SKIPPED
> [INFO] Hive Security Plugin Shim .......................... SKIPPED
> [INFO] YARN Security Plugin Shim .......................... SKIPPED
> [INFO] OZONE Security Plugin Shim ......................... SKIPPED
> [INFO] Storm Security Plugin shim ......................... SKIPPED
> [INFO] KAFKA Security Plugin Shim ......................... SKIPPED
> [INFO] SOLR Security Plugin Shim .......................... SKIPPED
> [INFO] Atlas Security Plugin Shim ......................... SKIPPED
> [INFO] KMS Security Plugin Shim ........................... SKIPPED
> [INFO] Presto Security Plugin Shim ........................ SKIPPED
> [INFO] Trino Security Plugin Shim ......................... SKIPPED
> [INFO] ranger-examples .................................... SKIPPED
> [INFO] Ranger Examples - Conditions and ContextEnrichers .. SKIPPED
> [INFO] Ranger Examples - SampleApp ........................ SKIPPED
> [INFO] Ranger Examples - Ranger Plugin for SampleApp ...... SKIPPED
> [INFO] sample-client ...................................... SKIPPED
> [INFO] Apache Ranger Examples Distribution ................ SKIPPED
> [INFO] Ranger Tools ....................................... SKIPPED
> [INFO] Atlas Security Plugin .............................. SKIPPED
> [INFO] SchemaRegistry Security Plugin ..................... SKIPPED
> [INFO] Sqoop Security Plugin .............................. SKIPPED
> [INFO] Sqoop Security Plugin Shim ......................... SKIPPED
> [INFO] Kylin Security Plugin .............................. SKIPPED
> [INFO] Kylin Security Plugin Shim ......................... SKIPPED
> [INFO] Elasticsearch Security Plugin Shim ................. SKIPPED
> [INFO] Elasticsearch Security Plugin ...................... SKIPPED
> [INFO] Apache Ranger Distribution ......................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 03:23 min
> [INFO] Finished at: 2023-04-07T15:13:58+08:00
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "ranger-11" could not be activated because it
> does not exist.
> [ERROR] Failed to execute goal on project ranger-hbase-plugin-shim: Could not
> resolve dependencies for project
> org.apache.ranger:ranger-hbase-plugin-shim:jar:3.0.0-SNAPSHOT: Failed to
> collect dependencies at org.apache.hbase:hbase-server:jar:2.4.6 ->
> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 ->
> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Failed to read artifact
> descriptor for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Could not
> transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): transfer failed for
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom:
> PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target -> [Help 1]
> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <args> -rf :ranger-hbase-plugin-shim{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)