From 6e0d411886cfd3ada8e760c0146b373db024e67a Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Sat, 15 Oct 2005 13:31:20 +0000 Subject: [PATCH] PR: MNG-1196 Submitted by: Johnny R. Ruiz III rename variable to avoid conflict with m1 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321336 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java index 45428630b2..a9a40d10e3 100644 --- a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java +++ b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java @@ -38,7 +38,7 @@ public class AddMavenRepoMojo extends AbstractMojo * installation. For example, if you installed eclipse into c:\eclipse, the * workspace is c:\eclipse\workspace. * - * @parameter + * @parameter expression="${eclipse.workspace}" * @required */ private String workspace; @@ -64,7 +64,7 @@ public class AddMavenRepoMojo extends AbstractMojo { FileWriter fWriter = new FileWriter( f ); - fWriter.write( "\norg.eclipse.jdt.core.classpathVariable.MAVEN_REPO=" + localRepository.getBasedir() ); + fWriter.write( "\norg.eclipse.jdt.core.classpathVariable.M2_REPO=" + localRepository.getBasedir() ); fWriter.flush();