Maven Incremental Plugin

859 views Asked by At

Good afternoon in my timezone.

I am new to Maven , i had always use Ant. I want to use the Incremental Build Plugin to reduce the application compilation and deploy time. There is not much information related with this plugin. I have add the following code to the parent POM.

<plugin>
           <groupId>net.java.maven-incremental-build</groupId>
           <artifactId>incremental-build-plugin</artifactId>
           <version>1.6</version>
             <executions>
                <execution>
                    <goals>
                        <goal>incremental-build</goal>
                        </goals>
                    </execution>
                </executions>
        </plugin>

But in the applications logs i verify that the target is deleted and the source folder is compiled every time. What could am i doing wrong ?

Thanks in advance

Best regards

0

There are 0 answers