maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <r...@gold-family.us>
Subject Re: maven compiler plugin
Date Thu, 10 Oct 2013 12:43:17 GMT
Hi Irfan,

The behavior you describe sounds surprising. Can you attach a full listing of the run when
you do mvn compile:compile?

Thanks,
Russ

On Oct 9, 2013, at 11:42 PM, Irfan Sayed <irfu.sayed@gmail.com> wrote:

> hi,
> 
> i am using maven compiler plugin. i havent mentioned anything related to
> plugin in POM.xml
> 
> i have just used the command on command prompt
> mvn compiler:compile
> what is happening is , above command compiles the test classes also .
> however which should not be the case
> 
> in my opinion, only main java source files should get compiled and when i
> execute compiler:testcompile goal , then only test classes should get
> compile
> 
> please suggest how to just compile main source files and skip test cases
> compilation
> 
> regards

-----------------
Author, Getting Started with Apache Maven <http://www.packtpub.com/getting-started-with-apache-maven/video>

Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!








Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message