maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Piper (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRESOURCES-35) targetPath doesn't accept absolute paths
Date Mon, 05 Feb 2007 17:04:44 GMT

    [ http://jira.codehaus.org/browse/MRESOURCES-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86849
] 

Andy Piper commented on MRESOURCES-35:
--------------------------------------

I see this problem also in 2.0.4. Its very annoying.

> targetPath doesn't accept absolute paths
> ----------------------------------------
>
>                 Key: MRESOURCES-35
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-35
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: linux, windows
>            Reporter: Paul Jungwirth
>            Priority: Minor
>         Attachments: absolute-resource-outputs.patch
>
>
> <targetPath> is always relative to target/classes, even if you pass it an absolute
path. This happens if the path is from a variable, like this:
>   <targetPath>${basedir}/scripts</targetPath>
> It also happens if you write the path directly:
>   <targetPath>/home/pjungwir/src/encc/scripts</targetPath>
> or on windows:
>   <targetPath>C:/home/pjungwir/src/encc/scripts</targetPath>
> Your resources wind up in directories like this:
>   /home/pjungwir/src/encc/target/classes/home/pjungwir/src/encc/scripts

-- 
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