You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emanuel Bulic (JIRA)" <ji...@codehaus.org> on 2006/03/08 17:55:23 UTC
[jira] Commented: (MPECLIPSE-112) Resource targetPath is relative
to the project's output directory.
[ http://jira.codehaus.org/browse/MPECLIPSE-112?page=comments#action_60481 ]
Emanuel Bulic commented on MPECLIPSE-112:
-----------------------------------------
I traced the issue to org.apache.maven.plugin.eclipse.EclipseUtils.
> Resource targetPath is relative to the project's output directory.
> ------------------------------------------------------------------
>
> Key: MPECLIPSE-112
> URL: http://jira.codehaus.org/browse/MPECLIPSE-112
> Project: maven-eclipse-plugin
> Type: Bug
> Reporter: Emanuel Bulic
>
>
> I am using the following resource:
> <build>
> <resources>
> <resource>
> <targetPath>data/core/beanconfig</targetPath>
> <directory>.</directory>
> <excludes>
> <exclude>*target/**</exclude>
> </excludes>
> </resource>
> </resources>
> </build>
> Also, the eclipse plugin is configured to use a different outputDirectory:
> <plugin>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <outputDirectory>eclipse-target</outputDirectory>
> </configuration>
> </plugin>
> The classpath entry for the resource above should be relative to the project's output path:
> <classpathentry kind="src" path="." output="eclipse-target/data/core/beanconfig"/>
> The pluging generates the wrong entry:
> <classpathentry kind="src" path="." output="data/core/beanconfig"/>
> The output classpath entry is correct:
> <classpathentry kind="output" path="eclipse-target"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira