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.
2009/1/16 Peter Horlock peter.horl...@googlemail.com
009/1/15 Wayne Fay wayne...@gmail.com
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'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
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
peter.horl...@googlemail.com wrote:
2009/1/16 Peter Horlock peter.horl...@googlemail.com
009/1/15 Wayne Fay wayne...@gmail.com
I've got a java
what about the maven-war-plugins packagingExcludes?
LieGrue,
strub
--- Dan Tran dant...@gmail.com schrieb am Sa, 17.1.2009:
Von: Dan Tran dant...@gmail.com
Betreff: Re: How to exclude a package from compile
An: Maven Users List users@maven.apache.org
Datum: Samstag, 17. Januar 2009, 11:31
root.
Justin
From: Peter 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
009/1/15 Wayne Fay wayne...@gmail.com
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
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,