Use tycho 0.17.0 and build w/ kepler

Signed-off-by: Fred Bricon <fbricon@gmail.com>
405087 use correct MavenMetadataCache when flushing project caches

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Fixed FilexWagon instantiation strategy

FilexWagon was marked as singleton and was retaining state from one
test invocation to the next, which resulted in unexpected/unwanted
crosstalk among tests. Changed FilexWagon instantiation policy to
per-lookup and cleanup any static state as part of test setUp.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
405090 fixed plugin artifact cache does not honour forceUpdate

This seems to be a bug in maven core, where DefaultPluginArtifactsCache
and/or DefaultProjectBuildingHelper do not respect session force
dependency update flag. For now, made the fix m2e-specific but
should probably fix in maven.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
405880 fixed NPE during sources download in some cases

DownloadSourcesJob needed to call facade.getMavenProject(monitor)
to load MavenProject instance after workspace restart.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
o start of a small rework of the runtime system to allow for multiple workspace runtimes
406222 : fix duplicate mnemonic keys

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407153 : convert 'Update Project' to a Command

This commit converts the existing 'Update Project' to use an Eclipse
Command. That command is by default bound to Ctrl+Alt+U.

The existing o.e.m.c.u.i.UpdateMavenProjectAction class is deprecated in
favor of o.e.m.c.u.i.UpdateMavenProjectCommandHandler.

Selection related methods from MavenActionSupport and
MavenProjectActionSupport have been refactored to SelectionUtil, to
prevent code duplication

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407165 : add an m2e-activated profile

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407165 : fix templateId typo

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407153 : add missing @since tag

Signed-off-by: Fred Bricon <fbricon@gmail.com>
404178 : Validation messages from MavenProjectWizardArchetypeParametersPage shown before the page is shown

- I wrote 100% of the code;
- I have the right to contribute the code to Eclipse;
- The file header contains the appropriate License header
404178 : cleanup MavenProjectWizardArchetypeParametersPage

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407187 : fix simple module project creation

Signed-off-by: Fred Bricon <fbricon@gmail.com>
407221 : Use latest m-compiler-p version during conversion

Signed-off-by: Fred Bricon <fbricon@gmail.com>
Bump m-compiler-p template version to 3.1

Signed-off-by: Fred Bricon <fbricon@gmail.com>
perf: optimized WorkspaceStateWriter

WorkspaceStateWriter was forcing loading of MavenProject for all
workspace projects. Use IProject persistent property to avoid
unnecessary loading of MavenProjects.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
perf: consolidate registry.refresh invocations

ProjectConfigurationManager refreshed facade for each project being
updated separately. This resulted in unnecessary reloading of
MavenProject instances for common case of multimodule project.

The fix is to invoke registry.refresh for collection of all projects
being updated.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
perf: don't refresh project facade during full build

Changed maven builder to refresh facade when project pom.xml has
changed or facade is not available or facade is stale. Use cached
facade instance in all other cases. This improves performance in
common case when project configuration update and clean build
are performed as one user operations.

May cause stale facade cache when full build is invoked right after
out-of-workspace pom.xml change. This is (and always was) an edge
case, if this happens, the workaround is to manually invoke project
configuration update.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Adding a managed dependency adds a blank dependency instead

- I wrote 100% of the code;
- I have the right to contribute the code to Eclipse
- I have updated the header

Changes to be committed:

	modified:   src/org/eclipse/m2e/core/ui/internal/Messages.java
	modified:   src/org/eclipse/m2e/core/ui/internal/dialogs/MavenRepositorySearchDialog.java
	modified:   src/org/eclipse/m2e/core/ui/internal/messages.properties