maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csta...@apache.org
Subject svn commit: r1158738 - /maven/indexer/trunk/pom.xml
Date Wed, 17 Aug 2011 14:29:07 GMT
Author: cstamas
Date: Wed Aug 17 14:29:07 2011
New Revision: 1158738

URL: http://svn.apache.org/viewvc?rev=1158738&view=rev
Log:
Made Maven Indexer build m2e 1.0 "friendly". This pluginManagement section does not stir anything
in CLI maven build, but stores the needed lifecycle mapping for m2e.

More about it here:
http://wiki.eclipse.org/M2E_plugin_execution_not_covered

Modified:
    maven/indexer/trunk/pom.xml

Modified: maven/indexer/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/indexer/trunk/pom.xml?rev=1158738&r1=1158737&r2=1158738&view=diff
==============================================================================
--- maven/indexer/trunk/pom.xml (original)
+++ maven/indexer/trunk/pom.xml Wed Aug 17 14:29:07 2011
@@ -231,6 +231,31 @@ under the License.
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.8</version>
         </plugin>
+        <!--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.sonatype.plugins</groupId>
+                    <artifactId>port-allocator-maven-plugin</artifactId>
+                    <versionRange>[1.1,)</versionRange>
+                    <goals>
+                      <goal>allocate-ports</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>



Mime
View raw message