Hi Hilton,
I have executed the command and got the following results :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [1.194s]
[INFO] DSpace Addon Modules .............................. SUCCESS [0.120s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [5.770s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [8.519s]
[INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [6.369s]
[INFO] DSpace RDF :: Local Customizations ................ SUCCESS [11.593s]
[INFO] DSpace REST :: Local Customizations ............... SUCCESS [12.245s]
[INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [6.545s]
[INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [6.572s]
[INFO] DSpace SOLR :: Local Customizations ............... FAILURE [1.059s]
[INFO] DSpace OAI-PMH :: Local Customizations ............ SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00.764s
[INFO] Finished at: Wed Mar 18 12:01:24 SAST 2015
[INFO] Final Memory: 43M/385M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project solr: Could not resolve dependencies
for project org.dspace.modules:solr:war:5.1: Failed to collect dependencies for
[org.dspace:dspace-solr:war:skinny:5.1 (compile),
org.dspace:dspace-solr:jar:classes:5.1 (compile),
org.apache.solr:solr-analysis-extras:jar:4.10.2 (compile),
com.ibm.icu:icu4j:jar:51.1 (compile),
org.apache.lucene:lucene-analyzers-icu:jar:4.10.2 (compile),
org.apache.lucene:lucene-analyzers-smartcn:jar:4.10.2 (compile),
org.apache.lucene:lucene-analyzers-stempel:jar:4.10.2 (compile),
xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact descriptor for
org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer artifact
org.restlet.jee:org.restlet:pom:2.1.1 from/to sonatype-releases
(https://oss.sonatype.org/content/repositories/releases/): Access denied to:
https://oss.sonatype.org/content/repositories/releases/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.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 :solr
Regards,
Lewatle
From: Hilton Gibson [mailto:[email protected]]
Sent: 18 March 2015 12:00 PM
To: Lewatle Phaladi
Cc: [email protected]
Subject: Re: [Dspace-tech] Error running mvn package
Hi Lewatle
Perhaps you need to run it as follows:
mvn -U clean package
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace
Cheers
hg
Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
On 18 March 2015 at 11:04, Lewatle Phaladi
<[email protected]<mailto:[email protected]>> wrote:
Hi All,
I am getting the following error running : $ mvn package , any idea much
appreciated.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [1.847s]
[INFO] DSpace Addon Modules .............................. SUCCESS [0.107s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [5.235s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [13.125s]
[INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [10.780s]
[INFO] DSpace RDF :: Local Customizations ................ SUCCESS [7.483s]
[INFO] DSpace REST :: Local Customizations ............... SUCCESS [9.042s]
[INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [6.694s]
[INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [8.175s]
[INFO] DSpace SOLR :: Local Customizations ............... FAILURE [0.419s]
[INFO] DSpace OAI-PMH :: Local Customizations ............ SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:03.626s
[INFO] Finished at: Wed Mar 18 11:01:16 SAST 2015
[INFO] Final Memory: 30M/353M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project solr: Could not resolve dependencies
for project org.dspace.modules:solr:war:5.1: Failed to collect dependencies for
[org.dspace:dspace-solr:war:skinny:5.1 (compile),
org.dspace:dspace-solr:jar:classes:5.1 (compile),
org.apache.solr:solr-analysis-extras:jar:4.10.2 (compile),
com.ibm.icu:icu4j:jar:51.1 (compile),
org.apache.lucene:lucene-analyzers-icu:jar:4.10.2 (compile),
org.apache.lucene:lucene-analyzers-smartcn:jar:4.10.2 (compile),
org.apache.lucene:lucene-analyzers-stempel:jar:4.10.2 (compile),
xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact descriptor for
org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer artifact
org.restlet.jee:org.restlet:pom:2.1.1 from/to sonatype-releases
(https://oss.sonatype.org/content/repositories/releases/): Access denied to:
https://oss.sonatype.org/content/repositories/releases/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.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 :solr
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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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