Thanks for the report, Paul. You're right, the POM in addons is outdated, we have to look into it.
The submodule that fail can probably be commented out form the parent POM, in the meantime. Sorry for the inconvenience. We'll fix this tomorrow. S. On Jan 18, 2011, at 8:30 PM, Paul P. Kabore wrote: > I think the pom.xml in the addons directory is outdated. > nuxeo-platform-categorization-language is not in > nuxeo-platform-categorization/ but in the addons root directroy. I made the > necessary corrections and now got the following errors: > > Caused by: org.apache.maven.project.ProjectBuildingException: POM > 'org.nuxeo.ecm.platform:nuxeo-platform-categorization' not found in > repository: Unable to download the artifact from any repository > > org.nuxeo.ecm.platform:nuxeo-platform-categorization:pom:5.3.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > for project org.nuxeo.ecm.platform:nuxeo-platform-categorization > at > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605) > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392) > ... 19 more > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > Unable to download the artifact from any repository > > org.nuxeo.ecm.platform:nuxeo-platform-categorization:pom:5.3.1-SNAPSHOT > > I just checked out the code, and the addons seem for version 5.3. > > From: [email protected] > To: [email protected] > Date: Tue, 18 Jan 2011 11:01:22 -0800 > Subject: [Ecm] Building Nuxeo DM fails > > > Hello, > > I checked out nuxeo source code and want to build nuxeo dm. I did the > following: > 1- mvn eclipse:eclipse : a lot of artifacts were downloaded and the build > was successfull > 2- mvn install -Dmaven.test.skip=true : some more artifacts were downloaded > + pom files and the build was successfull > 3- cd addons ; mvn install -Dmaven.test.skip=true : the build failed with > the following stack trace: > > [INFO] Scanning for projects... > [INFO] snapshot org.nuxeo:nuxeo-ecm:5.4.1-SNAPSHOT: checking for updates from > public-snapshot > [INFO] snapshot org.nuxeo.ecm.platform:nuxeo-features-parent:5.4.1-SNAPSHOT: > checking for updates from public-snapshot > [INFO] snapshot org.nuxeo.ecm.platform:nuxeo-services-parent:5.4.1-SNAPSHOT: > checking for updates from public-snapshot > [INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-parent:5.4.1-SNAPSHOT: checking > for updates from public-snapshot > [INFO] snapshot org.nuxeo.runtime:nuxeo-runtime-parent:5.4.1-SNAPSHOT: > checking for updates from public-snapshot > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: unknown > > Reason: Could not find the model file > '/Users/kabore/devroot/nuxeo/addons/nuxeo-platform-categorization/nuxeo-platform-categorization-language'. > for project unknown > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Could not find the model > file > '/Users/kabore/devroot/nuxeo/addons/nuxeo-platform-categorization/nuxeo-platform-categorization-language'. > for project unknown > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.project.ProjectBuildingException: Could not find > the model file > '/Users/kabore/devroot/nuxeo/addons/nuxeo-platform-categorization/nuxeo-platform-categorization-language'. > for project unknown > at > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1575) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) > at > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200) > at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604) > at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487) > at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560) > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391) > ... 12 more > Caused by: java.io.FileNotFoundException: > /Users/kabore/devroot/nuxeo/addons/nuxeo-platform-categorization/nuxeo-platform-categorization-language > (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:106) > at > hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:124) > at > hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67) > at > hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:118) > at > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1570) > ... 18 more > > Where can I find the missing file. Thanks for your help. > > > --- Mailing list: [email protected] Forum: http://forum.nuxeo.org/f/1/ --- > Mailing list: [email protected] > Forum: http://forum.nuxeo.org/f/1/ -- Stefane Fermigier, Founder and Chairman, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com/ - +33 1 40 33 79 87 - http://twitter.com/sfermigier Join the Nuxeo Group on LinkedIn: http://linkedin.com/groups?gid=43314 New Nuxeo release: http://nuxeo.com/dm54 "There's no such thing as can't. You always have a choice."
--- Mailing list: [email protected] Forum: http://forum.nuxeo.org/f/1/
