Page 1 of 1

ArtifactTransferException: Failure to transfer .... errors

Posted: Wed Feb 19, 2014 9:57 pm
by Tom Tang
hi all,i just downloaded the Broadleaf Eclipse Workspace 3.1GA as getting started tutorial.
but maven likely don't download related dependencies.

ArtifactTransferException occurs below:

ArtifactTransferException: Failure to transfer javax.mail:mail:jar:1.4.1 from http://nexus.broadleafcommerce.org/nexus/
content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of public releases has elapsed or updates are forced. Original error: Could not transfer artifact javax.mail:mail:jar:1.4.1 from/to public releases http://nexus.broadleafcommerce.org/nexu ... /releases/): connection timed out to http://
nexus.broadleafcommerce.org/nexus/content/repositories/releases/javax/mail/mail/1.4.1/mail-1.4.1.jar


i find that there's no mail-1.4.1.jar in broadleafcommerce repository because 404 (not found) page display if i open the link http://
nexus.broadleafcommerce.org/nexus/content/repositories/releases/javax/mail/mail/1.4.1/mail-1.4.1.jar by IE browser.

there are 704 errors similar to this.
i don't know why.anyone help me?
thank you.

Re: ArtifactTransferException: Failure to transfer .... errors

Posted: Thu Feb 20, 2014 1:37 pm
by phillipuniverse
I had some problems downloading that jar last night as well; I would retry, sometimes the maven central repository gets stuck for whatever reason.

Re: ArtifactTransferException: Failure to transfer .... errors

Posted: Thu Feb 20, 2014 9:06 pm
by Tom Tang
phillipuniverse wrote:I had some problems downloading that jar last night as well; I would retry, sometimes the maven central repository gets stuck for whatever reason.


i think the problem is broadleaf repository because maven don't find and download the related artifacts from it such as http://
nexus.broadleafcommerce.org/nexus/content/repositories/releases/javax/mail/mail/1.4.1/mail-1.4.1.jar
:(

Re: ArtifactTransferException: Failure to transfer .... errors

Posted: Fri Feb 21, 2014 10:56 am
by phillipuniverse
The error messages that Maven gives are confusing. What it's really saying there is that the javax mail jar wasn't found in ANY repository, and the Broadleaf nexus was the last place that it looked. Rather than telling you that, it gives you something cryptic and not very helpful. That javax.mail jar has never been in the Broadleaf repository nor should it be.

Are you still having trouble? You might retry doing a 'mvn clean install' with a -U flag (so 'mvn -U clean install') which will try to force re-downloading of jars that it could not find.

Re: ArtifactTransferException: Failure to transfer .... errors

Posted: Sun Feb 23, 2014 9:31 pm
by Tom Tang
hi,phillipuniverse
i did what i can do.but the problems still exists.I think it is caused by my network.
anyway,thank you for your help.