[ 
http://jira.codehaus.org/browse/MNG-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter closed MNG-3692.
-----------------------------

      Assignee: Brett Porter
    Resolution: Incomplete

closing due to lack of info

> War plugin version 2.1-alpha-1 re-processes files
> -------------------------------------------------
>
>                 Key: MNG-3692
>                 URL: http://jira.codehaus.org/browse/MNG-3692
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>         Environment: Windows/jdk 151/maven 2.0.9
>            Reporter: EJ Ciramella
>            Assignee: Brett Porter
>
> We have a version.html file that has a ${label} token inside (as listed
> below).  When I run with maven 2.0.9, using "mvn install", I can see
> that version.html is copied into the target location twice, once via
> process-resources (and it's expanded at this point) and then a second
> time when the war plugin says:
> [INFO] Assembling webapp[pdtApp] in
> [E:\work\up-svcs\lty\rel\LTY-R66.0\programData\pdt-web\target\pdtApp-66.
> 0-SNAPSHOT]
> [INFO] Processing war project        <-------------------------
> [INFO] Webapp assembled in[2530 msecs]
> This is a change since mvn 2.0.5.
> I've NOT defined a war plugin, I'm only telling maven that the
> <packaging> is war.  Is it looking at all the defined <resources> and
> copying them over?
> To reproduce this, set up a resource (such as version.html) with a token in 
> it that lives in the webapp directory under source.  Run a mvn package or mvn 
> install and you'll see that the token first is expanded during the 
> process-resources goal, then during package, the war plugin copies over (and 
> overwrites) that same file.

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

        

Reply via email to