You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/05/23 09:43:00 UTC
[jira] [Created] (HDDS-110) Checkstyle is not working in the HDDS
precommit hook
Elek, Marton created HDDS-110:
---------------------------------
Summary: Checkstyle is not working in the HDDS precommit hook
Key: HDDS-110
URL: https://issues.apache.org/jira/browse/HDDS-110
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Elek, Marton
Assignee: Elek, Marton
Fix For: 0.2.1
While the HDDS precommit hook executes the checkstyle:check maven goal but it doesn't produce results. The reasons is an error in the main.pom.xml
As a main rule usage of ${project.version} should be avoided. If the parent project has a different version from the child project (for example parent has 3.2.0-SNAPSHOT, child has 0.2.1-SNAPSHOT) the ${project.version} which is defined in the parent but evaluated in the child will be replaced with 0.2.1-SNAPSHOT instead of the version of the parent project.
That was the problem with the checkstyle plugin which is defined in the parent project but has a dependency (with version ${project.version})
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org