You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/20 17:35:02 UTC

[Maven Wiki] Update of "M2UserDocs/040UsingMvn" by cseg

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Maven Wiki" for change notification.

The following page has been changed by cseg:
http://wiki.apache.org/maven/M2UserDocs/040UsingMvn

New page:
#format wiki
#language en
#pragma section-numbers off
[[Navigation(slides)]]
= Using mvn =

Maven2 is invoked using the '''mvn''' command.
 * try '''mvn --help''' to get a quick overview of mvn command line options

The mvn options you might find most useful are:
 * '''mvn -up'''        ''update your downloaded components to their latest versions''
 * '''mvn -N'''         ''no recursion: do not decend into subprojects''
 * '''mvn -e'''         ''show full exception stack trace''
 * '''mvn -Dppp=vvv'''  ''define system property ppp with value vvv''
 * '''mvn -f pomfile''' ''use alternate pom.xml file''
 * '''mvn -s settngsfile''' ''use alternate settings.xml file''

Amost always, the '''mvn''' command is issued '''inside''' of your project directory.  The exception is when you are '''creating''' a new project.  

You may create a project directory anywhere.  

##[[Navigation(siblings)]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org