Avoid some m2e error in eclipse for imported project. Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/e8c0c1a8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e8c0c1a8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e8c0c1a8
Branch: refs/heads/add_remove_nics Commit: e8c0c1a8ee27070d0062ac4ada71b55ff8488254 Parents: 0333225 Author: Min Chen <[email protected]> Authored: Fri Jan 18 11:36:09 2013 -0800 Committer: Min Chen <[email protected]> Committed: Fri Jan 18 11:36:09 2013 -0800 ---------------------------------------------------------------------- pom.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e8c0c1a8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index e09472f..35d6520 100644 --- a/pom.xml +++ b/pom.xml @@ -358,6 +358,36 @@ </formats> </configuration> </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.apache.maven.plugins + </groupId> + <artifactId> + maven-antrun-plugin + </artifactId> + <versionRange>[1.7,)</versionRange> + <goals> + <goal>run</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> </plugins> </pluginManagement> </build>
