[
https://issues.apache.org/jira/browse/HBASE-25494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266595#comment-17266595
]
Xiaolin Ha commented on HBASE-25494:
------------------------------------
Maybe this is a problem which can only be reproduced in some particular
circumstances. I remove my maven settings to download the packages from the
central repository instead of our company repository, and it works...
But the missed class org/codehaus/plexus/util/io/InputStreamFacade is really
not in org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar.
I guess some plugin packages from our company repository defined wrong pom, but
until now, I could not find out which one...
> 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
> Attachments: compile.log
>
>
> 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)