Fix eclipse warnings about maven-enforcer-plugin 58/5358/2
authorRobert Varga <rovarga@cisco.com>
Sun, 16 Feb 2014 11:53:22 +0000 (12:53 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 17 Feb 2014 16:30:29 +0000 (16:30 +0000)
This patch adds an ignore lifecycle mapping, letting eclipse know it
should ignore the plugin.

Change-Id: I6508c5a929a30042197af3a390fe34378a348b9a
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/commons/opendaylight/pom.xml

index 0d74b99ce184bc5832881e40b560ae3f7b16df7d..d32be92fc8f1bf40b0c53503781953bb0dc1bf7f 100644 (file)
                     <ignore />
                   </action>
                 </pluginExecution>
                     <ignore />
                   </action>
                 </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <versionRange>${enforcer.version}</versionRange>
+                    <goals>
+                      <goal>enforce</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>