[Building Sakai] trouble building on widows vista x86 with latest jdk and maven 2.0

ganesh th3iedkid at gmail.com
Thu Mar 18 14:47:20 PDT 2010


Hi,
As and when i run the mvn -Pcafe clean install in the <sakai_src> directory
i receive the following error
***********************************************************************************************************************************************************************
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.sakaiproject.content:sakai-content-tool
POM Location:
E:\sakai\sakai-builds\opt\trunk\content\content-tool\tool\pom.xml
Validation Messages:

    [0]  'dependencies.dependency.version' is missing for
org.sakaiproject.content:content-bundles:jar


Reason: Failed to validate POM for project
org.sakaiproject.content:sakai-content-tool at
E:\sakai\sakai-builds\opt\trunk\content\content-tool\tool\pom.xml


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for
project org.sakaiproject.content:sakai-content-tool at
E:\sakai\sakai-builds\opt\trunk\content\content-tool\tool\pom.xml
    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.InvalidProjectModelException: Failed to
validate POM for project org.sakaiproject.content:sakai-content-tool at
E:\sakai\sakai-builds\opt\trunk\content\content-tool\tool\pom.xml
    at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
    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.collectProjects(DefaultMaven.java:560)
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
    ... 12 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Mar 18 23:59:41 IST 2010
[INFO] Final Memory: 4M/254M
[INFO]
------------------------------------------------------------------------

***********************************************************************************************************************************************************************

I tried to see the pom.xml inside the directory which seems to have no
corresponding version tags, am new to both maven and sakai , my svn trunk is
with the latest files , please do suggest where am possibly going wrong
As for the maven settings , i have followed all the requisite instructions ,
also as am behind a proxy and i have edited the setting.xml adding it too!
thanks and regards
ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100319/4416c9e2/attachment.html 


More information about the sakai-dev mailing list