Re: [Dspace-tech] Maven eroor
Those links might have been blocked from your proxy. Click on the link or try to download the file to see if it works. Cheers, 2010/9/27 इन्दु भूषण Indu Bhushan indubhus...@gmail.com Dear all I m intalling dspace to new version to our new server but maven is showing following error. I also tried to give proxy, port, id and password to settings.xml in maven but same proble is there. [dsp...@library dspace]$ mvn -v Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.6.0_21 Java home: /usr/local/jdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.18-164.el5pae arch: i386 Family: unix [dsp...@library dspace]$ mvn package [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Parent Project [INFO] DSpace Kernel :: API and Implementation [INFO] DSpace Solr Statistics Logging Client Library [INFO] DSpace UI :: Shared JS code [INFO] DSpace JSP-UI [INFO] DSpace JSP-UI :: API and Implementation [INFO] DSpace JSP-UI :: Web Application Resources [INFO] DSpace XML-UI (Manakin) [INFO] DSpace XML-UI (Manakin) :: Wing-Framework [INFO] DSpace XML-UI (Manakin) :: API and Core Aspects [INFO] DSpace XML-UI (Manakin) :: Web Application Resources [INFO] DSpace LNI [INFO] DSpace LNI :: Core Implementation [INFO] DSpace LNI :: Web Application Resources [INFO] DSpace LNI :: CLI Client Application [INFO] DSpace OAI [INFO] DSpace OAI :: API and Implementation [INFO] DSpace OAI :: Web Application Resources [INFO] DSpace SWORD [INFO] DSpace SWORD :: API and Implementation [INFO] DSpace SWORD :: Web Application Resources [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 SOLR :: Web Application [INFO] DSpace Assembly and Configuration [INFO] [INFO] Building DSpace Parent Project [INFO]task-segment: [package] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable Downloading: http://download.java.net/maven/2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository java.net (http://download.java.net/maven/2): Error transferring file: Network is unreachable Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-site-plugin Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7 from the specified remote repositories: maven.dspace.org-snapshot (http://maven.dspace.org/snapshot), central (http://repo1.maven.org/maven2), java.net (http://download.java.net/maven/2) for project org.apache.maven.plugins:maven-site-plugin [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Sep 27 03:53:25 IST 2010 [INFO] Final Memory: 4M/245M Wating for your prompt reply. With regards Indu Bhushan RRCAT, INDORE MP -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Altaf Mahmud System Programmer Ayesha Abed Library, BRAC University, Bangladesh.
Re: [Dspace-tech] Maven eroor
Hi Indu, Do you have maven configuration in /etc/maven2/settings.xml like this? proxies proxy idmyproxy/id activetrue/active protocolhttp/protocol hostmyproxy.mydomain/host portport/port usernameproxyuser/username passwordproxypass/password nonProxyHostslocalhost/nonProxyHosts /proxy /proxies This works for me. Best, Al 27/09/2010 12:28, En/na ?? Indu Bhushan ha escrit: Dear all I m intalling dspace to new version to our new server but maven is showing following error. I also tried to give proxy, port, id and password to settings.xml in maven but same proble is there. [dsp...@library dspace]$ mvn -v Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.6.0_21 Java home: /usr/local/jdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.18-164.el5pae arch: i386 Family: unix [dsp...@library dspace]$ mvn package [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace Parent Project [INFO] DSpace Kernel :: API and Implementation [INFO] DSpace Solr Statistics Logging Client Library [INFO] DSpace UI :: Shared JS code [INFO] DSpace JSP-UI [INFO] DSpace JSP-UI :: API and Implementation [INFO] DSpace JSP-UI :: Web Application Resources [INFO] DSpace XML-UI (Manakin) [INFO] DSpace XML-UI (Manakin) :: Wing-Framework [INFO] DSpace XML-UI (Manakin) :: API and Core Aspects [INFO] DSpace XML-UI (Manakin) :: Web Application Resources [INFO] DSpace LNI [INFO] DSpace LNI :: Core Implementation [INFO] DSpace LNI :: Web Application Resources [INFO] DSpace LNI :: CLI Client Application [INFO] DSpace OAI [INFO] DSpace OAI :: API and Implementation [INFO] DSpace OAI :: Web Application Resources [INFO] DSpace SWORD [INFO] DSpace SWORD :: API and Implementation [INFO] DSpace SWORD :: Web Application Resources [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 SOLR :: Web Application [INFO] DSpace Assembly and Configuration [INFO] [INFO] Building DSpace Parent Project [INFO]task-segment: [package] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable Downloading: http://download.java.net/maven/2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository java.net http://java.net (http://download.java.net/maven/2): Error transferring file: Network is unreachable Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-site-plugin Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7 from the specified remote repositories: maven.dspace.org-snapshot (http://maven.dspace.org/snapshot), central (http://repo1.maven.org/maven2), java.net http://java.net (http://download.java.net/maven/2) for project org.apache.maven.plugins:maven-site-plugin [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Sep 27 03:53:25 IST 2010 [INFO] Final Memory: 4M/245M Wating for your prompt reply. With regards Indu Bhushan RRCAT, INDORE MP -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net