From 5a2501839c88057e78c0627380f910597393a7eb Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Wed, 18 May 2005 12:16:43 +0000 Subject: [PATCH] Fix M2_REPO var support. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170738 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/plugin/eclipse/EclipseWriter.java | 2 +- .../maven-eclipse-plugin/src/test/projects/project-1/classpath | 2 +- .../maven-eclipse-plugin/src/test/projects/project-2/classpath | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java index 6946bb4926..62bbc87b15 100644 --- a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java +++ b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java @@ -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() ) ); diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath index 9ef53331d7..e6763b6fbf 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath +++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath @@ -2,5 +2,5 @@ - + diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath index 9ab45319ec..ba7e527a5e 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath +++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath @@ -5,5 +5,5 @@ - +