[Duraspace] cannot install Maven - mvn package - for dspace setup

Reid, Lindsay LReid at ufh.ac.za
Tue Sep 15 11:54:43 SAST 2009


Hi Sean & Craig

I am still playing around with this issue... at the present moment the internet traffic is standing still which makes it practically impossible to update or install anything from the internet...

I am trying to pull of the file Craig's got on their ftp site... if the university internet cuts out I will try Vodacom G3.



>>>>I wonder if you wouldn't be better off doing that also, and defining your http proxy in an environment variable rather than in settings.xml?

As the dspace user, try:

export http_proxy="http://lreid:<your_password>@proxy.al.ufh:8080<http://lreid:%3cyour_password%3e@proxy.al.ufh:8080>"

(I think that's the correct syntax ...)>>>>

Sean please see my /etc/environment file below

  GNU nano 2.0.7                                       File: environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
ANT_HOME="/usr/share/ant"
JAVA_HOME="/usr/lib/jvm/java-6-openjdk"
CATALINA_OPTS="-server -Xms384M -Xmx512M"
JAVA_OPTS="-Djava.awt.headless=true -Xmx512M"
CATALINA_HOME="/usr/share/tomcat5.5"
CATALINA_BASE="/var/lib/tomcat5.5"
TOMCAT_HOME="/usr/share/tomcat5.5"
export http_proxy=http://lreid:******@172.20.0.7:8080


I have add this yesterday... I think it's correct...?

I have tried the mvn clean install from /home/dspace/
I have tried the mvn -U package from /home/dspace/dspace-1.5.2-release/
I have tried the mvn -e package install from /home/dspace/dspace-1.5.2=release/

still getting BUILD ERROR , BUILD FAILURE...

The download from the CSIR ftp site is almost done... and I will try and see if I can install the MAVEN PACKAGE as Craig explained...

Will keep you all posted on my progress...

Thank you to all the prompt replies...

Regards
Lindsay




From: Craig Strydom [mailto:CStrydom at csir.co.za]
Sent: 15 September 2009 10:29 AM
To: Reid, Lindsay
Subject: Re: [Duraspace] cannot install Maven - mvn package - for dspace setup

Hi Lindsay,

It sounds like a corrupt download - try 'maven -U package'. After you have downloaded mvn, save the .m2 directory somewhere as you can reuse these files for every installation.

I have put installation scripts on our external ftp server if you want to try them out.
ftp://ftp.csir.co.za/SS/ICT/CStrydom/dspace-install/dspace-install-110909.tar.gz

Its size is about 38Mb and you will find a rudimentary howto guide when you extract it.
I found it works best on a new server installation with user 'dspace' configured as first user.

Let me know if you have any trouble.

Regards,
Craig.


>>>
From:

"Reid, Lindsay" <LReid at ufh.ac.za>

To:

"duraspace at moo.sun.ac.za" <duraspace at moo.sun.ac.za>

Date:

09/15/09 10:08 AM

Subject:

[Duraspace] cannot install Maven -  mvn package - for dspace setup

Dear DSpace Colleagues

Can anyone advise me on what to do or how to rectify the below MAVEN install issue I am experiencing please...?

Thank you in advance for your reply...

Regards

Lindsay Reid, Library Systems Manager
University of Fort Hare Library
Alice
040 602 2275 (w)
086 628 6703 (fax)




From: Lindsay Reid [mailto:lindsayfreid at gmail.com]
Sent: 15 September 2009 08:26 AM
To: Reid, Lindsay
Subject:

dspace at UFH-DSpace:~/dspace-1.5.2-src-release$ pwd
/home/dspace/dspace-1.5.2-src-release
dspace at UFH-DSpace:~/dspace-1.5.2-src-release$ mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace Parent Project
[INFO]   DSpace Kernel :: API and Implementation
[INFO]   DSpace JSP-UI
[INFO]   DSpace JSP-UI :: API and Implementation
[INFO]   DSpace JSP-UI :: Web Application Resources
[INFO]   DSpace XML-UI (Manakin)
[INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
[INFO]   DSpace LNI
[INFO]   DSpace LNI :: Core Implementation
[INFO]   DSpace LNI :: Web Application Resources
[INFO]   DSpace LNI :: CLI Client Application
[INFO]   DSpace OAI
[INFO]   DSpace OAI :: API and Implementation
[INFO]   DSpace OAI :: Web Application Resources
[INFO]   DSpace SWORD
[INFO]   DSpace SWORD :: API and Implementation
[INFO]   DSpace SWORD :: Web Application Resources
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace Assembly and Configuration
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Parent Project
[INFO]    task-segment: [package, install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Sep 15 10:12:20 SAST 2009
[INFO] Final Memory: 4M/76M
[INFO] ------------------------------------------------------------------------
dspace at UFH-DSpace:~/dspace-1.5.2-src-release$<mailto:dspace at UFH-DSpace:~/dspace-1.5.2-src-release$>

Also see my *settings.xml*

  GNU nano 2.0.7                                 File: /home/dspace/.m2/settings.xml

<settings>
  .
  .
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.al.ufh</host>
      <port>8080</port>
      <username>lreid</username>
      <password>*********</password>
      <nonProxyHosts></nonProxyHosts>
    </proxy>
  </proxies>
  .
  .
</settings>




The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further: http://www.ufh.ac.za/disclaimer/


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>,
and is believed to be clean. MailScanner thanks Transtec Computers<http://www.transtec.co.uk/> for their support.



The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lib.sun.ac.za/pipermail/duraspace/attachments/20090915/1ee07173/attachment.html>


More information about the Duraspace mailing list