You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Wu, Stephen" <wu...@amazon.com> on 2018/05/18 22:34:51 UTC
about `mvn test-compile` with JDK 7 after HBASE-12350
Hi guys,
As mentioned in the comments of HBASE-20556<https://issues.apache.org/jira/browse/HBASE-20556>, I figured that the build script executes `-PerrorProne` (introduced by HBASE-12350<https://issues.apache.org/jira/browse/HBASE-12350> and it should be removed for jdk7 build especially with branch-1) with mvn test-compile command such that mvn compile failed the build for development (I found few JIRAs has the same issue) on branch-1. So, the command passed test-compile should be :
mvn -Dmaven.repo.local=<local m2 repo> -DHBasePatchProcess clean test-compile -DskipTests=true
I’m new to the community, how can we fix the test-compile command in Jenkins or the build scripts ? should I open a JIRA?
(cc my personal email address)
Thanks,
Stephen
Re: about `mvn test-compile` with JDK 7 after HBASE-12350
Posted by "Wu, Stephen" <wu...@amazon.com>.
Thanks Mike, I will submit a JIRA soon.
-Stephen
-----Original Message-----
From: Mike Drob <md...@apache.org>
Reply-To: "dev@hbase.apache.org" <de...@hbase.apache.org>
Date: Saturday, May 19, 2018 at 8:16 AM
To: dev <de...@hbase.apache.org>
Cc: "taklonwu@gmail.com" <ta...@gmail.com>
Subject: Re: about `mvn test-compile` with JDK 7 after HBASE-12350
Go ahead and open a jira issue about removing the error prone profile,
please assign it to me. Thank you for bringing this up on the list, I would
have missed it in the issue.
Mike
On Fri, May 18, 2018, 5:35 PM Wu, Stephen <wu...@amazon.com> wrote:
> Hi guys,
>
> As mentioned in the comments of HBASE-20556<
> https://issues.apache.org/jira/browse/HBASE-20556>, I figured that the
> build script executes `-PerrorProne` (introduced by HBASE-12350<
> https://issues.apache.org/jira/browse/HBASE-12350> and it should be
> removed for jdk7 build especially with branch-1) with mvn test-compile
> command such that mvn compile failed the build for development (I found few
> JIRAs has the same issue) on branch-1. So, the command passed test-compile
> should be :
>
>
> mvn -Dmaven.repo.local=<local m2 repo> -DHBasePatchProcess clean
> test-compile -DskipTests=true
>
> I’m new to the community, how can we fix the test-compile command in
> Jenkins or the build scripts ? should I open a JIRA?
>
> (cc my personal email address)
>
> Thanks,
> Stephen
>
>
>
Re: about `mvn test-compile` with JDK 7 after HBASE-12350
Posted by Mike Drob <md...@apache.org>.
Go ahead and open a jira issue about removing the error prone profile,
please assign it to me. Thank you for bringing this up on the list, I would
have missed it in the issue.
Mike
On Fri, May 18, 2018, 5:35 PM Wu, Stephen <wu...@amazon.com> wrote:
> Hi guys,
>
> As mentioned in the comments of HBASE-20556<
> https://issues.apache.org/jira/browse/HBASE-20556>, I figured that the
> build script executes `-PerrorProne` (introduced by HBASE-12350<
> https://issues.apache.org/jira/browse/HBASE-12350> and it should be
> removed for jdk7 build especially with branch-1) with mvn test-compile
> command such that mvn compile failed the build for development (I found few
> JIRAs has the same issue) on branch-1. So, the command passed test-compile
> should be :
>
>
> mvn -Dmaven.repo.local=<local m2 repo> -DHBasePatchProcess clean
> test-compile -DskipTests=true
>
> I’m new to the community, how can we fix the test-compile command in
> Jenkins or the build scripts ? should I open a JIRA?
>
> (cc my personal email address)
>
> Thanks,
> Stephen
>
>
>