Hi all,

i'm new to DSpace and trying to install DSpace 1.8.2 source on Ubuntu  
12.04 LTS x86_64.
I followed the instruction of the DSpace Main PDF and installed all  
dependencies for DSpace.
Now running sudo mvn package exits with an "Connection time out" error.
I think this appears because our proxy (McAfee) can not serve the solr  
WAR file fast enough.
The error output is attached below.

After getting this error i tried to add the solr manually but now luck.
I think i have to install it like it is described on the following  
documentation but when to do and what to do after that is not written  
there.
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
So i downloaded the solr WAR manually and executed the following  
command before.

sudo mvn install:install-file -Dfile=/home/mw/solr-3.3.0.war  
-DgroupId=org.apache.solr -DartifactId=solr-parent -Dversion=3.3.0  
-Dpackaging=war

After that a sudo mvn package will fail again.

Can please someone tell me how can i install these dependencies  
manually and go further on?


Best regards
Marco

[INFO]  
------------------------------------------------------------------------
[INFO] Building DSpace SOLR :: Web Application 1.8.2
[INFO]  
------------------------------------------------------------------------
Downloading:  
http://repo.maven.apache.org/maven2/org/apache/solr/solr/3.3.0/solr-3.3.0.war
[INFO]  
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .............................. SUCCESS [2.308s]
[INFO] DSpace XML-UI (Manakin) :: Web Application ........ SUCCESS [11.487s]
[INFO] DSpace LNI :: Web Application ..................... SUCCESS [2.983s]
[INFO] DSpace OAI :: Web Application ..................... SUCCESS [2.620s]
[INFO] DSpace JSP-UI :: Web Application .................. SUCCESS [4.133s]
[INFO] DSpace SWORD :: Web Application ................... SUCCESS [4.071s]
[INFO] DSpace SWORDv2 :: Web Application ................. SUCCESS [3.832s]
[INFO] DSpace SOLR :: Web Application .................... FAILURE [1:00.642s]
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO]  
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 1:34.085s
[INFO] Finished at: Mon Oct 29 10:13:45 CET 2012
[INFO] Final Memory: 14M/59M
[INFO]  
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project solr: Could not resolve  
dependencies for project org.dspace.modules:solr:war:1.8.2: Could not  
transfer artifact org.apache.solr:solr:war:3.3.0 from/to central  
(http://repo.maven.apache.org/maven2): Read timed out -> [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


------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to