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

Jan Hentschel commented on HBASE-19780:
---------------------------------------

The goal of HBASE-12521 is to have Checkstyle run as part of the actual build 
and I personally prefer it that way, but I see your point. If we do it that way 
we should add a short hint in the documentation that {{mvn 
checkstyle:checkstyle}} needs to work locally before submitting a patch and 
that committers should pay attention to that point in the pre-commit job. If we 
do it that way it isn't necessary to define Checkstyle in the sub-modules, as 
long as the plugin is configured in the top-level POM.

> Change execution phase of checkstyle plugin back to default 'verify'
> --------------------------------------------------------------------
>
>                 Key: HBASE-19780
>                 URL: https://issues.apache.org/jira/browse/HBASE-19780
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Appy
>            Assignee: Appy
>            Priority: Major
>         Attachments: HBASE-19780.master.001.patch, 
> HBASE-19780.master.002.patch
>
>
> Not able to run following command successfully:
> {{mvn -DskipTests install site 
> -Dmaven.repo.local=/Users/appy/Desktop/temp_repo}}
> Use a clean separate repo so that existing packages don't pollute the build.
> Error is following.
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> hbase: failed to get report for 
> org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on 
> project hbase-error-prone: Execution checkstyle of goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: Plugin 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its 
> dependencies could not be resolved: Failure to find 
> org.apache.hbase:hbase-checkstyle:jar:2.0.0-beta-1 in 
> http://repository.apache.org/snapshots/ was cached in the local repository, 
> resolution will not be reattempted until the update interval of 
> apache.snapshots has elapsed or updates are forced -> [Help 1]
> {noformat}
> Note that master build goes pass this point.
> Need to figure out what's the difference and fix the overall build.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to