Hi Hilton and Dspace Team
The problem is solved after your help.
Thanks,
Lewatle
From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 07 July 2011 03:56 PM
To: Lewatle Phaladi
Subject: Re: [Dspace-tech] Maven Errors
I had the same problem. So I put the server in our DMZ. Speak to your campus IT
guys to do the same.
On 7 July 2011 15:45, Lewatle Phaladi <lewatle.phal...@wits.ac.za> wrote:
Hi
I am using version 1.6.0, and other guys have responded with positive ideas
that I have also followed even if I never responded to them I really appreciate
their time,
The thing is that other packages are downloaded easily but while process is
continuing the following packages are not downloaded from repository for some
reasons.
Please see this error.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.carrot2:carrot2-mini:jar:3.1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.dspace.modules:solr:war:1.7.0
2) org.dspace:dspace-solr:jar:classes:1.4.1.0
3) org.apache.solr:solr-clustering:jar:1.4.1
4) org.carrot2:carrot2-mini:jar:3.1.0
----------
1 required artifact is missing.
for artifact:
org.dspace.modules:solr:war:1.7.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
sonatype-nexus-snapshots
(https://oss.sonatype.org/content/repositories/snapshots)
Regards,
Lewatle
From: P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com]
Sent: 07 July 2011 12:54 PM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Errors
What Java u r using?
On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay <psmukhopadh...@gmail.com>
wrote:
hello
my settings.xml under .m2 folder (hidden folder)
<settings>
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>192.168.3.5</host>
<port>3128</port>
<nonProxyHosts>localhost,*.example.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
On 7/6/11, Lewatle Phaladi <lewatle.phal...@wits.ac.za> 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: dspace-tech@lists.sourceforge.net
> 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
>
>
> <html><p><font face = "verdana" size = "0.8" color = "navy">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.</font></p></html>
--
-----------------------------------------------------------------------
Dr. Parthasarathi Mukhopadhyay
Assistant Professor, Department of Library and Information Science,
University of Burdwan,
Burdwan - 713 104 (WB), India
-----------------------------------------------------------------------
--
-----------------------------------------------------------------------
Dr. Parthasarathi Mukhopadhyay
Assistant Professor, Department of Library and Information Science, University
of Burdwan,
Burdwan - 713 104 (WB), India
-----------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Cell: +27 846 464 758 | Phone: +27 21 808 4100
<html><p><font face = "verdana" size = "0.8" color = "navy">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.</font></p></html>
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech