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

Sean Carte sean.carte at gmail.com
Tue Sep 15 10:23:30 SAST 2009


2009/9/15 Sean Carte <sean.carte at gmail.com>:
> 2009/9/15 Reid, Lindsay <LReid at ufh.ac.za>:
> ----------------------------------------------------
>> [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]

Another thing you could try is:

mvn clean install.

Run this from the top level of your dspace-src directory.

But I suspect you'll still have problems.

This thread from the dspace-tech list
<http://www.nabble.com/Failed-mvn-package-td16626440.html#a16626440>
suggests running the following command to download fresh copies from
the repository:

maven -U package

But it looks like that didn't help the OP in that thread. What looks
liked it did work is deleting the ~/.m2 directory.

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"

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

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/



More information about the Duraspace mailing list