You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephane Nicoll <st...@gmail.com> on 2008/01/13 14:28:33 UTC

Re: war-plugin 2.1-alpha-2-SNAPSHOT warSourceExcludes not working

Since you haven't filled a Jira issue, I did and added a
packagingExcludes parameter

http://jira.codehaus.org/browse/MWAR-135

Stéphane

On 12/12/07, Stephane Nicoll <st...@gmail.com> wrote:
> You shouldn't use that for that. That's exactly what I meant:
> warSourceExcludes is used to exclude content in the directory defined
> by the warSourceDirectory. The documentation is confusing though.
>
> Now, I don't see any quick solution to your problem so we'll have to
> investigate a bit to clarify.
>
> Please file a Jira issue.
>
> Stéphane
>
> On Dec 12, 2007 1:37 PM, maarten roosendaal <mr...@yahoo.com> wrote:
> > This is in relation to the skinny-war. I wanted to exclude all libs from WEB-INF\lib for all my WAR's.
> >
> > This also had to do with transitive dependencies in combination with optional = true problem. I want to include only 1 specific jar in the WEB-INF\lib and the rest should only be included in the manifest. I saw a path in JIRA but this was not working because it was missing a few classes, didn't look into it.
> >
> > Thanks,
> > Maarten
> >
> >
> > ----- Original Message ----
> > From: Stephane Nicoll <st...@gmail.com>
> > To: Maven Users List <us...@maven.apache.org>
> > Sent: Wednesday, December 12, 2007 12:49:21 PM
> > Subject: Re: war-plugin 2.1-alpha-2-SNAPSHOT warSourceExcludes not working
> >
> >
> > I've been changing something there indeed because it was excluding
> > stuff in the resulting archive (which was not the expected behavior at
> > all). I just hope I didn't break something :)
> >
> > Can you please elaborate because "is not working" is not especially
> >  helpful.
> >
> > this should only apply to stuff from the src/main/webapp directory. If
> > you used this to filter the content of the war, it has only worked by
> > side effect.
> >
> > Regards,
> > Stéphane
> >
> > On Dec 12, 2007 11:19 AM, maarten roosendaal <mr...@yahoo.com>
> >  wrote:
> > > Hi,
> > >
> > > It seems that the option warSourceExcludes for war-plugin
> >  2.1-alpha-2-SNAPSHOT is not working. I've been using alpha-1 and that was working
> >  fine. Any ideas?
> > >
> > > Thanks,
> > > Maarten
> > >
> > >
> > >
> > >
> > >
> >  ____________________________________________________________________________________
> > > Looking for last minute shopping deals?
> > > Find them fast with Yahoo! Search.
> >   http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> >
> >
> >
> > --
> > Large Systems Suck: This rule is 100% transitive. If you build one,
> > you suck" -- S.Yegge
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
> >
> >
> >
> >       ____________________________________________________________________________________
> > Never miss a thing.  Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
>
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>


-- 
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge

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