mirror of https://github.com/apache/maven.git
Moving field restored for backward compat out into a maven-project specific out into a compat aspect, like the one used in core itself for the plugin manager and lifecycle executor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cdf7254203
commit
b7785ba822
|
@ -0,0 +1,15 @@
|
|||
package org.apache.maven.project.aspect.compat;
|
||||
|
||||
import org.apache.maven.project.DefaultMavenProjectBuilder;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public privileged aspect Maven20xProjectCompatAspect
|
||||
{
|
||||
|
||||
//DO NOT USE, it is here only for backward compatibility reasons. The existing
|
||||
// maven-assembly-plugin (2.2-beta-1) is accessing it via reflection.
|
||||
private Map DefaultMavenProjectBuilder.processedProjectCache = new HashMap();
|
||||
|
||||
}
|
|
@ -162,11 +162,6 @@ public class DefaultMavenProjectBuilder
|
|||
|
||||
public static final String MAVEN_MODEL_VERSION = "4.0.0";
|
||||
|
||||
//DO NOT USE, it is here only for backward compatibility reasons. The existing
|
||||
// maven-assembly-plugin (2.2-beta-1) is accessing it via reflection.
|
||||
private Map processedProjectCache = new HashMap();
|
||||
|
||||
|
||||
public void initialize()
|
||||
{
|
||||
modelReader = new MavenXpp3Reader();
|
||||
|
|
Loading…
Reference in New Issue