Hi Stuart
Yep, got one of those settings.xml files - tried it in ~/.m2/ and ~/.m2/conf
(as suggested by Lucia).
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>www-cache.usyd.edu.au</host>
<port>8080</port>
</proxy>
</proxies>
</settings>
I tried turning stacktrace on, please see attached file for output.
I'm using Maven 2.0.8.
Thanks
Gary
Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Lewis
Sent: Monday, 14 April 2008 3:48 PM
To: dspace-tech
Subject: Re: [Dspace-tech] Failed mvn package
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
mvn -e package
+ Error stacktraces are turned on.
[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] ------------------------------------------------------------------------
[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] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version
could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The
plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid
version could be found
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:229)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:167)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Apr 14 16:11:42 EST 2008
[INFO] Final Memory: 6M/14M
[INFO] ------------------------------------------------------------------------
-------------------------------------------------------------------------
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