Hi! We just tried to install DSpace 1.5.2, so we installed maven 2.1.0 and configured its proxy. Alas! We got *exactly* the same problem as Lebohang (with the same mysterious maven-site-plugin file)!
I wondered if the maven repository was corrupted/misconfigured, as we could get the pom file from a browser! But the fact that someone else has exactly the same problem could point out a maven problem with DSpace (or more general to Maven). I don't like to work around a bug. -- François On Fri, Jun 19, 2009 at 2:12 AM, Gary Browne<g.bro...@library.usyd.edu.au> wrote: > 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:lengoath...@gmail.com] > Sent: Thursday, 18 June 2009 5:32 PM > To: DSpace-tech@lists.sourceforge.net > 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 > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech