[
https://issues.apache.org/jira/browse/HADOOP-11889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522680#comment-14522680
]
Jonathan Eagles commented on HADOOP-11889:
------------------------------------------
One last thing. This fails to compile the azure module do to the newly added
hadoop-build-tools
{code:title=mvn clean install -DskipTests -Dmaven.java.skip}
966 [INFO] Scanning for projects...
2527 [ERROR] The build could not read 1 project -> [Help 1]
2527 [ERROR]
2528 [ERROR] The project org.apache.hadoop:hadoop-azure:3.0.0-SNAPSHOT
(/Users/jeagles/hadoop/commit/hadoop/hadoop-tools/hadoop-azure/pom.xml) has 1
error
2528 [ERROR]
'build.plugins.plugin[org.apache.maven.plugins:maven-checkstyle-plugin].dependencies.dependency.version'
for org.apache.hadoop:hadoop-build-tools:jar is missing. @
org.apache.hadoop:hadoop-main:3.0.0-SNAPSHOT,
/Users/jeagles/hadoop/commit/hadoop/pom.xml, line 303, column 25
2528 [ERROR]
2528 [ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
2528 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2528 [ERROR]
2528 [ERROR] For more information about the errors and possible solutions,
please read the following articles:
2528 [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
{code}
Also, after I remove the checkstyle plugin from the azure module I build and
then run checkstyle and get this error
{code:title=mvn checkstyle:checkstyle}
3105 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.15:checkstyle (default-cli)
on project hadoop-main: Execution default-cli of goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.15:checkstyle failed: Plugin
org.apache.maven.plugins:maven-checkstyle-plugin:2.15 or one of its
dependencies could not be resolved: Failure to find
org.apache.hadoop:hadoop-build-tools:jar: in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
{code}
> Make checkstyle runnable from root project
> ------------------------------------------
>
> Key: HADOOP-11889
> URL: https://issues.apache.org/jira/browse/HADOOP-11889
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, test
> Affects Versions: 2.7.0
> Reporter: Gera Shegalov
> Assignee: Gera Shegalov
> Attachments: HADOOP-11889.001.patch, HADOOP-11889.002.patch,
> HADOOP-11889.003.patch
>
>
> Checkstyle -1 are hard to debug without submitting to Jenkins and downloading
> build artifacts.
> With this JIRA we
> # remove identical checkstyle rules in hdfs which is identical to common
> # move checkstyle plugin to the parent pom
> # update rules to ignore import
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)