maven.test.ignore=TRUE
maven.test.run=FALSE
maven.test.skip=TRUE
maven.verify.execute=FALSE
mvn -version
command do?mvn clean install package
mvn package
mvn clean verify install package
mvn install package
dependency:tree
dependency:properties
dependency:evaluate
dependency:analyze
src/main/template/descriptor.xml
src/main/resources/META-INF/maven/archetype-descriptor.xml
src/main/archetype/descriptor.xml
src/main/resources/META-INF/maven/maven-archetype.xml
.m2/proxy.txt
pom.xml
proxy.xml
settings.xml
${basedir}/src/main/resources
${basedir}/src/main/java/resources
${basedir}/resources
${basedir}/src/main/properties
mvn archetype:generate
-DgroupID=sample-maven-project
-DartifactID=com.palmer.bethan.sample
-Dversion=1.0.0
-DinteractiveMode=false
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.palmer.bethan.App</mainClass>
</manifest>
</archive>
</configuration>
${maven.home}/${user.name}/settings.xml
${user.home}/.m2/settings.xml
${maven.home}/conf/settings.xml
${user.home}/maven/settings.xml
<profiles>
<profile>
<id>set=app-home</id>
<properties>maven-people-plugin</artifactId>
<application-home>/path/to/application</application-home>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>set-app-home</activeProfile>
</activeProfiles>
<mirrorOf>\*</mirrorOf>
tell Maven to do?<mirror>
<id>internal-repo</id>
<url>http://repo.mycompany.com/proxy</url>
<mirrorOf>\*</mirrorOf>
</mirror>
\*
in the name.<dependency>
elements should be inside <dependencies>
elements.<dependency>
element is not a valid in a POM file.<dependency>
elements should be at the bottom of the POM file.