That depends on exactly how you want it to be executed but the documentation 
should give you a start:
http://alchim.sourceforge.net/yuicompressor-maven-plugin/usage_compress.html


If you want to overwrite the previous js/css rather than create a new file with 
the compressed content, add this:

<configuration>
  <nosuffix>true</nosuffix>
</configuration>

Martin

On Sun, 05 Apr 2009 15:45:01 +0200, Angelo Chen <angelochen...@yahoo.com.hk> 
wrote:

>
> that's great, but what need to be added to pom.xml?
>
>
> Martin Strand-4 wrote:
>>
>> I'm using this YUI compressor plugin and it works great:
>> http://alchim.sourceforge.net/yuicompressor-maven-plugin/
>>
>> Martin
>>
>> On Sun, 05 Apr 2009 01:25:45 +0200, Angelo Chen
>> <angelochen...@yahoo.com.hk> wrote:
>>
>>>
>>> Hi,
>>>
>>> I'd like to minifying those js in the 5.0.18, is there a quick way to do
>>> this? I'm looking at Maven Javascript Plugin, but the plugin does not
>>> exist
>>> when compile, any hints? thanks.
>>>
>>> Angelo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to