Hi,

Strange, two things to check :
  • there is no settings.xml in nuxeo-platform-ear, did you add it yourself ? Simple way is to copy the settings.xml into your ~/.m2/ directory
  • could you first run an "mvn install -X" ? Send us the errors logs in case of.

Dhanasekar T a écrit :
Hi,
 
  
I checked-out ear project as follows :
 
 
Then i tried to build it using maven as follows:
 
mvn -Dnuxeo.ear.assembly=nuxeo-core -Dorg.apache.maven.user-settings=settings.xml package
mvn -Dnuxeo.ear.assembly=nuxeo-indexing -Dorg.apache.maven.user-settings=settings.xml package
mvn -Dnuxeo.ear.assembly=nuxeo-webplatform -Dorg.apache.maven.user-settings=settings.xml package
 
 
Build fails, getting the below error:
 
   [ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.nuxeo.ecm.platform
ArtifactId: nuxeo-platform-parent
Version: 5.2-SNAPSHOT
Reason: Unable to download the artifact from any repository
  org.nuxeo.ecm.platform:nuxeo-platform-parent:pom:5.2-SNAPSHOT

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.nuxeo.ecm.platform:nuxeo-platform-parent for project: null:nuxeo-platform-ear:pom:null for project null:nuxeo-platform-ear:pom:null
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
        at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:289)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        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:585)
        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: Cannot find parent: org.nuxeo.ecm.platform:nuxeo-platform-parent for project: null:nuxeo-platform-ear:pom:null for project null:nuxeo-platform-ear:pom:null
Can anyone of you help me how to solve this problem..

regards,
Dhanasekar.T
 
On Jan 4, 2008 12:14 PM, Carlos_Informatica La Reina <[EMAIL PROTECTED]> wrote:
If you have installed SVN, is it in your PATH?
 
I run in Windows too and works well.
 
Check you have a *checkout* version of nuxeo, not an *exported* version.
 
Carlos.
----- Original Message -----
Sent: Thursday, January 03, 2008 1:35 PM
Subject: [Ecm] POC

Hi,

NOTE: Iam using windows. Not Linux 

For build nuxeo into multiple stacks i take the module from this url as per ur mail http://svn.nuxeo.org/nuxeo/org.nuxeo.ecm.platform/trunk/nuxeo-platform-ear
and Run "./org.nuxeo.ecm.platform/nuxeo-platform-ear/package.sh help" as a bat file.
i got this error
build nuxeo into multiple stacks

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch

Then i use mvn install i got this error

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo EP EAR
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
Provider message:
The svn command failed.
Command output:
'svn' is not recognized as an internal or external command,
operable program or batch file.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot get the revision information from the scm repository :
Error!

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
Error!
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java :480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java :282)
        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:585)
        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.plugin.MojoExecutionException : Cannot get the revision information from the scm repository :
Error!
        at org.codehaus.mojo.build.BuildMojo.getRevision(BuildMojo.java:502)
        at org.codehaus.mojo.build.BuildMojo.execute(BuildMojo.java :377)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.maven.scm.ScmException: Error!
        at org.codehaus.mojo.build.BuildMojo.checkResult(BuildMojo.java:595)
        at org.codehaus.mojo.build.BuildMojo.getRevision(BuildMojo.java :496)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Jan 03 18:03:01 GMT+05:30 2008
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------

Could anybody tell me how to solve this problem? and how to run the app?
 
 
Regards,
Dhanasekar.T


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm



-- 
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 / +33 6 09 06 38 03


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to