Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2015-08-19 15:27:16 +0000
committerFred Bricon2015-08-19 15:45:18 +0000
commitc051719deda066a6157a3d85a6351f8d82818f54 (patch)
treee035d75a0479feb3b594173546ae1e73d83e986b
parentcf480e038e35cb90c070c2991ad904a3e88733cc (diff)
downloadm2e-core-c051719deda066a6157a3d85a6351f8d82818f54.tar.gz
m2e-core-c051719deda066a6157a3d85a6351f8d82818f54.tar.xz
m2e-core-c051719deda066a6157a3d85a6351f8d82818f54.zip
471843 : fix configurators order per their mojo execution
Change-Id: I548eb81ca272f3205bfbc22dade10fbe2ba9e253 Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
index 34fbd5f5..82b2cd58 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
@@ -1343,7 +1343,7 @@ public class LifecycleMappingFactory {
Map<String, AbstractProjectConfigurator> configurators = new LinkedHashMap<>(unsorted.size());
Map<String, IConfigurationElement> elements = getProjectConfiguratorExtensions();
try {
- ProjectConfigurationElementSorter sorter = new ProjectConfigurationElementSorter(elements);
+ ProjectConfigurationElementSorter sorter = new ProjectConfigurationElementSorter(unsorted.keySet(), elements);
List<String> sortedConfigurators = sorter.getSortedConfigurators();
log.debug("{} is configured by :", facade.getProject().getName());
for(String id : sortedConfigurators) {

Back to the top