From 83bba72a8c3e6702df1f642be342c73296444796 Mon Sep 17 00:00:00 2001 From: Igor Fedorenko Date: Sat, 26 Feb 2011 00:56:27 -0500 Subject: 337010 better detect java projects Java project project configurator is enabled for maven-compiler-plugin with compilerId=javac regardless of project packaging type. To allow such conditional enablement, introduced new optional element. For example javac Current implementation uses string comparison to match parameter value, i.e. ``javac'', to the corresponding mojo execution configuration parameter, i.e. ``compilerId'', and ignored plugin execution mapping if values do not match. Additionally, relaxed requirement to have specific lifecycle mapping for project packaging type. New lifecycle mapping with id=DEFAULT will be used for projects without specific lifecycle mapping. Signed-off-by: Igor Fedorenko --- org.eclipse.m2e.core/plugin.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'org.eclipse.m2e.core/plugin.xml') diff --git a/org.eclipse.m2e.core/plugin.xml b/org.eclipse.m2e.core/plugin.xml index e7ad015d..672c913e 100644 --- a/org.eclipse.m2e.core/plugin.xml +++ b/org.eclipse.m2e.core/plugin.xml @@ -104,6 +104,15 @@ id="NULL" name="%lifecycleMapping.empty.name"> + + + + -- cgit v1.2.3