I would like to run an ant plugin here to process some custom strings in the
resource files. Maven's filtering won't work for our case.

Thanks

On Fri, Nov 27, 2009 at 12:20 PM, Anders Hammar <and...@hammar.net> wrote:

> I think it will be easier for us to help you if you tell us what kind of
> processing you want to do.
>
> You cannot insert a process step within the war plugin execution of the war
> goal (which is what you say in your log output). TO do that you need to
> adapt the plugin itself. However, the war plugin supports filtering (a type
> of processing) and you can also have several web resources. Depending on
> what you want to do one of these possibilities could be your solution,
> possibly together with some other plugin (doing the processing).
>
> /Anders
>
> On Fri, Nov 27, 2009 at 05:58, S5 <sujs...@gmail.com> wrote:
>
> > Hello
> >
> > I am using Maven 2.2.1
> >
> > In my project I want to process some of the resource files. This needs to
> > happen after "copying webapp resources" step and before "building war"
> > step.
> >
> > Here's the log:
> >
> > [war:war {execution: default-war}]
> > [INFO] Packaging webapp
> > [INFO] Assembling webapp[myapp] in [**\target\myapp-1.0-SNAPSHOT]
> > [INFO] Processing war project
> > [INFO] Copying webapp resources[myapp\src\main\webapp]
> > ============> Need to process my resources here
> > [INFO] Building war: myapp\target\myapp-1.0-SNAPSHOT.war
> >
> > Is there a way to accomplish this?
> >
> > Thanks
> >
>

Reply via email to