maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MWAR-157) webResources paths NOT resolved relative to pom.xml but relative to 'current directory'
Date Wed, 25 Aug 2010 19:26:33 GMT

    [ http://jira.codehaus.org/browse/MWAR-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233137#action_233137
] 

Dennis Lundberg commented on MWAR-157:
--------------------------------------

So did 1.0-beta-4 solve the issue?

I would prefer that we try to fix this in maven-filtering, if possible.

> webResources paths NOT resolved relative to pom.xml but relative to 'current directory'
> ---------------------------------------------------------------------------------------
>
>                 Key: MWAR-157
>                 URL: http://jira.codehaus.org/browse/MWAR-157
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: windows
>            Reporter: koen handekyn
>         Attachments: patch157.patch
>
>
> in the documentation it is stated that directories are relative to the pom.xml which
is how it should be indeed.
> however, the runtime behaviour is that webResources directories are resolved relative
to the 'current working directory'.
> {code:xml}
> <webResources>
>   <resource>
>     <!-- this is relative to the pom.xml directory -->
>     <directory>myup-web/src/main/web-resources</directory>
>   </resource>
> </webResources>
> {code}

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