maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Maven Wiki] Trivial Update of "M2UserDocs/042UsingMvn" by cseg
Date Fri, 20 Jan 2006 18:36:33 GMT
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/042UsingMvn

------------------------------------------------------------------------------
  [[Navigation(slides)]]
  = Using mvn: Archetypes =
  
- Maven2 uses application templates called '''''archetypes''''' to jump start the creation
of a new project directory.  Different types of applications use different archetypes.  
+ Maven2 uses application templates called '''''[:M2Archetype:archetypes]''''' to jump start
the creation of a new project directory.  Different types of applications use different archetypes.
 
  
  Let's create a project which produces a '''.jar''' file (the default archetype).  Navigate
to a directory '''above''' where you what your project directory to be created, and issue
this command:
  {{{
  mvn archetype:create -DartifactId=myProjectDirName -DgroupId=com.mycompany.myproject
  }}}
  
-  * The '''archetype:create''' argument calls on the the '''archetype''' plugin and invokes
its  '''create''' goal.
+  * The '''archetype:create''' argument calls on the the '''[:M2Archetype:archetype]''' plugin
and invokes its  '''create''' goal.
-  * The '''artifactId''' property defines the '''project directory name''' which will be
created.  
+  * The '''[:M2ArtifactId:artifactId]''' property defines the '''project directory name'''
which will be created.  
-  * The '''groupId''' property defines the '''package structure''' that will be created in
your project directory.
+  * The '''[:M2GroupId:groupId]''' property defines the '''package structure''' that will
be created in your project directory.
  

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


Mime
View raw message