Dear Hilton,
Is the error also happens on 4.0 ?
Regards,
Lewatle
From: Hilton Gibson [mailto:[email protected]]
Sent: 03 June 2014 02:13 PM
To: Lewatle Phaladi
Cc: [email protected]
Subject: Re: [Dspace-tech] Build Failure running maven
Hi Lewatli
This error is due to: https://jira.duraspace.org/browse/DS-1961 and
https://github.com/DSpace/DSpace/pull/542
Not sure if this has been fixed for 4.1 yet.
Cheers
hg
Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson
On 3 June 2014 13:58, Lewatle Phaladi
<[email protected]<mailto:[email protected]>> wrote:
Hi All,
Loading the URL
http://oss.sonatype.org/content/repositories/releases/gr/ekt/bte/bte-core/0.9.2.3-SNAPSHOT/bte-core-0.9.2.3-SNAPSHOT.pom
in a normal browser results in the error message below. Anyone knowing if the
repository is moved or anything could you advise or any suggestion resolving
this issue.
########################################
404 - Retrieval of
/gr/ekt/bte/bte-core/0.9.2.3-SNAPSHOT/bte-core-0.9.2.3-SNAPSHOT.pom from
M2Repository(id=releases) is forbidden by repository policy RELEASE.
Retrieval of
/gr/ekt/bte/bte-core/0.9.2.3-SNAPSHOT/bte-core-0.9.2.3-SNAPSHOT.pom from
M2Repository(id=releases) is forbidden by repository policy RELEASE.
########################################
From: Lewatle Phaladi
Sent: 03 June 2014 12:06 PM
To: [email protected]<mailto:[email protected]>
Subject: Build Failure running maven
Dear All,
I have got build failure while running $ mvn –U clean package, I have
downloaded and unpacked dspace set installation directory and do other settings
in dspace.cfg, I am installing dspace4.1 I have executed the command under path
[dspace-source] , bellow is the error I have received.
Downloading:
https://oss.sonatype.org/content/repositories/snapshots/gr/ekt/bte/bte-core/0.9.2.3-SNAPSHOT/bte-core-0.9.2.3-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [33.366s]
[INFO] DSpace Services Framework :: API and Implementation SUCCESS [55.550s]
[INFO] DSpace Kernel :: API and Implementation ........... FAILURE [47.057s]
[INFO] DSpace Addon Modules .............................. SKIPPED
[INFO] DSpace Kernel :: Additions and Local Customizations SKIPPED
[INFO] DSpace XML-UI (Manakin) ........................... SKIPPED
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
[INFO] DSpace LNI ........................................ SKIPPED
[INFO] DSpace LNI :: Local Customizations ................ SKIPPED
[INFO] DSpace JSP-UI ..................................... SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
[INFO] DSpace RESTful web services API ................... SKIPPED
[INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations SKIPPED
[INFO] DSpace SWORD ...................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations .............. SKIPPED
[INFO] DSpace SWORD v2 ................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED
[INFO] Apache Solr Webapp ................................ SKIPPED
[INFO] DSpace SOLR :: Local Customizations ............... SKIPPED
[INFO] DSpace OAI 2.0 .................................... SKIPPED
[INFO] DSpace OAI 2.0 :: Local Customizations ............ SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] DSpace LNI :: CLI Client Application .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:18.044s
[INFO] Finished at: Tue Jun 03 11:57:33 SAST 2014
[INFO] Final Memory: 26M/152M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dspace-api: Could not resolve
dependencies for project org.dspace:dspace-api:jar:4.1: Failed to collect
dependencies at gr.ekt.bte:bte-io:jar:0.9.2.3 ->
gr.ekt.bte:bte-core:jar:0.9.2.3-SNAPSHOT: Failed to read artifact descriptor
for gr.ekt.bte:bte-core:jar:0.9.2.3-SNAPSHOT: Could not transfer artifact
gr.ekt.bte:bte-core:pom:0.9.2.3-SNAPSHOT from/to sonatype-releases
(http://oss.sonatype.org/content/repositories/releases/): Access denied to:
http://oss.sonatype.org/content/repositories/releases/gr/ekt/bte/bte-core/0.9.2.3-SNAPSHOT/bte-core-0.9.2.3-SNAPSHOT.pom
, ReasonPhrase:Forbidden. -> [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 :dspace-api
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 authorised
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.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="width:100%;">
<tr>
<td align="left" style="text-align:justify;"><font face="arial,sans-serif"
size="1" color="#999999"><span style="font-size:11px;">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 authorised 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. </span></font></td>
</tr>
</table>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette