you need to run mvn package from inside the dspace subdirectory
> dsp...@zimtheses dspace-1.5.2-release$ mvn package
dsp...@zimtheses dspace-1.5.2-release/dspace$ mvn package
hope this help,
Andrea

Mutsikiwa Admire ha scritto:
>
> I am trying to install  DSpace release 1.5.2. I am running Fedora 8
> and using the following package:
>
>  
>
> java version "1.6.0_06"
>
> Apache Ant version 1.7.1
>
> Maven version: 2.0.9
>
>  I have set everthing well as my installation of dspace 1.4.1 is
> running smoothly.
>
>  
>
> I am behind a firewall. I have set the proxy setting in
> /etc/maven/settings.xml as directed on
> http://maven.apache.org/guides/mini/guide-proxies.html . I have gone a
> step further and set the proxy settings in
> /home/dspace/.m2/settings.xml. However, when, as user dspace, I run :
>
> $ mvn package I am getting the following error.
>
>  
>
> dsp...@zimtheses dspace-1.5.2-release$ mvn package
>
> [INFO] Scanning for projects...
>
> [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
> '/dspace-1.5.2-release/dspace-api'. for project unknown
>
>  
>
>  
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Trace
>
> org.apache.maven.reactor.MavenExecutionException: Could not find the
> model file '/dspace-1.5.2-release/dspace-api'. for project unknown
>
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
>
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>
>         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 '/dspace-1.5.2-release/dspace-api'. for
> project unknown
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1557)
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:504)
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
>
>         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
>
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
>
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>
>         ... 11 more
>
> Caused by: java.io.FileNotFoundException:
> /dspace-1.5.2-release/dspace-api (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:123)
>
>         at
> hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
>
>         at
> hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1552)
>
>         ... 17 more
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: < 1 second
>
> [INFO] Finished at: Tue Jun 23 10:14:23 CAT 2009
>
> [INFO] Final Memory: 1M/4M
>
> [INFO]
> ------------------------------------------------------------------------
>
>  
>
>  
>
> I will appreciate any help as I want to be on the latest stable release.
>
> Kind Regards,
>
>  
>
> Admire Mutsikiwa (Mr)
>
> ICT Projects Manager
>
> Library IT
>
> University of Zimbabwe
>
> Tell:+263-4-303276
>
> Cell:+263-92239187
>
> Alt/email:amutsik...@gmail.com
>
>  
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> ------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   


-- 
Dott. Andrea Bollini
Project Manager, IT Architect & Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525

---

Disclaimer: the content of this email is confidential and may be privileged, 
and it must not be disclosed or copied without the sender's consent. If you 
have received this message in error, please notify the sender and remove it 
from your system. The content of this email does not constitute legal advice, 
nor any responsibility is accepted for loss or damage incurred as a result of 
acting upon its contents or attachments. 
The statements and opinions expressed in this email are those of the author and 
do not necessarily reflect those of the employer.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to