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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to