Remove text duplication.
.. -*- coding: utf-8; -*-
.. include:: HEADER.rst
========
Maven.
========
.. contents::
Maven tutorial.
===============
* http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
Generate simple project.
========================
::
$ mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Search for maven artifact by Java package or class name.
========================================================
* https://repository.sonatype.org/
Get help on Maven plug-in.
==========================
::
$ mvn help:describe -DartifactId=maven-war-plugin -DgroupId=org.apache.maven.plugins
$ mvn help:describe -Dcmd=dependency:resolve -Ddetail
$ mvn dependency:tree
$ mvn dependency:list
$ mvn dependency:resolve
$ mvn dependency:resolve-plugins
$ mvn -X ...
What actual code processed by Maven::
$ mvn help:effective-settings
$ mvn help:effective-pom
Run Java main from Maven.
=========================
::
mvn exec:java -Dexec.mainClass="com.vineetmanohar.module.Main" -Dexec.args="arg0 arg1 arg2"
How do I skip the tests during the default lifecycle?
=====================================================
::
$ mvn -DskipTests package