SAGARFIVE

Category: Maven

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 »

3.11 Maven Repository & Types

(i) Local Repository : <settings xmlns = “http://maven.apache.org/SETTINGS/1.0.0”   xmlns:xsi = “http://www.w3.org/2001/XMLSchema-instance”   xsi:schemaLocation = “http://maven.apache.org/SETTINGS/1.0.0   http://maven.apache.org/xsd/settings-1.0.0.xsd”>   <localRepository>C:/MyLocalRepository</localRepository></settings> (ii)  Central Repository : (iii) Remote Repository : <repositories> 

Read More »

3.10 Plugins

mvn [plugin-name]:[goal-name] mvn compiler:compile Maven Plugin Types : 1 Build plugins They execute during the build process and should be configured in the <build/> element

Read More »

3.9 Build

<build>    <pluginManagement>      <plugins>        <plugin>          <artifactId>maven-clean-plugin</artifactId>          <version>3.1.0</version>        </plugin>   

Read More »