Hi, Maven required Internet connectivity. If your system has connectivity, please check whether you are behind a proxy. If so please modify, settings.xml file in maven config directory OR have a private copy of settings.xml in which case you have to run the command similar to the following
mvn -s $HOME/.m2/settings.xml -f $DSPACE_SRC_DIR/pom.xml package Please replace $HOME & $DSPACE_SRC_DIR with correct paths with best regards ard -- ARD Prasad, Ph.D. Documentation Research & Traning Centre (DRTC) Indian Statistical Institute (ISI) 8th Mile Mysore Road Bangalore 560 059 India Phone (Off): +91-80-28483002 Ext. 496 Home Page: http://drtc.isibang.ac.in/DRTC/ardcv.html > Dear all, > > It my third day when i am trying to install dspace 1.5 on ubuntu server > 6.10. Every thing goes well: the j2sdk1.5-sun, apache-tomcat, apache-ant, > even apache-maven. Environmental variables were properly defined for these > packages. By the way I have implemnted DSpace 1.4.2 for our ETD > (Electronic Theses and Dissertations) project at the Addis Ababa > University Library. The problem comes when i am trying to generate the > dspace installation (dspace 1.5) pakcge using "mvn pakcge". It says BUILD > ERROR and Failed to resolve artifact. I need your help please. Here is the > detail. > > [EMAIL PROTECTED]:~/dspace-1.5.0-release/dspace$ mvn package > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] DSpace Addon Modules > [INFO] DSpace XML-UI (Manakin) :: Web Application > [INFO] DSpace LNI :: Web Application > [INFO] DSpace OAI :: Web Application > [INFO] DSpace JSP-UI :: Web Application > [INFO] DSpace SWORD :: Web Application > [INFO] DSpace Assembly and Configuration > [INFO] > ------------------------------------------------------------------------ > [INFO] Building DSpace Addon Modules > [INFO] task-segment: [package] > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.apache.maven.plugins > ArtifactId: maven-site-plugin > Version: 2.0-beta-6 > > Reason: Unable to download the artifact from any repository > > org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6 > > from the specified remote repositories: > maven.dspace.org/snapshot (http://maven.dspace.org/snapshot), > central (http://repo1.maven.org/maven2) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6 minutes 21 seconds > [INFO] Finished at: Thu Jul 03 14:03:53 EAT 2008 > [INFO] Final Memory: 1M/3M > > > > Yohannes Mulugeta > Head, Computer and Information Retrival Center > Addis Ababa University Libraries > P.O.Box: 1176 > Addis Ababa > Ethiopia > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

