Page properties | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Currently (3.0.4) Apache Maven doesn't support incremental builds very well. Because of that fact, most people use mvn clean compile
instead of mvn compile
for example. This is pretty time consuming and can be improved a lot.
...
check out the sample project
Code Block |
---|
git clone git://github.com/struberg/maventest.git
|
First please set the maven-compiler-plugin version back to 2.5 (the latest release). Then build the whole project with
Code Block |
---|
mvn clean install
|
Now change the code of BeanA and rename getI()
to getI_doesntexistanymore()
. This means that BeanA2.java as well as BeanB.java should fail to compile!
But if we try to build the project with
Code Block |
---|
mvn install
|
without any clean lifecycle, then we see 2 bugs
...