Re: maven-shade-plugin transform resource files

2012-05-14 Thread Karl Heinz Marbaise

Hi,

Hello I am working on jetty embedded application and use maven shade
plugin. The problem is that I want to compress js, css, and html static
files before shade plugin pack it to single jar. I wrote program that can
do all I want in single directory. How to force plugin to pack treated by
my program files?
That sounds like the wrong way cause you have a war archive which is the 
default to distribute into servlet engines like jetty etc.


So why not using the war plugin ?

You can js compressor plugins (yu...compressor exists, i can't remember 
the exact name)...and add the results to the war configuration...


Ah found it:
http://alchim.sourceforge.net/yuicompressor-maven-plugin/index.html

Kind regards
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

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



Re: maven-shade-plugin transform resource files

2012-05-14 Thread Nikolay Rychkov
I use jetty embedded. War plugin is not applicable

2012/5/14 Karl Heinz Marbaise khmarba...@gmx.de

 Hi,

  Hello I am working on jetty embedded application and use maven shade
 plugin. The problem is that I want to compress js, css, and html static
 files before shade plugin pack it to single jar. I wrote program that can
 do all I want in single directory. How to force plugin to pack treated by
 my program files?

 That sounds like the wrong way cause you have a war archive which is the
 default to distribute into servlet engines like jetty etc.

 So why not using the war plugin ?

 You can js compressor plugins (yu...compressor exists, i can't remember
 the exact name)...and add the results to the war configuration...

 Ah found it:
 http://alchim.sourceforge.net/**yuicompressor-maven-plugin/**index.htmlhttp://alchim.sourceforge.net/yuicompressor-maven-plugin/index.html

 Kind regards
 Karl-Heinz Marbaise
 --
 SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
 Dipl.Ing.(FH) Karl-Heinz MarbaiseICQ#: 135949029
 Hauptstrasse 177 USt.IdNr: DE191347579
 52146 Würselen   http://www.soebes.de

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