Re: How to exclude a package from compile

2009-12-10 Thread qrtt1
I think this solution could be helpful: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html -- View this message in context: http://old.nabble.com/How-to-exclude-a-package-from-compile-tp21476236p26738402.html Sent from the Maven - Users mailing list archive at Nabble.com

SOLVED: How to exclude a package from compile

2009-01-19 Thread Peter Horlock
Thanks Justin, your answer was just what I needed! Actually - you have to configure the war plugin, but it uses the same syntax as the jar plugin. I now got: maven-war-plugin 2.1-alpha-2 false

RE: How to exclude a package from compile

2009-01-17 Thread Edelson, Justin
er Horlock [mailto:peter.horl...@googlemail.com] Sent: Sat 1/17/2009 5:30 AM To: Maven Users List Subject: Re: How to exclude a package from compile > I've got a java package (along with the jar dependencies it uses) that I do > not want to be added to the war file we send to our client. Also

Re: How to exclude a package from compile

2009-01-17 Thread Mark Struberg
what about the maven-war-plugins ? LieGrue, strub --- Dan Tran schrieb am Sa, 17.1.2009: > Von: Dan Tran > Betreff: Re: How to exclude a package from compile > An: "Maven Users List" > Datum: Samstag, 17. Januar 2009, 11:31 > Use truezip-maven-plugin to remove the

Re: How to exclude a package from compile

2009-01-17 Thread Dan Tran
Use truezip-maven-plugin to remove the unwanted contents from the war file at package phase -D On Sat, Jan 17, 2009 at 2:24 AM, Peter Horlock wrote: > 2009/1/16 Peter Horlock > >> 009/1/15 Wayne Fay >> > I've got a java package (along with the jar dependencies it uses) that I >> do >> > not wa

Re: How to exclude a package from compile

2009-01-17 Thread Peter Horlock
> I've got a java package (along with the jar dependencies it uses) that I do > not want to be added to the war file we send to our client. Also, I do not > want the pom.xml to be part of the war file. Actually, to be more precise, the best would be if all classes in the package would not even be

Re: How to exclude a package from compile

2009-01-17 Thread Peter Horlock
2009/1/16 Peter Horlock > 009/1/15 Wayne Fay > > I've got a java package (along with the jar dependencies it uses) that I > do > > not want to be added to the war file we send to our client. Also, I do > not > > want the pom.xml to be part of the war file. > Does no one have a solution for this

Re: How to exclude a package from compile

2009-01-16 Thread Peter Horlock
009/1/15 Wayne Fay > I've got a java package (along with the jar dependencies it uses) that I do > not want to be added to the war file we send to our client. Also, I do not > want the pom.xml to be part of the war file. I would move the code in that java package and its dependencies out of the w

Re: How to exclude a package from compile

2009-01-15 Thread Wayne Fay
> I've got a java package (along with the jar dependencies it uses) that I do > not want to be added to the war file we send to our client. Also, I do not > want the pom.xml to be part of the war file. I would move the code in that java package and its dependencies out of the war to its own module

How to exclude a package from compile

2009-01-15 Thread Peter Horlock
Hi, I've got a java package (along with the jar dependencies it uses) that I do not want to be added to the war file we send to our client. Also, I do not want the pom.xml to be part of the war file. (This is the default, the devevelopment war file is build by using a profile). I tried this: