http://jira.codehaus.org/browse/MWAR-198
Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 16 Jun 2009 05:07:42 -0700 > From: fdur...@ticino.com > To: users@maven.apache.org > Subject: Re: Excluding files/webapp folder from a war > > > exactly, I'm trying to find a way or an example how to configure it, and the > doc you posted...I've seen it and went over it several times trying > different combinations, but it ain't working out. > > > without touching at the plugin, but just setting the packaging to war the > files that mvn puts in the target are different...(with a jar it doesn't > pack all those help, images,...folders) > > so I tryed configuring as written on the doc, but if I write: > <webResources> > <resource> > <directory>src/main</directory> > <excludes> > <exclude>webapp</exclude> > </excludes> > </resource> > </webResources> > > it adds even more folders and it doesn't exclude anything > > with: > <webResources> > <resource> > <excludes> > <exclude>webapp</exclude> > </excludes> > </resource> > </webResources> > > > it raises a nullpointer at packaging. > > > > > > > > rynam0 wrote: > > > > It sounds to me like you want to configure the maven-war-plugin with > > some excludes. Docs can be found here: > > > > http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html > > > > -- > View this message in context: > http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24052974.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _________________________________________________________________ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1