maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emanuel Bulic (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MPECLIPSE-112) Resource targetPath is relative to the project's output directory.
Date Wed, 08 Mar 2006 16:53:23 GMT
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


Mime
View raw message