Hi Lebo(g/h?)ang,
 
Maven is a complete mystery to me, but here's what worked for me (some
steps may be unnecessary, I haven't tried any elimination processes
yet).
 
Firstly, it may simply be that your proxy settings have not been
configured. To do this, create a file with your proxy info like so:
 
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>put.your.proxy.address.here</host>
<port>put.your.port.number.here</port>
</proxy>
</proxies>
</settings>

And call it settings.xml. Place this into your .m2 directory.

If this doesn't help, you can manually download the
maven-site-plugin-2.0-beta-7.jar and maven-metadata.xml from here
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin
/.
 
Then from your .m2 directory, create a
repository/org/apache/maven/plugins/maven-site-plugin/ directory. Within
this, place the maven-metadata.xml renamed to maven-metadata-central.xml
and the maven-site-plugin-2.0-beta-7.jar.

I do hope this is of some assistance.

Kind regards
Gary


 
Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
 


________________________________

        From: Lebohang Lengoatha [mailto:[email protected]] 
        Sent: Thursday, 18 June 2009 5:32 PM
        To: [email protected]
        Subject: [Dspace-tech] Dspace technical assistance
        
        
        Hi all

        I am new todspace and I am installing Dspace here version 1.5.2,
following the Dspace 1.5.2 manual to install. So when generating
installation package for Dspace, it shows build error below. Can you
assist if you ever came across this error. I tried so many ways with no
success. This is the output of the command:
        # mvn package
        
        [INFO] Scanning for projects...
        [INFO] Reactor build order: 
        [INFO]   DSpace XML-UI (Manakin)
        [INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
        [INFO]   DSpace Kernel :: API and Implementation
        [INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
        [INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
        [INFO]   DSpace Addon Modules
        [INFO]   DSpace XML-UI (Manakin) :: Web Application
        [INFO]   DSpace LNI
        [INFO]   DSpace LNI :: Core Implementation
        [INFO]   DSpace LNI :: Web Application Resources
        [INFO]   DSpace LNI :: Web Application
        [INFO]   DSpace OAI
        [INFO]   DSpace OAI :: API and Implementation
        [INFO]   DSpace OAI :: Web Application Resources
        [INFO]   DSpace OAI :: Web Application
        [INFO]   DSpace JSP-UI
        [INFO]   DSpace JSP-UI :: API and Implementation
        [INFO]   DSpace JSP-UI :: Web Application Resources
        [INFO]   DSpace JSP-UI :: Web Application
        [INFO]   DSpace SWORD
        [INFO]   DSpace SWORD :: API and Implementation
        [INFO]   DSpace SWORD :: Web Application Resources
        [INFO]   DSpace SWORD :: Web Application
        [INFO]   DSpace LNI :: CLI Client Application
        [INFO]   DSpace Assembly and Configuration
        [INFO]
------------------------------------------------------------------------
        [INFO] Building DSpace XML-UI (Manakin)
        [INFO]    task-segment: [package]
        [INFO]
------------------------------------------------------------------------
        Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/
maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugi
n/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom> 
        [WARNING] Unable to get resource
'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from
repository central (http://repo1.maven.org/maven2): Error transferring
file: repo1.maven.org <http://repo1.maven.org/> 
        Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin
/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
        [WARNING] Unable to get resource
'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from
repository central (http://repo1.maven.org/maven2): Error transferring
file: repo1.maven.org <http://repo1.maven.org/> 
        [INFO]
------------------------------------------------------------------------
        [ERROR] BUILD ERROR
        [INFO]
------------------------------------------------------------------------
        [INFO] Failed to resolve artifact.
        
        GroupId: org.apache.maven.plugins
        ArtifactId: maven-site-plugin
        Version: 2.0-beta-7
        
        Reason: Unable to download the artifact from any repository
        
          org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7
        
        from the specified remote repositories:
          central (http://repo1.maven.org/maven2),
          maven.dspace.org-snapshot ( http://maven.dspace.org/snapshot)
        
        
        
        [INFO]
------------------------------------------------------------------------
        [INFO] For more information, run Maven with the -e switch
        [INFO]
------------------------------------------------------------------------
        [INFO] Total time: 1 second
        [INFO] Finished at: Wed Jun 17 08:36:52 SAST 2009
        [INFO] Final Memory: 3M/6M
        [INFO]
------------------------------------------------------------------------
        
        Any help please
         
        Thanks in advance
        Lebogang


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to