Maven
Last changed: 2005-09-23 [21:46]
Content:
Information on Maven, a java build tool
|
Table of contents |
Usage
usage: maven [options] [goal [goal2 [goal3] ...]]
Options:
-D,--define arg Define a system property
-N,--non-recursive Do not recurse into sub-projects
-U,--update-snapshots Update all snapshots regardless of repository policies
-X,--debug Produce execution debug output
-e,--errors Produce execution error messages
-h,--help Display help information
-o,--offline Work offline
-r,--reactor Execute goals for project found in the reactor
-v,--version Display version information
Project definition
A minimal project definition that only declares that
junit is require to run the tests.
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>de.pardus</groupId>
<artifactId>geni</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start</name>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</model>
Running junit tests
m2 --offline test
|