Lewatle,

A few ideas:

(1) Is your proxy information in the ~/.m2/settings.xml file? (You had 
said it was a "server.xml" file).  For an example of configuring a Maven 
proxy, see our installation docs at:
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29

(2) What version of Maven are you using?

Please note that building DSpace 1.7.2 currently requires Maven 2.2.x. 
Earlier or later versions of Maven may cause issues.  Again, see the 
install docs above.

(3) If you are running the proper version of Maven, you also may try to 
refresh your local maven cache by running the following.  This will just 
force your maven cache to refresh itself (in case something got messed 
up in your cache)

mvn -U clean package


(4) If none of this helps, then please re-run Maven using the '-e' 
(errors) flag, and send us the errors that it reports.  For example,

mvn -e package

Thanks,

- Tim

On 7/6/2011 7:52 AM, Lewatle Phaladi wrote:
> Hi
>
> In addition to what I have sent, here is part of server.xml file in maven,
>
> <proxy>
>
> <id>Optional</id>
>
> <active>true</active>
>
> <protocol>http</protocol>
>
> <host>ourproxy.wits.ac.za</host>
>
> <port>80</port>
>
> <username>myusername</username>
>
> <password>mypassword</password>
>
> <nonProxyHosts></nonProxyHosts>
>
> </proxy>
>
> Your input is appreciated.
>
> Regards,
>
> Lewatle
>
> *From:*Lewatle Phaladi
> *Sent:* 06 July 2011 02:06 PM
> *To:* [email protected]
> *Subject:* Maven Errors
>
> Hi All
>
> I am installing dspace1.7.2 and I have this errors, can anyone give me
> idea with this errors.
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 13:10.929s
>
> [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011
>
> [INFO] Final Memory: 32M/60M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal on project solr: Could not resolve
> dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
> collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
> (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
> org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
> (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
> descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
> artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
> (http://download.carrot2.org/maven2/): Error transferring file: Server
> redirected too many times (20) -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR] mvn <goals> -rf :solr
>
> I have setup server.xml file in maven for proxy but I still receive this.
>
> Regards,
>
> Lewatle
>
> This communication is intended for the addressee only. It is
> confidential. If you have received this communication in error, please
> notify us immediately and destroy the original message. You may not copy
> or disseminate this communication without the permission of the
> University. Only authorized signatories are competent to enter into
> agreements on behalf of the University and recipients are thus advised
> that the content of this message may not be legally binding on the
> University and may contain the personal views and opinions of the
> author, which are not necessarily the views and opinions of The
> University of the Witwatersrand, Johannesburg. All agreements between
> the University and outsiders are subject to South African Law unless the
> University agrees in writing to the contrary.
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to