[
https://issues.apache.org/jira/browse/HBASE-25494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264655#comment-17264655
]
Xiaolin Ha commented on HBASE-25494:
------------------------------------
Thanks,[~stack]. It fails on both branch-2 and master. My local maven
environment is ,
{code:java}
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/haxl/soft/apache-maven-3.6.3
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac"
{code}
I have tried to remove all the repositories in .m2 directory and recompiled the
project, but it didn't work.
After fixed it like the PR, it compiled successfully.
> Compilation failed due to conflict of plugin dependent packages
> ---------------------------------------------------------------
>
> Key: HBASE-25494
> URL: https://issues.apache.org/jira/browse/HBASE-25494
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0-alpha-1
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Major
>
> Compile the project fails, error messages are as follow. My maven version is
> 3.6.3
> {code:java}
> [ERROR] Failed to execute goal
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile
> (compile-protoc) on project hbase-protocol-shaded: Execution compile-protoc
> of goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile
> failed: A required class was missing while executing
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile:
> org/codehaus/plexus/util/io/InputStreamFacade
> [ERROR] -----------------------------------------------------
> [ERROR] realm =
> plugin>org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/Users/haxl/.m2/repository/org/xolstice/maven/plugins/protobuf-maven-plugin/0.6.1/protobuf-maven-plugin-0.6.1.jar
> [ERROR] urls[1] =
> file:/Users/haxl/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm
> ClassRealm[project>org.apache.hbase:hbase:3.0.0-SNAPSHOT, parent:
> ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] : org.codehaus.plexus.util.io.InputStreamFacade
> [ERROR] -> [Help 1]
> [ERROR]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)