[
https://issues.apache.org/jira/browse/HBASE-14806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003834#comment-15003834
]
Hadoop QA commented on HBASE-14806:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12772162/HBASE-14806.patch
against master branch at commit 789f8a5a70242c16ce10bc95401c51c7d04debfa.
ATTACHMENT ID: 12772162
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 3 new
or modified tests.
{color:red}-1 javac{color}. The patch appears to cause mvn compile goal to
fail with Hadoop version 2.4.0.
Compilation errors resume:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-source-plugin:2.2.1:jar (default) on project
hbase-server: Execution default of goal
org.apache.maven.plugins:maven-source-plugin:2.2.1:jar failed:
java.lang.reflect.InvocationTargetException:
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase/hbase-server/target/MiniMRCluster_64588581/MiniMRCluster_64588581-logDir-nm-1_0/mLjP4
-> [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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-server
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/16510//console
This message is automatically generated.
> Missing sources.jar for several modules when building HBase
> -----------------------------------------------------------
>
> Key: HBASE-14806
> URL: https://issues.apache.org/jira/browse/HBASE-14806
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Attachments: HBASE-14806.patch
>
>
> Introduced by HBASE-14085. The problem is, for example, in
> hbase-common/pom.xml, we have
> {code:title=pom.xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-source-plugin</artifactId>
> <configuration>
> <excludeResources>true</excludeResources>
> <includes>
> <include>src/main/java</include>
> <include>${project.build.outputDirectory}/META-INF</include>
> </includes>
> </configuration>
> </plugin>
> {code}
> But in fact, the path inside {{<include>}} tag is relative to source
> directories, not the project directory. So the maven-source-plugin always end
> with
> {noformat}
> No sources in project. Archive not created.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)