a backward compatible solution to reflection usage in current (2.1-beta-1) version of assembly plugin.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Milos Kleint 2007-12-17 19:44:01 +00:00
parent 05b8b80e1e
commit cdf7254203
1 changed files with 5 additions and 0 deletions

View File

@ -162,6 +162,11 @@ public class DefaultMavenProjectBuilder
public static final String MAVEN_MODEL_VERSION = "4.0.0"; 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() public void initialize()
{ {
modelReader = new MavenXpp3Reader(); modelReader = new MavenXpp3Reader();