Hi,
So it can be a nice feature to implements in the resources plugin
("filters" need to be plexus component).

Can you load an issue in jira ?
I will have a look.

2010/7/24 Laurent Martelli <martellilaur...@gmail.com>:
> Yes, but since it is only able to handle one file at a time, I'll probably
> have to create a plugin in order to run it for each image.
>
> Laurent
>
> 2010/7/24 Kalle Korhonen <kalle.o.korho...@gmail.com>
>
>> Unless there's a Java version of pngcrush, I wouldn't worry about
>> running it as a plugin. You could just configure exec plugin
>> (http://mojo.codehaus.org/exec-maven-plugin/) to run pngcrush.
>>
>> Kalle
>>
>>
>> On Sat, Jul 24, 2010 at 7:12 AM, Laurent Martelli
>> <martellilaur...@gmail.com> wrote:
>> > Hi there !
>> >
>> > I'm working on a webapp project where PNG images are huge because they
>> > contain many layers. The layers are useless when running the webapp, but
>> we
>> > would like to keep them in our repository because that's the native
>> format
>> > for the guy editing them.
>> >
>> > We all know that Maven can substitute properties in text resources, but
>> how
>> > can we filter those binary PNG images through pngcrush or a similar
>> program
>> > in order to create a war that is as small as possible ?
>> >
>> > It looks like plugin configurations are not enough to do this, so I'm
>> > getting ready to create a custom plugin. But I don't know what would be
>> the
>> > best way to achieve our goal.
>> >
>> > Thanks in advance for you asnwers !
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>



-- 
Olivier
http://twitter.com/olamy
http://fr.linkedin.com/in/olamy
http://www.viadeo.com/fr/profile/olivier.lamy7

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

Reply via email to