Java Reference
In-Depth Information
maven-archetype-quickstart:1.1
\[INFO] ------------------------------------------------------------------------
\[INFO] Parameter: groupId, Value: com.example
\[INFO] Parameter: packageName, Value: com.example
\[INFO] Parameter: package, Value: com.example
\[INFO] Parameter: artifactId, Value: my-se-project
\[INFO] Parameter: basedir, Value: /private/tmp
\[INFO] Parameter: version, Value: 1.0-SNAPSHOT
\[INFO] project created from Old (1.x) Archetype in dir: /private/tmp/
my-se-project
\[INFO] ------------------------------------------------------------------------
\[INFO] BUILD SUCCESS
\[INFO] ------------------------------------------------------------------------
\[INFO] Total time: 6:38.051s
\[INFO] Finished at: Sun Jan 06 19:19:18 EST 2013
\[INFO] Final Memory: 7M/81M
\[INFO] ------------------------------------------------------------------------
The IDEs (see Compiling, Running, and Testing with an IDE ) have support for Maven. For
example, if you use Eclipse, M2Eclipse (m2e) is an Eclipse plug-in that will build your
Eclipse project dependencies from your POM file; this plug-in ships by default with current
(Kepler) Java Developer builds of Eclipse, is tested with previous (Juno) releases, and is also
available for some older releases; see the Eclipse website for plug-in details.
A POM file can redefine any of the standard “goals.” Common Maven goals (predefined by
default to do something sensible) include:
clean
Removes all generated artifacts
compile
Compiles all source files
test
Compiles and runs all unit tests
package
Builds the package
Search WWH ::




Custom Search