Changeset 30141
- Timestamp:
- 02/13/08 17:14:42 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/nuxeo-book/trunk/src/docbook/getting-started/index.xml
r29524 r30141 191 191 <para>To create a project named <varname>my-project</varname> in the 192 192 <varname>com.company.sandbox</varname> area: <programlisting 193 language="xml">mvn archetype:create -DartifactId=my-project \ 193 language="xml">mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \ 194 -DartifactId=my-project \ 194 195 -DgroupId=com.company.sandbox \ 195 196 -DarchetypeArtifactId=nuxeo-archetype-simple \ 196 197 -DarchetypeGroupId=org.nuxeo.archetypes \ 197 -DarchetypeVersion=5.1 -SNAPSHOT\198 -DremoteRepositories=http://archiva.nuxeo.org/archiva/repository/nuxeo_ snapshot,http://archiva.nuxeo.org/archiva/repository/nuxeo_release</programlisting></para>198 -DarchetypeVersion=5.1.3.1 \ 199 -DremoteRepositories=http://archiva.nuxeo.org/archiva/repository/nuxeo_release</programlisting></para> 199 200 200 201 <para>You can see there are six arguments you need to supply:</para> … … 225 226 <listitem> 226 227 <para><emphasis>archetypeVersion</emphasis>: the version of the 227 archetype which is equivalent to the version of Nuxeo EP 228 (5.1-M2, 5.1-M3, 5.1.0, 5.1.2, 5.1.3, 5.1-SNAPSHOT, ...).</para> 229 </listitem> 230 231 <listitem> 232 <para><emphasis>remoteRepositories</emphasis>: the 233 repository from which download the archetype.</para> 228 archetype which is equivalent to the version of Nuxeo EP without 229 the <emphasis>GA</emphasis> or <emphasis>RC</emphasis> part. 230 (5.1.0, 5.1.2, 5.1.3, 5.1.3.1, ...).</para> 231 </listitem> 232 233 <listitem> 234 <para><emphasis>remoteRepositories</emphasis>: the repository 235 location to download the archetype.</para> 234 236 </listitem> 235 237 </itemizedlist> 236 238 </para> 239 240 <note> 241 <para>Note that for the moment we use the old maven archetype plugin (1.0-alpha-7) as the latest 2.0-alpha-1 242 is not working with remote repostories.</para> 243 </note> 244 237 245 238 246 <para>You should have the following source layout: <programlisting> doc/nuxeo-book/trunk/src/docbook/nuxeo-book.xml
r29534 r30141 8 8 9 9 <author> 10 <personname>Julien Anguenot, Eric Barroca, Beno ît Delbosc, Thierry Delprat, Damien DUPRAZ, Laurent Doguin, Alain Escaffre,10 <personname>Julien Anguenot, Eric Barroca, Benoit Delbosc, Thierry Delprat, Damien Dupraz, Laurent Doguin, Alain Escaffre, 11 11 Stefane Fermigier, Laurent Godard, Olivier Grisel, Florent Guillaume, Solen Guitter, 12 12 Jean-Marc Orliaguet, Narcis Paslaru, Georges Racinet, Thibault Soulcié, Bogdan Stefanescu,
