Hi,

You got this error because maven don't know where are our repositories : do you have a ~/.m2/settings.xml.
Did you follow the point 3.2.1.2) Maven settings ?
If not, create it and paste in ~/.m2/settings.xml :
<settings>

  <profiles>
    <profile>
      <id>Nuxeo</id>

      <properties>
        <downloadSources>true</downloadSources>
      </properties>

      <repositories>
        <repository>
          <id>central_proxy</id>
          <url>http://archiva.nuxeo.org/archiva/repository/central</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>external_snapshot</id>
          <url>http://archiva.nuxeo.org/archiva/repository/external_snapshot</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
        <repository>
          <id>nuxeo_release</id>
          <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_release</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>nuxeo_snapshot</id>
          <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central_proxy</id>
          <url>http://archiva.nuxeo.org/archiva/repository/central</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>external_snapshot</id>
          <url>http://archiva.nuxeo.org/archiva/repository/external_snapshot</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
        <pluginRepository>
          <id>nuxeo_release</id>
          <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_release</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>nuxeo_snapshot</id>
          <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>

    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>Nuxeo</activeProfile>
  </activeProfiles>

</settings>


Cdlt,
Julien.

Cédric Joyau a écrit :
I can't manage to create a sample project following the steps of the nuxeo book either :
 
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.nuxeo.archetypes
ArtifactId: nuxeo-archetype-simple
Version: 5.1-SNAPSHOT
 
Reason: Unable to download the artifact from any repository
 
  org.nuxeo.archetypes:nuxeo-archetype-simple:jar:5.1-SNAPSHOT
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 
Has anyone got an idea ?
 
--
Cédric


-- 
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - http://www.nuxeo.org/
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to