Fix an checkstyle not being recognized by eclipse 67/16067/1
authorRobert Varga <rovarga@cisco.com>
Thu, 5 Mar 2015 10:57:44 +0000 (11:57 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 5 Mar 2015 11:00:07 +0000 (12:00 +0100)
Since we override mappings, we need to make sure we carry checkstyle
declaration, otherwise eclipse reports an error.

Change-Id: I6fe6ea161ea963883284f68ed6faffe06f7d8f58
Signed-off-by: Robert Varga <rovarga@cisco.com>
parent/pom.xml

index 0c1cf52963ded53a06c055a9c7d19a8254fde182..f7b9f46005eb2def01927bd13788458c1f4d2044 100644 (file)
                                         <ignore/>
                                     </action>
                                 </pluginExecution>
+                                <pluginExecution>
+                                    <pluginExecutionFilter>
+                                        <groupId>org.apache.maven.plugins</groupId>
+                                        <artifactId>maven-checkstyle-plugin</artifactId>
+                                        <versionRange>[2.13,)</versionRange>
+                                        <goals>
+                                            <goal>check</goal>
+                                        </goals>
+                                    </pluginExecutionFilter>
+                                    <action>
+                                        <execute />
+                                    </action>
+                                </pluginExecution>
                             </pluginExecutions>
                         </lifecycleMappingMetadata>
                     </configuration>