cleaned up duplicate lifecycleMappings extension

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
416050 : ignore non-maven projects changes

Signed-off-by: Fred Bricon <fbricon@gmail.com>
Bump tycho version to 0.18.1

Signed-off-by: Fred Bricon <fbricon@gmail.com>
416037 use standard OSGi API to collect embedded maven classpath

Based on the code by Thomas Watson <tjwatson@us.ibm.com>
attached to the bugzilla.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
416100 use dependency embedder bundle classpath

Since fixing bug 376124, it is possible to have multiple
maven embedder bundles installed and active in the same
eclipse runtime. This change makes sure that m2e will use
the same embedder bundle both inside eclipse jvm and when
running maven externally.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Fix memory leak in MavenImportWizard.java

mappingConfiguration is not dereferenced after displaying the projects of
a directory. This leads to an important memory leak once the wizard is
closed (even if the projects haven't been imported, e.g. 350MB for 130
projects)

Fixing this leak until https://bugs.eclipse.org/bugs/show_bug.cgi?id=409732 is properly
fixed.

Signed-off-by: Fred Bricon <fbricon@gmail.com>
better report project configurator exceptions

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
386196 : properly monitor parallel downloads

Signed-off-by: Fred Bricon <fbricon@gmail.com>
Fix progress task name during download start

Signed-off-by: Fred Bricon <fbricon@gmail.com>
416050 : check project accessibility

Signed-off-by: Fred Bricon <fbricon@gmail.com>
refactor: extracted nested project tree into reusable composite

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
refactor: moved WorkingSetGroup composite to components package

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
fixed NestedProjectsComposite de/select subtree impl

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
417466 (re)create working sets action and dialog

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
408042 Automatically create a new working set based on root project name on maven project import.

1. place new checkbox below existing working set creation area
so as to make the two buttons look connected
2. Update label on new button with working set name when a new
root project is selected.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408042#c7

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Signed-off-by: Andrew Eisenberg <andrew@eisenberg.as>
408042 removed advanced add-to-working-set import options

Advanced add-to-working-set options are now redundant.

Most users will want to create single project-specific
working set, which is now possible with single checkmark.

For the few users who want most elaborate working set
organization, there is 'add-to-working-set' dialog now.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Minimize Lifecycle Mapping parsing during discovery

Signed-off-by: Fred Bricon <fbricon@gmail.com>
409732 : Split lifecycle mapping analysis from project import

The Lifecycle Mapping analysis is now only run after projects are
imported, making selection of projects to import much much faster (< 1
sec vs 1-2 min for the wildfly codebase and its 130 projects)

After import, lifecycle mapping error markers are collected on imported
projects and the discovery service is invoked to find proposals fixing
these errors.

Caveats :
- no proposals are shown anymore in case projects import without
errors, making discovery of new/other applicable connectors less obvious.

As part of the refactoring the following notable architectural changes were performed :
- LM Analysis and Discovery proposals UI are moved to a dedicated Wizard.
- LifecycleMappingConfiguration was deprecated in favor of LifecycleMappingDiscoveryRequest
-Lifecycle Mapping discovery is now based on a collection of ILifecycleMappingRequirement

List of changes in this commit :
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/lifecyclemapping/AggregateMappingLabelProvider.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/lifecyclemapping/ILifecycleMappingLabelProvider.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/lifecyclemapping/MojoExecutionMappingLabelProvider.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/lifecyclemapping/PackagingTypeMappingLabelProvider.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/AbstractCreateMavenProjectsOperation.java
	new file:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/ImportMavenProjectsJob.java
	new file:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/LifecycleMappingHelper.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/LifecycleMappingPage.java
	renamed:    org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenImportWizard.java -> org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenDiscoveryProposalWizard.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenImportWizard.java
	modified:   org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenImportWizardPage.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/discovery/IMavenDiscovery.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/discovery/LifecycleMappingConfiguration.java
	new file:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/discovery/LifecycleMappingDiscoveryRequest.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/discovery/MojoExecutionMappingConfiguration.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/markers/MarkerUtils.java
	modified:   org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/ProjectConfigurationManager.java
	deleted:    org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/InstallCatalogItemMappingLabelProvider.java
	modified:   org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/InstallCatalogItemMavenDiscoveryProposal.java
	modified:   org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/MavenDiscovery.java
	modified:   org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/MavenDiscoveryService.java
	modified:   org.eclipse.m2e.discovery/src/org/eclipse/m2e/internal/discovery/markers/DiscoveryWizardProposal.java
	modified:   org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java

Bug: 409732
Signed-off-by: Fred Bricon <fbricon@gmail.com>