You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by anishab <an...@gmail.com> on 2008/07/16 10:37:40 UTC

Exclude .java files while compiling and packagin a .War file

Hello,

I am trying to get rid of the source files (.java files) from the WAR file
that is created my maven. Any ideas on how to accomplish this?

Any help is grealty appreciated.

Thanks,
Anish
-- 
View this message in context: http://www.nabble.com/Exclude-.java-files-while-compiling-and-packagin-a-.War-file-tp18482029p18482029.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Exclude .java files while compiling and packagin a .War file

Posted by Geoffrey Wiseman <ge...@gmail.com>.
On Wed, Jul 16, 2008 at 4:39 AM, anishab <an...@gmail.com> wrote:

>
> Just to add to the post below, we are using Maven v 1.0.2


It's been a while since I used Maven 1.x, but if you've got it set up well,
you shouldn't find .java files in your WAR, so it sounds like your
configuration is off.  It's not a matter of excluding them, it's a question
of what's causing them to be included, I'd say.

  - Geoffrey
-- 
Geoffrey Wiseman

Re: Exclude .java files while compiling and packagin a .War file

Posted by anishab <an...@gmail.com>.
Just to add to the post below, we are using Maven v 1.0.2

Thanks,
Anish

anishab wrote:
> 
> Hello,
> 
> I am trying to get rid of the source files (.java files) from the WAR file
> that is created my maven. Any ideas on how to accomplish this?
> 
> Any help is grealty appreciated.
> 
> Thanks,
> Anish
> 

-- 
View this message in context: http://www.nabble.com/Exclude-.java-files-while-compiling-and-packagin-a-.War-file-tp18482029p18482032.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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