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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]