Re: Maven hangs downloading artifacts

2011-12-13 Thread Paul Johnston
Hi,

It was AVG anti-virus! Disabled that and it works fine.

BTW, I had been experimenting with a local Artifactory repository, and
was still having the same problem.

Now I just need to work out how to have Maven work, without exposing
myself to viruses!

Thanks for your help,

Paul


On 13/12/2011 14:45, Knut Aksnes-NOR wrote:
> Sounds like firewall or virus scan problems. I used to have the same kind of 
> problems when updating eclipse.
> A workaround might be to set up some kind of maven repository/proxy (I use 
> Archiva) Manually installing problem files into Archiva if needed. 
-- 
Pentest - When a tick in the box is not enough

Paul Johnston - IT Security Consultant / Tiger SST
Pentest Limited - ISO 9001 (cert 16055) / ISO 27001 (cert 558982)

Office: +44 (0) 161 233 0100
Mobile: +44 (0) 7817 219 072

Email policy: http://www.pentest.co.uk/legal.shtml#emailpolicy
Registered Number: 4217114 England & Wales
Registered Office: 26a The Downs, Altrincham, Cheshire, WA14 2PU, UK


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven hangs downloading artifacts

2011-12-13 Thread Ron Wheeler

Get yourself a repo system.
Working with Maven without a repo is a really tedious way to work.

We got Nexus a few years ago and it really improved our use of Maven and 
speeded up our builds tremendously.


It also allows you to fix licensing problems with some common libraries.


Ron


On 13/12/2011 9:40 AM, Paul Johnston wrote:

Hi,

I'm having terrible trouble with Maven hanging while downloading artifacts.

It randomly stops mid-download. Usually, cancelling with ctrl-C and
re-running results in success, and I often have to do that two or three
times to get a successful build. Annoying but acceptable. However,
sometimes I get completely stuck.

If it helps, here's mvn --version:

Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+)
Maven home: c:\code\apache-maven-3.0.3\bin\..
Java version: 1.7.0, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"

The pom.xml has no repository information, I'm just going to the main
Maven repos. I am behind a firewall, but no HTTP proxy. If I copy the
URLs into my web browser, the files download fine.

Having particular problems with these files at the moment:
Downloading: http://repo1.maven.org/maven2/fop/fop/0.20.5/fop-0.20.5.jar
Downloading:
http://repo1.maven.org/maven2/batik/batik-1.5-fop/0.20-5/batik-1.5-fop-0.20-5.jar

Couldn't find any mention of this on the mailing list, am I the only one
having this problem? It's highly frustrating for me, as it makes an
otherwise excellent build system feel like endless trial-and-error. Any
help greatly appreciated!

Paul




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

RE: Maven hangs downloading artifacts

2011-12-13 Thread Knut Aksnes-NOR
Sounds like firewall or virus scan problems. I used to have the same kind of 
problems when updating eclipse.
A workaround might be to set up some kind of maven repository/proxy (I use 
Archiva) Manually installing problem files into Archiva if needed. 

-Original Message-
From: Paul Johnston [mailto:paul.johns...@pentest.co.uk] 
Sent: 13. desember 2011 15:40
To: users@maven.apache.org
Subject: Maven hangs downloading artifacts

Hi,

I'm having terrible trouble with Maven hanging while downloading artifacts.

It randomly stops mid-download. Usually, cancelling with ctrl-C and re-running 
results in success, and I often have to do that two or three times to get a 
successful build. Annoying but acceptable. However, sometimes I get completely 
stuck.

If it helps, here's mvn --version:

Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+) Maven home: 
c:\code\apache-maven-3.0.3\bin\..
Java version: 1.7.0, vendor: Oracle Corporation Java home: c:\Program 
Files\Java\jdk1.7.0\jre Default locale: en_US, platform encoding: Cp1252 OS 
name: "windows 7", version: "6.1", arch: "x86", family: "windows"

The pom.xml has no repository information, I'm just going to the main Maven 
repos. I am behind a firewall, but no HTTP proxy. If I copy the URLs into my 
web browser, the files download fine.

Having particular problems with these files at the moment:
Downloading: http://repo1.maven.org/maven2/fop/fop/0.20.5/fop-0.20.5.jar
Downloading:
http://repo1.maven.org/maven2/batik/batik-1.5-fop/0.20-5/batik-1.5-fop-0.20-5.jar

Couldn't find any mention of this on the mailing list, am I the only one having 
this problem? It's highly frustrating for me, as it makes an otherwise 
excellent build system feel like endless trial-and-error. Any help greatly 
appreciated!

Paul

--
Pentest - When a tick in the box is not enough

Paul Johnston - IT Security Consultant / Tiger SST Pentest Limited - ISO 9001 
(cert 16055) / ISO 27001 (cert 558982)

Office: +44 (0) 161 233 0100
Mobile: +44 (0) 7817 219 072

Email policy: http://www.pentest.co.uk/legal.shtml#emailpolicy
Registered Number: 4217114 England & Wales Registered Office: 26a The Downs, 
Altrincham, Cheshire, WA14 2PU, UK


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven hangs downloading artifacts

2011-12-13 Thread Paul Johnston
Hi,

I'm having terrible trouble with Maven hanging while downloading artifacts.

It randomly stops mid-download. Usually, cancelling with ctrl-C and
re-running results in success, and I often have to do that two or three
times to get a successful build. Annoying but acceptable. However,
sometimes I get completely stuck.

If it helps, here's mvn --version:

Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+)
Maven home: c:\code\apache-maven-3.0.3\bin\..
Java version: 1.7.0, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"

The pom.xml has no repository information, I'm just going to the main
Maven repos. I am behind a firewall, but no HTTP proxy. If I copy the
URLs into my web browser, the files download fine.

Having particular problems with these files at the moment:
Downloading: http://repo1.maven.org/maven2/fop/fop/0.20.5/fop-0.20.5.jar
Downloading:
http://repo1.maven.org/maven2/batik/batik-1.5-fop/0.20-5/batik-1.5-fop-0.20-5.jar

Couldn't find any mention of this on the mailing list, am I the only one
having this problem? It's highly frustrating for me, as it makes an
otherwise excellent build system feel like endless trial-and-error. Any
help greatly appreciated!

Paul

-- 
Pentest - When a tick in the box is not enough

Paul Johnston - IT Security Consultant / Tiger SST
Pentest Limited - ISO 9001 (cert 16055) / ISO 27001 (cert 558982)

Office: +44 (0) 161 233 0100
Mobile: +44 (0) 7817 219 072

Email policy: http://www.pentest.co.uk/legal.shtml#emailpolicy
Registered Number: 4217114 England & Wales
Registered Office: 26a The Downs, Altrincham, Cheshire, WA14 2PU, UK


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org