SAGARFIVE

Category: 4. Maven Life Cycle

4.7 Maven Goal

mvn help:describe -Dcmd=PHASENAME mvn help:describe -Dcmd=compile Example : build in pom.xml <build> <plugins> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven.failsafe.version}</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin>

Read More »

4.5 What is SNAPSHOT?

Snapshot vs Version : In case of Version, if Maven once downloaded the mentioned version, say data-service:1.0, it will never try to download a newer

Read More »

4.4 Maven Site Lifecycle

Phase Description pre-site execute processes needed prior to the actual project site generation site generate the project’s site documentation post-site execute processes needed to finalize

Read More »

4.3 Maven Clean Lifecycle

Phase Description pre-clean execute processes needed prior to the actual project cleaning clean remove all files generated by the previous build post-clean execute processes needed

Read More »