Thanks to your last mail, I have found the right configuration to my problem : maven.war.src.excludes=static/**
Thanks a lot, Nicolas -----Message d'origine----- De : Arto Pastinen [mailto:[EMAIL PROTECTED] Envoy� : mercredi 17 mars 2004 15:25 � : Maven Users List Objet : RE: Maven war plugin try maven.war.src.excludes=**/static/* But now i will go to home, SeeU!! On Wed, 2004-03-17 at 16:09, Nicolas Cazottes wrote: > Here is my configuration in details : > build.properties: > maven.war.src=web > maven.war.src.excludes=${maven.war.src}/static > (I tried also maven.war.src.excludes=static or > maven.war.src.excludes=/static) > > maven.xml: > <project > default="full-build" > xmlns:m="maven" > xmlns:j="jelly:core" > xmlns:u="jelly:util"> > > <goal name="full-build"> > <attainGoal name="war"/> > </goal> > </project> > > my project directory structure: > projectRoot / src java classes > / web / WEB-INF descriptors > / static static content > / jsps > > Nicolas > > -----Message d'origine----- > De : Arto Pastinen [mailto:[EMAIL PROTECTED] > Envoy� : mercredi 17 mars 2004 14:45 > � : Maven Users List > Objet : RE: Maven war plugin > > > Could you send what kind values you have used? > > On Wed, 2004-03-17 at 15:37, Nicolas Cazottes wrote: > > Actually, I want, in my war, to exclude all files that are for Images, > > Javascript or purely static Html content. All that files are in a > dedicated > > directory under the web one (which is the root of my web app that I > > configure as maven.war.src). > > Whatever the value I give to maven.war.src.excludes relative or not to the > > maven.war.src configuration key, I am not able to exclude any file from > the > > generated packaged war. > > > > Nicolas > > > > > > -----Message d'origine----- > > De : Maczka Michal [mailto:[EMAIL PROTECTED] > > Envoy� : mercredi 17 mars 2004 12:17 > > � : 'Maven Users List' > > Objet : RE: Maven war plugin > > > > > > What do you want to exclude: java classes or "web resources"? > > > > "war" plugin uses "java" plugin for compilation of java sources and for > > exlusion of java classes you can use properties of that plugin. > > > > Michal > > > > > -----Original Message----- > > > From: Nicolas Cazottes [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, March 17, 2004 12:14 PM > > > To: [EMAIL PROTECTED] > > > Subject: Maven war plugin > > > > > > > > > Hello, > > > > > > Currently working on a project with maven, I needed to use the war > > > plugin with the ${maven.war.src.excludes} property in order to build a > > > packaged Web App. After a while without success, I checked > > > the source code > > > of the > > > war jelly tag and found that the option I wanted to use is > > > not used (or > > > implemented ?) in the plugin war:war goal. > > > Is there a reason that I am missing for this behaviour ? > > > > > > Thanks, > > > > > > Nicolas Cazottes > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
