aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-07-11 23:26:38 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-07-12 09:28:35 +0200
commit43da0ad5489f38cfbde2b1728fd791c4528f1ab7 (patch)
treecd7c6982795707ab892fa19c9b1bcf7cd63bb385
parent541f8d3747d21acc058ca5e2a2803e0dcc94ca30 (diff)
downloadsonarqube-43da0ad5489f38cfbde2b1728fd791c4528f1ab7.tar.gz
sonarqube-43da0ad5489f38cfbde2b1728fd791c4528f1ab7.zip
Add m2eclipse configuration into POM to get Maven support in Eclipse
-> This is required for m2eclipse 1.0.0 See http://wiki.eclipse.org/M2E_plugin_execution_not_covered
-rw-r--r--pom.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index d402ff79199..75ea80cb52c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -265,6 +265,79 @@
<version>1.1</version>
<extensions>true</extensions>
</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.codehaus.sonar</groupId>
+ <artifactId>
+ sonar-packaging-maven-plugin
+ </artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>check-dependencies</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>
+ gwt-maven-plugin
+ </artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>
+ sonar-dev-maven-plugin
+ </artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>trim</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>
+ maven-dependency-plugin
+ </artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>unpack</goal>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>