This DS-1961 issue has been fixed in the upcoming 4.2 release (likely to 
be released sometime in mid-to-late June or early July). The fix is 
available immediately on the 4.x branch in GitHub:
https://github.com/DSpace/DSpace/tree/dspace-4_x

Also, to be clear, this issue doesn't seem to affect everyone. Many 
locations have no issues with the current build..but others see these 
build errors.

If it is still affecting you, you could also manually make the change 
(it's a single character change -- you just change a URL from HTTP to 
HTTPS in the main pom.xml). The change details are at:

https://github.com/DSpace/DSpace/pull/542/files

In fact, you may want to test making that change, just to be certain it 
will fix the problem for you. Your particular error also sounds similar 
to https://jira.duraspace.org/browse/DS-1971 (but in DS-1971, we've 
never seen the entire build *fail*...it just displays a warning message).

- Tim

On 6/3/2014 7:13 AM, Hilton Gibson wrote:
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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

Reply via email to