From 0d5090acb35cf551a4d0b68b03facc3648177413 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 29 Oct 2012 22:22:59 +0900 Subject: [PATCH] gerrit-plugin-gwtui/gerrit-war: Enable lifecycle plugin in pom.xml Due to changes in the m2e Eclipse plugin for Indigo (3.7), plugin execution no longer happens directly, but rather must be configured through m2e's lifecycle-mapping plugin. In order for a plugin to be invoked within Eclipse, a pluginExecution must be defined in the lifecycle-mapping plugin corresponding to the execution tag in the plugin definition itself. To achieve this, a new section is added in the build section of the POM files. See http://goo.gl/2WCNW for details. Change-Id: Id37cd53bea434cb9ecf8f509de8da558516e8303 --- gerrit-plugin-gwtui/pom.xml | 44 +++++++++++++++++++++++++++++++++++++ gerrit-war/pom.xml | 29 ++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/gerrit-plugin-gwtui/pom.xml b/gerrit-plugin-gwtui/pom.xml index aa6ba8f577..f5df326732 100644 --- a/gerrit-plugin-gwtui/pom.xml +++ b/gerrit-plugin-gwtui/pom.xml @@ -45,6 +45,50 @@ limitations under the License. + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.codehaus.mojo + gwt-maven-plugin + [2.4.0,) + + resources + compile + i18n + generateAsync + + + + + + + + + org.apache.maven.plugins + maven-war-plugin + [2.1.1,) + + exploded + + + + + + + + + + + + org.apache.maven.plugins diff --git a/gerrit-war/pom.xml b/gerrit-war/pom.xml index 723d416bb4..2461f5195c 100644 --- a/gerrit-war/pom.xml +++ b/gerrit-war/pom.xml @@ -121,6 +121,35 @@ limitations under the License. + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.0,) + + copy-dependencies + unpackgoal> + + + + + + + + + + + + org.apache.maven.plugins