You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/01/11 13:29:00 UTC

[jira] [Created] (HBASE-25494) Compilation failed due to package conflict

Xiaolin Ha created HBASE-25494:
----------------------------------

             Summary: Compilation failed due to package conflict
                 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


Compile the project fails, the package version of org/codehaus/plexus/plexus-utils which 

protobuf-maven-plugin:0.6.1 uses should be more than 1.1. Error messages are as follows:
{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)