[
http://jira.codehaus.org/browse/MWAR-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256095#action_256095
]
cem koc edited comment on MWAR-249 at 2/15/11 2:00 AM:
-------------------------------------------------------
But there is a two different behaviour between different versions of the war
plugin. For example, this behaviour was different in 2.1-beta-1. If you modify
war plugin version of the pom.xml, you can easily see that war plugin does not
touch modified files. Please let me know after trying since this issue is a
serious block for us for updating our war plugin. In many of our projects we
are using such kind of pre-processing before package phase. Thanks
was (Author: cem koc):
But there is a two different behaviour between different versions of the
war plugin. For example, this behaviour was different in 2.1-beta-1. If you
modify war plugin version of the pom.xml, you can easily see that war plugin
does not touch modified files.
> War plugin doesn't let modify the contents of the "exploded" directory
> ----------------------------------------------------------------------
>
> Key: MWAR-249
> URL: http://jira.codehaus.org/browse/MWAR-249
> Project: Maven 2.x WAR Plugin
> Issue Type: Bug
> Affects Versions: 2.1, 2.2
> Environment: maven 3
> Reporter: cem koc
> Attachments: Test.zip
>
>
> Shortly I am trying to modify the contents of the "exploded" directory before
> package phase. I was successfully modifying contents of the exploded
> directories before updating my war plugin.
> My goal was
> 1) Creating an exploded directory of the sources.
> 2) Modifying contents with Replace plugin
> 3) Creating a war file including modified files
> To recreate issue,
> *) mvn clean prepare-package --> This will create as expected file.
> *) mvn clean package --> This will replace again modified file with old one.
> Thanks
--
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