Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-01-19 03:02:54 +0000
committerIgor Fedorenko2011-01-19 03:02:54 +0000
commitdf1b0eebf73a101f2b99f324437d0326e4748682 (patch)
tree3b66cd84e76d1b1f79ff91e03bcd50e09f268f39
parentd24be2000cccd5bd4dff3dd8ef6227f3f3a1a5ad (diff)
downloadm2e-core-df1b0eebf73a101f2b99f324437d0326e4748682.tar.gz
m2e-core-df1b0eebf73a101f2b99f324437d0326e4748682.tar.xz
m2e-core-df1b0eebf73a101f2b99f324437d0326e4748682.zip
got rid of resources project configurator
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/configurator/MavenResourcesProjectConfigurator.java28
-rw-r--r--org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml5
2 files changed, 1 insertions, 32 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/configurator/MavenResourcesProjectConfigurator.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/configurator/MavenResourcesProjectConfigurator.java
deleted file mode 100644
index e28f9fb9..00000000
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/configurator/MavenResourcesProjectConfigurator.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Sonatype, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *******************************************************************************/
-
-package org.eclipse.m2e.core.project.configurator;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-import org.apache.maven.plugin.MojoExecution;
-
-/**
- * Project configurator for maven-resources-plugin
- */
-public class MavenResourcesProjectConfigurator extends AbstractProjectConfigurator {
- @Override
- public AbstractBuildParticipant getBuildParticipant(MojoExecution execution) {
- return new MojoExecutionBuildParticipant(execution, true /*runOnIncremental*/);
- }
-
- @Override
- public void configure(ProjectConfigurationRequest request, IProgressMonitor monitor) {
- // do nothing
- }
-}
diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
index 646fa611..6f0a5a35 100644
--- a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
+++ b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
@@ -55,10 +55,7 @@
<versionRange>[2.4,)</versionRange>
</pluginExecutionFilter>
<action>
- <configurator>
- <!-- The id matches the id declared in the eclipse extension for the project configurator -->
- <id>org.eclipse.m2e.core.project.configurator.MavenResourcesProjectConfigurator</id>
- </configurator>
+ <execute/>
</action>
</pluginExecution>
<pluginExecution>

Back to the top