diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-08-14 13:42:40 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-08-14 13:42:48 -0400 |
commit | c80b11cf2316d690ed4ad50eacc17bd4a83695a8 (patch) | |
tree | ca80d3a470999b1c13dd44fab1d46a0f940b4aaa | |
parent | 155b76589040d98d4a693d9d83dadb4f454cff5e (diff) |
Remove eclipse checkstyle warnings
Add this should remove Eclipse warnings:
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (execution: check-style, phase: process-sources)
Issue-Id: POLICY-166
Change-Id: I609ebced831458e1fa56c57a30bceb3512c0dc7f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r-- | pom.xml | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -311,6 +311,30 @@ <artifactId>sonar-maven-plugin</artifactId> <version>${sonar.plugin.version}</version> </plugin> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <versionRange>2.17,)</versionRange> + <goals> + <goal>check</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> </plugins> </pluginManagement> </build> |