Hi Gary:
You can find the maven-site-plugin in the following URL:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/
<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/>
Download the directory 2.06beta and the file maven-metadata-central.xml into
this directory:
/home/dspace/.m2/repository/org/apache/maven/plugins/maven-site-plugin/
And then run 'mvn package'
I had problems with missing classes, when I tried to ran the command:
create-administrator
I had to download every missing class, and include them into CLASSPATH
variable.
So what I did:
- Include the following directory in the CLASSPATH:
[dspace-dir]/dspace-api/target/classes
- I downloaded the following classes, and included them into CLASSPATH:
apache-log4j-1.2.15
commons-cli-1.1
commons-pool-1.3
commons-dbcp-1.2.2
postgresql-8.1-412.jdbc3
JavaMail API 1.4.1
I hope that helps you.
Regards,
Alvaro
_____
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Gary Browne
Enviado el: Domingo, 13 de Abril de 2008 22:22
Para: dspace-tech
Asunto: 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
-------------------------------------------------------------------------
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