SuccessChanges

Summary

  1. Bug 536867 - Support maven mojos refreshing whole folder in BuildContext (details)
Commit 384923753fd76e492becc2ef9bfd4ee6791fd56b by Mickael Istria
Bug 536867 - Support maven mojos refreshing whole folder in BuildContext
Some mojos may need to refresh the whole project folder. This case
currently throws an exception:
java.lang.IllegalArgumentException: Path must include project and
resource name: /org.eclipse.acute.netcoredbg.linux.x86_64
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at
org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2117)
at
org.eclipse.core.internal.resources.Container.getFolder(Container.java:202)
at
org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.refreshResources(MavenBuilderImpl.java:246)
This patch prevents this exception from happening.
Change-Id: I7326b46d58c33b93a29658e2dd1cae9dab606a0b Signed-off-by:
Mickael Istria <mistria@redhat.com>
The file was addedorg.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/tests/BuildContextLifecycleTest.java
The file was addedorg.eclipse.m2e.core.tests/testrepo-src/pom.xml
The file was addedorg.eclipse.m2e.core.tests/build.properties
The file was modifiedm2e-maven-runtime/pom.xml
The file was addedorg.eclipse.m2e.core.tests/testrepo-src/test-buildcontext-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
The file was addedorg.eclipse.m2e.core.tests/projects/testProjectBuildContext/pom.xml
The file was addedorg.eclipse.m2e.core.tests/pom.xml
The file was modifiedorg.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/MavenBuilderImpl.java
The file was modifiedpom.xml
The file was addedorg.eclipse.m2e.core.tests/testrepo/.gitignore
The file was addedorg.eclipse.m2e.core.tests/testrepo-src/test-buildcontext-plugin/src/main/java/org/eclipse/m2e/tests/plugin/test_buildcontext_plugin/RefreshMojo.java
The file was addedorg.eclipse.m2e.core.tests/META-INF/MANIFEST.MF
The file was addedorg.eclipse.m2e.core.tests/testrepo/README.md
The file was addedorg.eclipse.m2e.core.tests/testrepo-src/test-buildcontext-plugin/pom.xml