Maven Build
The build tag section give the information about the defaultGoal, the directory where the compiled project will be located and the final name of the project.
<build>
<defaultGoal>install</defaultGoal>
<directory>${basedir}/target</directory>
<finalName>${artifactId}-${version}</finalName>
</build>