Complete enforcer setup in odlparent-lite 78/46678/1
authorStephen Kitt <skitt@redhat.com>
Fri, 7 Oct 2016 13:59:48 +0000 (15:59 +0200)
committerStephen Kitt <skitt@redhat.com>
Fri, 7 Oct 2016 13:59:48 +0000 (15:59 +0200)
We need to specify the plugin version and ignore it in m2eclipse.

Change-Id: Ied2769679be6e58f0299120b513693d66d2185e5
Signed-off-by: Stephen Kitt <skitt@redhat.com>
odlparent-lite/pom.xml

index 19dc7055c6c2ceb17e36ecc6becc50d6368d821f..f5f0897eb01d858afef924d2c7132f0adfacb7ef 100644 (file)
                     <ignore></ignore>
                   </action>
                 </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <versionRange>[1.0.0,)</versionRange>
+                    <goals>
+                      <goal>enforce</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore/>
+                  </action>
+                </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>
     <plugins>
       <plugin>
         <artifactId>maven-enforcer-plugin</artifactId>
+        <version>1.4.1</version>
         <executions>
           <execution>
             <id>enforce-maven</id>