Author: mbenson
Date: Wed Apr 24 22:30:18 2013
New Revision: 1471745

URL: http://svn.apache.org/r1471745
Log:
equip weaver-maven-plugin with m2e lifecycle mapping

Added:
    commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/
    commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/
    commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/
    
commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
Modified:
    commons/sandbox/weaver/trunk/example/pom.xml

Modified: commons/sandbox/weaver/trunk/example/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/weaver/trunk/example/pom.xml?rev=1471745&r1=1471744&r2=1471745&view=diff
==============================================================================
--- commons/sandbox/weaver/trunk/example/pom.xml (original)
+++ commons/sandbox/weaver/trunk/example/pom.xml Wed Apr 24 22:30:18 2013
@@ -83,34 +83,6 @@
 
     <pluginManagement>
       <plugins>
-        <!--This plugin's configuration is used to store Eclipse m2e settings 
only. It has no influence on the Maven build itself. -->
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.apache.commons</groupId>
-                    <artifactId>commons-privilizer-maven-plugin</artifactId>
-                    <versionRange>[0.1-SNAPSHOT,)</versionRange>
-                    <goals>
-                      <goal>prepare</goal>
-                      <goal>weave</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute>
-                      <runOnIncremental>true</runOnIncremental>
-                    </execute>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>exec-maven-plugin</artifactId>

Added: 
commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml?rev=1471745&view=auto
==============================================================================
--- 
commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
 (added)
+++ 
commons/sandbox/weaver/trunk/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
 Wed Apr 24 22:30:18 2013
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!-- 
+
+  Copyright the original author or authors.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+ -->
+<lifecycleMappingMetadata>
+  <pluginExecutions>
+    <pluginExecution>
+      <pluginExecutionFilter>
+        <goals>
+          <goal>prepare</goal>
+          <goal>test-prepare</goal>
+        </goals>
+      </pluginExecutionFilter>
+      <action>
+        <execute>
+          <runOnIncremental>true</runOnIncremental>
+          <runOnConfiguration>true</runOnConfiguration>
+        </execute>
+      </action>
+    </pluginExecution>
+    <pluginExecution>
+      <pluginExecutionFilter>
+        <goals>
+          <goal>weave</goal>
+          <goal>test-weave</goal>
+        </goals>
+      </pluginExecutionFilter>
+      <action>
+        <execute>
+          <runOnIncremental>true</runOnIncremental>
+          <runOnConfiguration>false</runOnConfiguration>
+        </execute>
+      </action>
+    </pluginExecution>
+  </pluginExecutions>
+</lifecycleMappingMetadata>
\ No newline at end of file


Reply via email to