PR: MPECLIPSE-21

Submitted by: Boris Boehlen
use sourcemods


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-04-25 02:26:22 +00:00
parent c81c867f22
commit 5ee2bb8695
3 changed files with 12 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-eclipse-plugin</id>
<name>Maven Eclipse Plug-in</name>
<currentVersion>1.6</currentVersion>
<currentVersion>1.7-SNAPSHOT</currentVersion>
<description>A plugin to generate various files for the Eclipse IDE and ease the use of Maven within that environment. Requires Maven 1.0 RC2.</description>
<shortDescription>Eclipse Plugin for Maven</shortDescription>
<url>http://maven.apache.org/reference/plugins/eclipse/</url>

View File

@ -29,7 +29,14 @@
<classpath>
<j:if test="${sourcesPresent}">
<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}"/>
<classpathentry kind="src" path="${srcDir}"/>
<j:set var="excluding" value=""/>
<j:forEach var="sm" items="${pom.build.sourceModifications}">
<j:forEach var="exclude" items="${sm.excludes}">
<j:set var="excluding" value="${excluding},${exclude}"/>
</j:forEach>
</j:forEach>
<j:set var="excluding">${excluding.substring(1)}</j:set>
<classpathentry kind="src" path="${srcDir}" excluding="${excluding}" />
</j:if>
<j:if test="${unitTestSourcesPresent}">

View File

@ -24,6 +24,9 @@
<author email="dion@multitask.com.au">dIon Gillard</author>
</properties>
<body>
<release version="1.7-SNAPSHOT" date="in CVS">
<action dev="brett" type="update" due-to="Boris Boehlen" issue="MPECLIPSE-21">Honour sourceModifications in classpath file</action>
</release>
<release version="1.6" date="2004-03-10">
<action dev="vmassol" type="fix" issue="MPECLIPSE-15">Fixed Cactus support (there were problems due to the move of the Cactus plugin outside of the Maven project).</action>
<action dev="epugh" type="add">Add support for having multiple other directories included in the classpath.</action>