I was using Maven 2.0.7, i rolled back to 2.0.6 and it's fine. The project
structure is created, but there's a bunch of warnings and 1 error left. Is
it a configuration issue on my side ?

[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 83,column 16] : ${
nuxeo-ecm-core.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 88,column 16] : ${
nuxeo-ecm.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 93,column 16] : ${
nuxeo-ecm.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 101,column 16] : ${
jboss.version} is not a valid reference.
[INFO] ********************* End of debug info from resources from generated
POM ***********************
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 21,column 38] :
${jboss.home} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 21,column 59] :
${jboss.config} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 50,column 18] :
${deploy.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 50,column 32] :
${nuxeo.ear} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 51,column 17] :
${build.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 51,column 30] :
${name} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 57,column 18] :
${deploy.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 57,column 32] :
${nuxeo.ear} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/OSGI-INF/deployment-fragment.xml[line
8,column 13] : ${
bundle.fileName} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/OSGI-INF/deployment-fragment.xml[line
16,column 18] : ${
bundle.fileName} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/OSGI-INF/deployment-fragment.xml[line
25,column 18] : ${
bundle.fileName} is not a valid reference.
[ERROR] ResourceManager : unable to find resource
'archetype-resources/src/main/resources/directories/sample_languages.sql' in
any resource loader.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: Error merging velocity templates
Unable to find resource
'archetype-resources/src/main/resources/directories/sample_languages.sql'
--
Cédric


On 9/5/07, Cédric Joyau <[EMAIL PROTECTED]> wrote:
>
> My settings are set correctly, i don't get it. I'll try on another machine
> and see if it works.
>
> --
> Cédric
>
>
> On 9/5/07, Julien CARSIQUE <[EMAIL PROTECTED]> wrote:
> >
> > 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 
> > Platformhttp://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