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.sa...@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/>!







Reply via email to