epugh 2004/06/28 15:07:32
Modified: eclipse/xdocs changes.xml properties.xml
eclipse/src/plugin-resources/templates classpath.jelly
Log:
MPECLIPSE-10 Fix for ignoring dependencies via
<eclipse.dependency>false</eclipse.dependency>
Revision Changes Path
1.22 +1 -0 maven-plugins/eclipse/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/eclipse/xdocs/changes.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- changes.xml 13 Jun 2004 03:51:17 -0000 1.21
+++ changes.xml 28 Jun 2004 22:07:31 -0000 1.22
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.8" date="In CVS">
+ <action dev="epugh" type="add" issue="MPECLIPSE-10" due-to="Thierry Lack">Set
eclipse.dependency=false to explicity ignore dependencies in classpath
generation</action>
<action dev="evenisse" type="fix" issue="MPECLIPSE-29" due-to="Marc-Antoine
Garrigue">Fix classpath generation when tests are not present</action>
<action dev="evenisse" type="fix" issue="MPECLIPSE-32">classpath includes
must be relative directories</action>
</release>
1.10 +4 -0 maven-plugins/eclipse/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/eclipse/xdocs/properties.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- properties.xml 7 May 2004 09:14:37 -0000 1.9
+++ properties.xml 28 Jun 2004 22:07:31 -0000 1.10
@@ -127,6 +127,10 @@
This indicates that the dependency is another project in the workspace.
Note that the name of the referenced project is the artifactId.
</p>
+ <p>
+ The inverse also works. If you have included extra jars that shouldn't be
+ in the eclipse classpath then you can set
<code>eclipse.dependency=false</code>
+ </p>
</section>
</body>
</document>
1.16 +3 -0
maven-plugins/eclipse/src/plugin-resources/templates/classpath.jelly
Index: classpath.jelly
===================================================================
RCS file:
/home/cvs/maven-plugins/eclipse/src/plugin-resources/templates/classpath.jelly,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- classpath.jelly 13 Jun 2004 03:51:17 -0000 1.15
+++ classpath.jelly 28 Jun 2004 22:07:32 -0000 1.16
@@ -124,6 +124,9 @@
<j:when test="${eclipseDependency == 'true'}">
<classpathentry kind="src" path="/${lib.dependency.artifactId}"/>
</j:when>
+ <j:when test="${eclipseDependency == 'false'}">
+ <!-- ignore specific dependencies -->
+ </j:when>
<j:when test="${lib.dependency.groupId == 'junit'}">
<!-- ignoring junit dependency as we've already created it -->
</j:when>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]