This patch fixes the problem of generation of classpath entry for eclipse
project when groupId is used.
It seems that there is more bugs of this type plaguing other plugins as
well.
The same type of patch is needed for example by ear plugin.
I can apply the patch soon...
Michal
Index: plugin.jelly
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-maven/src/plugins-build/eclipse/plugin.jelly
,v
retrieving revision 1.15
diff -u -r1.15 plugin.jelly
--- plugin.jelly 4 Jan 2003 05:37:02 -0000 1.15
+++ plugin.jelly 10 Jan 2003 14:20:44 -0000
@@ -47,8 +47,8 @@
</j:if>
<classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT"
sourcepath="JRE_SRC"/>
- <j:forEach var="lib" items="${pom.dependencies}">
- <classpathentry kind="var"
path="MAVEN_REPO/${lib.getProjectId()}/jars/${lib.getArtifact()}"/>
+ <j:forEach var="lib" items="${pom.artifacts}">
+ <classpathentry kind="var" path="MAVEN_REPO${lib.getUrlPath()}"/>
</j:forEach>
<classpathentry kind="output" path="target\eclipse\classes"/>
</classpath>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>