Sorry about the fist mail, it was a bit too vague.

Lets say that I want to do something with my CSS files before the war
generation.

If I configure it to be executed during the package phase it's too late
because the war has already been generated.
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
<executions>
    <execution>
        <phase>package</phase>
        <configuration>
            <cssFiles>do something...</cssFiles>
        </configuration>
        <goals>
            <goal>...</goal>
        </goals>
    </execution>
</executions>

If I configure it to be executed during the test phase it's too soon because
the web resources files have not yet been copied.
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
<executions>
    <execution>
        <phase>test</phase>
        <configuration>
            <cssFiles>do something...</cssFiles>
        </configuration>
        <goals>
            <goal>...</goal>
        </goals>
    </execution>
</executions>

Is there any solution for this?

Thanks and regards,

--
Samuel Santos
http://www.samaxes.com/


On Sun, Sep 20, 2009 at 5:47 PM, Samuel Santos <[email protected]> wrote:

> Hello all,
>
> I'm developing a Maven plugin that need to be executed between the weapp
> webResources copy and the war generation during the war:war goal.
>
> How can this be achieved?
>
> Kind regards,
>
> --
> Samuel Santos
> http://www.samaxes.com/
>

Reply via email to