hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-110) Checkstyle is not working in the HDDS precommit hook
Date Wed, 23 May 2018 09:43:00 GMT
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

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message