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

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

    [ https://issues.apache.org/jira/browse/HBASE-25494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263159#comment-17263159 ] 

Xiaolin Ha commented on HBASE-25494:
------------------------------------

There exist another package error, and a license error for log4j.

 
{code:java}
[INFO] ------------------------------------------------------------------------
[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
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (check-aggregate-license) on project hbase-shaded: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

 

> 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
>            Priority: Major
>
> 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)