One thing i have forgotten is my maven settings.xml the diffrence between the one in the nuxeo_book is <enabled>true</enabled> So you enable all entries.
<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>true</enabled> </snapshots> </repository> <repository> <id>external_snapshot</id> <url>http://archiva.nuxeo.org/archiva/repository/external_snapshot</url> <releases> <enabled>true</enabled> </releases> </repository> <repository> <id>nuxeo_release</id> <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_release</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>nuxeo_snapshot</id> <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot</url> <releases> <enabled>true</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>true</enabled> </releases> </pluginRepository> <pluginRepository> <id>nuxeo_release</id> <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_release</url> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>nuxeo_snapshot</id> <url>http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot</url> <releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>Nuxeo</activeProfile> </activeProfiles> </settings> Cédric Joyau schrieb: > 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 > > > On 9/5/07, Christian Werner <[EMAIL PROTECTED]> wrote: > >> Hi, >> i've tried make a clean Nuxeo-Ep project to play with. But maven gives >> always some errors. >> So what ist the best failsafe way to get an eclipse project with no errors >> ? >> >> What ist the maven archetype for the 5.1 with Bugfixes? 5.1-SNAPSHOT or >> 5.1-GA? >> >> Before this steps i installed a jdk ant and maven with the settings.xml >> out of the nuxeo_book.pdf >> >> 1. Checkout Nuxeo-ep with Subclipse. Then ant patch for an jboss 4.0.5 >> then ant deploy >> 2. Like in the Nuxeo Book. >> mvn archetype:create -DartifactId=indubis-nx >> -DgroupId=de.inducad.indubis-nx >> -DarchetypeArtifactId=nuxeo-archetype-simple >> -DarchetypeGroupId=org.nuxeo.archetypes >> -DarchetypeVersion=5.1-SNAPSHOT -f dummy.xml >> >> mvn install >> mvn -Declipse.workspace=/the/path/to/your/workspace >> eclipse:add-maven-repo >> mvn eclipse:eclipse >> then in Eclipse File > Import > General > Existing Projects Into >> Workspace >> >> How do i use the fixerrors and checkstyle XML? >> >> So this is a bunch of questions... Thanks a lot for any answer! >> >> Greetings >> Christian >> _______________________________________________ >> ECM mailing list >> [email protected] >> http://lists.nuxeo.com/mailman/listinfo/ecm >> >> > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.485 / Virus Database: 269.13.3/986 - Release Date: 03.09.2007 > 09:31 > _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
