Changeset 30141

Show
Ignore:
Timestamp:
02/13/08 17:14:42 (9 months ago)
Author:
bdelbosc
Message:

the new plugin maven-archetype 2.0-alpha-1 does not work anymore with remoteResitories and have other regressions http://jira.codehaus.org/browse/ARCHETYPE-117, add a workaroud by passing the plugin version in the command line. nuxeo-archetype-simple is available only for released version of nuxeo ep. cosmit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/nuxeo-book/trunk/src/docbook/getting-started/index.xml

    r29524 r30141  
    191191        <para>To create a project named <varname>my-project</varname> in the 
    192192        <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 \ 
    194195    -DgroupId=com.company.sandbox  \ 
    195196    -DarchetypeArtifactId=nuxeo-archetype-simple   \ 
    196197    -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> 
    199200 
    200201        <para>You can see there are six arguments you need to supply:</para> 
     
    225226            <listitem> 
    226227              <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> 
    234236            </listitem> 
    235237          </itemizedlist> 
    236238        </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 
    237245 
    238246        <para>You should have the following source layout: <programlisting> 
  • doc/nuxeo-book/trunk/src/docbook/nuxeo-book.xml

    r29534 r30141  
    88 
    99    <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, 
    1111        Stefane Fermigier, Laurent Godard, Olivier Grisel, Florent Guillaume, Solen Guitter, 
    1212        Jean-Marc Orliaguet, Narcis Paslaru, Georges Racinet, Thibault Soulcié, Bogdan Stefanescu,