You are on page 1of 2

Clean

Compile

Test

Install

Transitive Dependencies

Exclusions

Scope : If I don’t want to use jars while compiling the source code then we can use scope tag

versioning

<version>[4.1,4.20]</version>

Including 4.20

<version>[4.1,4.20)</version>

Excluding 4.20

<version>[4.1,]

Latest will be downloaded

<version>[,4.12]

help:effective-pom -Doutput=effective-pom.xml

help:effective-settings -Doutput= effective-settings.xml

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<verbose>true</verbose>
<source>1.8</source> <!-- QUESTION : WHAT IS 1.8
HERE? -->
<target>1.8</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</build>

Mvn dependency:tree

Mvn dependency:sources

You might also like