[Arakhnę-Dev] [296] * Add m2e 1.0 compatability.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 296
Author:   galland
Date:     2011-10-24 12:55:09 +0200 (Mon, 24 Oct 2011)
Log Message:
-----------
* Add m2e 1.0 compatability.

Modified Paths:
--------------
    trunk/license-installer/pom.xml
    trunk/tag-replacer/pom.xml

Added Paths:
-----------
    trunk/license-installer/lifecycle-mapping-metadata.xml
    trunk/tag-replacer/lifecycle-mapping-metadata.xml

Added: trunk/license-installer/lifecycle-mapping-metadata.xml
===================================================================
--- trunk/license-installer/lifecycle-mapping-metadata.xml	                        (rev 0)
+++ trunk/license-installer/lifecycle-mapping-metadata.xml	2011-10-24 10:55:09 UTC (rev 296)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ########################################################################
+     # See http://wiki.eclipse.org/M2E_compatible_maven_plugins for details #
+     ######################################################################## -->
+<lifecycleMappingMetadata>
+  <pluginExecutions>
+    <pluginExecution>
+      <pluginExecutionFilter>
+        <groupId>org.arakhne.afc</groupId>
+        <artifactId>license-installer</artifactId>
+        <versionRange>[1.0,)</versionRange>
+        <goals>
+          <goal>installlicense</goal>
+        </goals>
+      </pluginExecutionFilter>
+      <action>
+        <execute>
+        	<runOnIncremental>false</runOnIncremental>
+        </execute>
+      </action>
+    </pluginExecution>
+  </pluginExecutions>
+</lifecycleMappingMetadata>
\ No newline at end of file

Modified: trunk/license-installer/pom.xml
===================================================================
--- trunk/license-installer/pom.xml	2011-10-20 10:18:27 UTC (rev 295)
+++ trunk/license-installer/pom.xml	2011-10-24 10:55:09 UTC (rev 296)
@@ -45,5 +45,14 @@
 				</configuration>
 			</plugin>
 		</plugins>
+		<resources>
+			<resource>
+				<directory>${basedir}</directory>
+				<targetPath>${basedir}/target/classes/META-INF/m2e/</targetPath>
+				<includes>
+					<include>lifecycle-mapping-metadata.xml</include>
+				</includes>
+			</resource>
+		</resources>
 	</build>
 </project>

Added: trunk/tag-replacer/lifecycle-mapping-metadata.xml
===================================================================
--- trunk/tag-replacer/lifecycle-mapping-metadata.xml	                        (rev 0)
+++ trunk/tag-replacer/lifecycle-mapping-metadata.xml	2011-10-24 10:55:09 UTC (rev 296)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ########################################################################
+     # See http://wiki.eclipse.org/M2E_compatible_maven_plugins for details #
+     ######################################################################## -->
+<lifecycleMappingMetadata>
+  <pluginExecutions>
+    <pluginExecution>
+      <pluginExecutionFilter>
+        <groupId>org.arakhne.afc</groupId>
+        <artifactId>tag-replacer</artifactId>
+        <versionRange>[1.0,)</versionRange>
+        <goals>
+          <goal>generatereplacesrc</goal>
+          <goal>generatesrc</goal>
+          <goal>replaceresource</goal>
+        </goals>
+      </pluginExecutionFilter>
+      <action>
+        <execute>
+        	<runOnIncremental>false</runOnIncremental>
+        </execute>
+      </action>
+    </pluginExecution>
+  </pluginExecutions>
+</lifecycleMappingMetadata>
\ No newline at end of file

Modified: trunk/tag-replacer/pom.xml
===================================================================
--- trunk/tag-replacer/pom.xml	2011-10-20 10:18:27 UTC (rev 295)
+++ trunk/tag-replacer/pom.xml	2011-10-24 10:55:09 UTC (rev 296)
@@ -8,18 +8,18 @@
 		<groupId>org.arakhne.afc</groupId>
 		<version>4.3-SNASPHOT</version>
 	</parent>
-	
+
 	<groupId>org.arakhne.afc</groupId>
 	<artifactId>tag-replacer</artifactId>
 	<version>2.3-SNASPHOT</version>
 	<packaging>maven-plugin</packaging>
 	<name>JavaDoc Tag Replacer Plugin</name>
 	<url>http://www.arakhne.org</url>
-	
+
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 	</properties>
-	
+
 	<dependencies>
 		<dependency>
 			<groupId>org.arakhne.afc</groupId>
@@ -29,6 +29,7 @@
 	<build>
 		<plugins>
 			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-plugin-plugin</artifactId>
 				<executions>
 					<execution>
@@ -43,5 +44,14 @@
 				</configuration>
 			</plugin>
 		</plugins>
+		<resources>
+			<resource>
+				<directory>${basedir}</directory>
+				<targetPath>${basedir}/target/classes/META-INF/m2e/</targetPath>
+				<includes>
+					<include>lifecycle-mapping-metadata.xml</include>
+				</includes>
+			</resource>
+		</resources>
 	</build>
 </project>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/