mirror of https://github.com/apache/maven.git
Fix M2_REPO var support.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a624012a8d
commit
5a2501839c
|
@ -329,7 +329,7 @@ public class EclipseWriter
|
|||
|
||||
writer.startElement( "classpathentry" );
|
||||
|
||||
writer.addAttribute( "kind", "lib" );
|
||||
writer.addAttribute( "kind", "var" );
|
||||
|
||||
writer.addAttribute( "path", "M2_REPO/" + toRelative( localRepository, path.getPath() ) );
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
<classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC"/>
|
||||
<classpathentry kind="lib" path="M2_REPO/maven/jars/maven-core-2.0-SNAPSHOT.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/maven/jars/maven-core-2.0-SNAPSHOT.jar"/>
|
||||
</classpath>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
<classpathentry kind="src" path="src/test/resources" output="target/test-classes"/>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
<classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC"/>
|
||||
<classpathentry kind="lib" path="M2_REPO/junit/jars/junit-2.0.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/junit/jars/junit-2.0.jar"/>
|
||||
</classpath>
|
||||
|
|
Loading…
Reference in New Issue