Re: [Dspace-tech] Maven problem

2015-02-13 Thread Hilton Gibson
Hi Henry

I am guessing a bad internet connection perhaps?

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 13 February 2015 at 15:46, Henry Atsu Agbodza 
wrote:

> Dear all,
> I'm installing dspace 4.2 on Ubuntu 14 LTS and encountered a bulid error.
> Below is the error
>
> Plugin org.apache.maven.plugins:maven-resources-plugin:2.3 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-resources-plugin:jar:2.3: Could not transfer
> artifact org.apache.maven.plugins:maven-plugins:pom:12 from/to central
> (http://repo.maven.apache.org/maven2): GET request of:
> org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom from central
> failed: Premature end of Content-Length delimited message body (expected:
> 296; received: 293 -> [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/PluginResolutionException
> 
> Kindly help.
> Thanks
>
> --
>
> *Sincerely Yours,*
>
> *Henry Atsu Agbodza*
> *Library Systems and Research Support, *
> *Academic Computing Unit,*
> *University of Ghana Computing Systems (UGCS)*
> *Room G3, Ground Floor - East Wing, *
> *Balme Library*
> *Legon*
> *Tel.: +233 (0) 207 027360*
> *IP Phone: 2442*
>
> *UG Repository *
> *UG Library *
>
>
> *UG Online Catalogue (UGCat) UG Research Portal
> UG Off - Campus Access to E - Resources
> *
> *UG Chat with A Librarian Service *
>
>
> --
> 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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] maven problem, not proxy issue

2012-02-15 Thread Mark H. Wood
On Wed, Feb 15, 2012 at 08:32:26AM -0300, Martin Musacchio wrote:
> I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1,  
> -and also 1.6.2- and maven2=2.2.1-10) and it fails downloading the  
> first file, claiming network unreachable, 'Unable to download the  
> artifact from any repository', the usual.
> I've searched the list and most people fixed this problem with the
> proxy setting in the settings.xml file from the maven directory. Well,
> this doesn't work for me. I'm actually in the same network from
> another computer that doesn't even need a proxy setting! (both are
> behind a firewall which automatically redirects requests to specific
> ports to the proxy, so there's no need for the setting) Just to be
> sure I tried the proxy setting anyway but it doesn't work.
> 
> Also I can access that first failed file with my browser and with
> wget. It's a .pom file. Using curl it shows it to me in binary code
> (I'm not sure if that matters or not). So it doesn't even look like a
> proxy type problem.

It shouldn't be binary; POMs are XML.  'curl
http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom'
showed me this:

  
  http://maven.apache.org/POM/4.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  org.dspace
  dspace-pom

and so on.  If you don't get that, something fairly close to you is
broken.  If I were having this problem, I'd stick with simple tools
like curl or wget until they can fetch a recognizable POM and then try
Maven again.

I'm perhaps understandably suspicious of that magic firewall rule.

[snip]
> Here goes the error report:
> 
> /home/martin/dspace-1.8.1-src-release/dspace# mvn package
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom
> [WARNING] Unable to get resource 'org.dspace:dspace-pom:pom:12' from
> repository central (http://repo1.maven.org/maven2): Error transferring
> file: Network is unreachable

I think that everything beyond this point is resulting from the
above.  The project's configuration can't be completed because
dspace-pom is unavailable and it's an ancestor of everything you're
trying to build.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpHpMWRv2zyS.pgp
Description: PGP signature
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-05-02 Thread Zico
On Sat, May 2, 2009 at 2:22 PM, Zico  wrote:

> I am installing Dspace-1.5.1 in Debian-5.0. This is behind proxy. I have
> changed the settings.xml according to my proxy. Here, my settings.xml is in
> */opt/apache-maven-2.0.9/conf . *When i ran "mvn package" in my
> /opt/src/dspace-1.5.1-release/dspace/
> then it can download packages from maven repository but *no "test" is
> created /opr/src/dspace-1.5.1-release/dspace/
>
> So, no "dspace-1.5.0-build.dir" has been created there. So, i cannot run
> "ant fresh_install" there.
> *


Ok, i have solved this! Actually i put the port "80" instead "8080"; that`s
why each and every packaged didn`t downloaded at that time. Now it`s ok.


-- 
Best,
Zico
--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Van Ly
Putting 'maven mvn proxy' in a search engine gives
 
 http://maven.apache.org/guides/mini/guide-proxies.html
-- Van Ly 


From: Zico [mailto:mailz...@gmail.com]
Sent: Tue 4/21/2009 7:24 PM
To: Tech DSpace
Subject: [Dspace-tech] maven problem

I am trying to install dspace-1.5 behind a proxy in university. Here, i cannot 
execute the command "mvn package". How can i solve this problem? 

-- 
Best,
Zico

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Zico
On Tue, Apr 21, 2009 at 3:39 PM, Panyarak Ngamsritragul
wrote:

>
> Dear Zico,
>
> You have to edit the  section in /etc/maven2/settings.xml to point
> to your proxy server.  This is applicable if you are using Linux Ubuntu. If
> you are using other OS, you have to figure out where this file is.


I am using Debian 5.0 here.


-- 
Best,
Zico
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Panyarak Ngamsritragul

Dear Zico,

You have to edit the  section in /etc/maven2/settings.xml to point 
to your proxy server.  This is applicable if you are using Linux Ubuntu. 
If you are using other OS, you have to figure out where this file is.

Panyarak

On Tue, 21 Apr 2009, Zico wrote:

> I am trying to install dspace-1.5 behind a proxy in university. Here, i
> cannot execute the command "mvn package". How can i solve this problem?
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech