Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S04
On 23 April 2013 14:15, SanjibKumarDeka <[email protected]> wrote:
> Hi,
>
> I am in the process of installing DSpace 3.1 on RHEL 6. I have installed
> apache ant 1.9.0, apache maven 3.0.5, apache tomcat 7.0.39, Postgres
> 9.0.6.1 and jdk1.7.0_17.
>
> I configured the proxy under <settings.xml> file in the directory
> /opt/apache-maven-3.0.5/conf/.
>
> ===========================================================================
> <proxies>
> <!-- proxy
> | Specification for one proxy, to be used in connecting to the
> network.
> |
> <proxy>
> <id>optional</id>
> <active>true</active>
> <protocol>http</protocol>
> <username>skdeka</username>
> <password>skdeka123</password>
> <host>202.141.80.30</host>
> <port>3128</port>
> <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
> </proxy>
> -->
> </proxies>
> ==========================================================================
>
> After that I run the <mvn package>, but I experienced some error messages,
> which I'm not getting. Details attached for your information. Kindly help
> me please.
>
> ERROR MSG:
> =======================================================================
> [root@CENTRAL-LIBRARY /]# su dspace
> [dspace@CENTRAL-LIBRARY /]$ cd /dspace-3.1-src-release/dspace
>
> [dspace@CENTRAL-LIBRARY dspace]$ mvn package
> [INFO] Scanning for projects...
> Downloading:
> http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> Downloading:
> http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> Sep 20, 2012 3:29:46 PM
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryConnect
>
> INFO: I/O exception (java.net.NoRouteToHostException) caught when
> connecting to the target host: No route to host
> Sep 20, 2012 3:29:46 PM
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryConnect
>
> INFO: Retrying connect
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.dspace:dspace:3.1
> (/dspace-3.1-src-release/dspace/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM for org.dspace:dspace-parent:3.1:
> Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to
> sonatype-releases (http://oss.sonatype.org/content/repositories/releases/):
> Connection to http://oss.sonatype.org refused and 'parent.relativePath'
> points at wrong local POM @ org.dspace:dspace-parent:3.1,
> /dspace-3.1-src-release/pom.xml, line 17, column 13: Connection timed out
> -> [Help 2]
>
> [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/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> [dspace@CENTRAL-LIBRARY dspace]$
>
> ==========================================================================================
> Reagards,
>
> sanjib k deka
> iit guwahati
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> 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
>
--
*Hilton Gibson*
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
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
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