Author: ddumont
Date: Thu May 31 17:45:47 2012
New Revision: 1344831

URL: http://svn.apache.org/viewvc?rev=1344831&view=rev
Log:
Define lifecycle event for compress goal to tell eclipse to ignore it when 
using the new m2e plugin -> 
http://wiki.eclipse.org/M2E_plugin_execution_not_covered

Modified:
    shindig/trunk/extras/pom.xml
    shindig/trunk/features/pom.xml

Modified: shindig/trunk/extras/pom.xml
URL: 
http://svn.apache.org/viewvc/shindig/trunk/extras/pom.xml?rev=1344831&r1=1344830&r2=1344831&view=diff
==============================================================================
--- shindig/trunk/extras/pom.xml (original)
+++ shindig/trunk/extras/pom.xml Thu May 31 17:45:47 2012
@@ -63,6 +63,30 @@
             </dependency>
           </dependencies>
         </plugin>
+                   <plugin>
+                     <groupId>org.eclipse.m2e</groupId>
+                     <artifactId>lifecycle-mapping</artifactId>
+                     <version>1.0.0</version>
+                     <configuration>
+                       <lifecycleMappingMetadata>
+                         <pluginExecutions>
+                           <pluginExecution>
+                             <pluginExecutionFilter>
+                               <groupId>net.alchim31.maven</groupId>
+                               
<artifactId>yuicompressor-maven-plugin</artifactId>
+                               <versionRange>[0.0.0,)</versionRange>
+                               <goals>
+                                 <goal>compress</goal>
+                               </goals>
+                             </pluginExecutionFilter>
+                             <action>
+                               <ignore />
+                             </action>
+                           </pluginExecution>
+                         </pluginExecutions>
+                       </lifecycleMappingMetadata>
+                     </configuration>
+                   </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

Modified: shindig/trunk/features/pom.xml
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/pom.xml?rev=1344831&r1=1344830&r2=1344831&view=diff
==============================================================================
--- shindig/trunk/features/pom.xml (original)
+++ shindig/trunk/features/pom.xml Thu May 31 17:45:47 2012
@@ -82,6 +82,30 @@
           <groupId>net.alchim31.maven</groupId>
           <artifactId>yuicompressor-maven-plugin</artifactId>
         </plugin>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>net.alchim31.maven</groupId>
+                    <artifactId>yuicompressor-maven-plugin</artifactId>
+                    <versionRange>[0.0.0,)</versionRange>
+                    <goals>
+                      <goal>compress</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
 


Reply via email to