Maven Compiler Plugin - Incremental compile problem -- because of directory structure.

2011-09-23 Thread Gupta, Narendra
All,

1. I have following directory for java source code 

--lion

 --com

  test1 -- contains pom.xml and java source code with package
com.test1

  test2 - contains pom.cml and java source code with pakage
com.test2

when compiler plugin compiles it does directory scanning and compiles
only java code that are modified from previous build. But In above
directory structure case it is recompiles the all source code in
subsequent builds. How to overcome this ? I found that it is because of
basedirectory do not follow maven standard direcotry layout. Please
advise.

Thanks,

Narendra Gupta

 



Maven Compiler Plugin - Incremental compile problem -- because of directory structure.

2011-09-22 Thread Gupta, Narendra
1. I have following directory for java source code 

--lion

 --com

   -- contains pom.xml and java source code with package
com.test1

   - contains pom.cml and java source code with pakage
com.test2

when compiler plugin compiles it does directory scanning and compiles
only java code that are modified from previous build. But In above
directory structure case it is recompiles the all source code in
subsequent builds. How to overcome this ? I found that it is because of
basedirectory do not follow maven standard direcotry layout. Please
advise.

Thanks,

Narendra Gupta