You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2018/01/13 00:34:00 UTC

[jira] [Commented] (HBASE-19780) Fix build in branch-2 - change execution phase of checkstyle plugin back to default 'verify'

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

Appy commented on HBASE-19780:
------------------------------

bq. Regarding point 2: I would like to stick with using a dedicated module. This provides the advantage that the path to the Checkstyle files only needs to be set once in the parent POM instead of setting it in every module to the appropriate path. But if it fixes things we can change it according to dev-support.

I hoped i could do it by setting a fixed path reference in root pom once and not having to repeat it in every module. But looks like no straightforward way to do it.
Keeping current approach and adding comments to help people who look at it in future.

> Fix build in branch-2 - 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
>         Attachments: HBASE-19780.master.001.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
(v6.4.14#64029)