Hi Hamish / Gary,
Once the everything is downloaded it should be in its correct place and you
don¹t need to move anything.
Are you behind a web proxy? If so, do you have something similar to this in
your settings.xml file? (Either stored centrally of in ~/.m2/settings.xml):
<settings>
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>wwwcache.example.com</host>
<port>8080</port>
<nonProxyHosts>localhost,*.example.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
Using mvn's -e flag might help give a better error message. What version of
maven are you using?
Thanks,
Stuart
_________________________________________________________________
Gwasanaethau Gwybodaeth Information Services
Prifysgol Aberystwyth Aberystwyth University
E-bost / E-mail: [EMAIL PROTECTED]
Ffon / Tel: (01970) 622860
_________________________________________________________________
On 14/04/2008 04:02, "Brett, Hamish" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am getting the folllowing output and error. If I was to download the
> 'maven-site-plugin' manually where do it I do this and where do I put it.
>
> Thanks
>
> Hamish
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [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 Addon Modules
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from central
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
> repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [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: Mon Apr 14 12:26:52 CST 2008
> [INFO] Final Memory: 1M/3M
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gary Browne
> Sent: Monday, 14 April 2008 11:52 AM
> To: dspace-tech
> Subject: Re: [Dspace-tech] Failed mvn package
>
> Hi Lucia/Alvaro,
>
> Thanks for your replies. Lucia:
>
> Gary,
>
> I've had the same error and I've fixed it like this:
>
> 1.- Specify proxies in settings.xml at <maven>/conf directory.
>
> 2.- Execute 'maven -U package' in order of getting the last revision of each
> package.
>
> I hope this helps you.
>
>
>
> I tried this and unfortunately it didn't work.
>
> Alvaro, could you (or someone on the list) perhaps give a little more detail
> on what needs to be setup with maven as far as loading plugins ie: where to
> get them, what to get, what to put where once you have downloaded them, etc.
>
> Any help would be most appreciated.
>
> Thanks
>
> Gary
>
>
>
>
> Gary Browne
> Development Programmer
> Library IT Services
> University of Sydney
> ph: 9351-5946
>
>
>>
>>
>>
>> From: Sandoval, Alvaro [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, 12 April 2008 12:02 AM
>> To: Gary Browne
>> Subject: RE: [Dspace-tech] Failed mvn package
>>
>>
>>
>>
>>
>> Gary:
>>
>>
>>
>> I had the same error.
>>
>> I fixed downloading the specified plugin from the repository into the local
>> repository. Then ran mvn package¹ again, and everything went perfect.
>>
>>
>>
>> Regards,
>>
>> Alvaro
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> De: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] En nombre de Gary Browne
>> Enviado el: Viernes, 11 de Abril de 2008 3:15
>> Para: dspace-tech
>> Asunto: [Dspace-tech] Failed mvn package
>>
>>
>>
>>
>>
>> Hi people
>>
>>
>>
>>
>>
>>
>>
>> I'm trying to install 1.5. When I do a mvn package, i get the following:
>>
>>
>>
>>
>>
>>
>>
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
>> exist or no valid version could be found
>>
>>
>>
>> The first time I tried it, there was something about being blacklisted.
>> Woah, that's pretty heavy, man. I mean I'm just trying to install dspace.
>> Really, I'm a nice guy.
>>
>>
>>
>>
>>
>>
>>
>> I've done a search on google and all I could find were pointers to problems
>> with proxy configuration. I tried setting up a settings.xml file under
>> user_home/.mvn to no avail.
>>
>>
>>
>>
>>
>>
>>
>> Anyone else had this problem? Any hints?
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>> Gary
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Gary Browne
>> Development Programmer
>> Library IT Services
>> University of Sydney
>>
>> ph: 9351-5946
>>
>>
>>
>>
> IMPORTANT: This email remains the property of the Australian Defence
> Organisation and is subject to the jurisdiction of section 70 of the CRIMES
> ACT 1914. If you have received this email in error, you are requested to
> contact the sender and delete the email.
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech