Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] New checkout of working project has m2e persistently complaining about missing artifacts that aren't missing

Thanks, but the reindex didn’t help.  After I did that, I also tried doing a project clean and project update.  No change. About the only thing I haven’t tried yet is a reboot.  I suppose I’ll try that, but it doesn’t seem likely.

 

From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Keith Barlow
Sent: Monday, August 27, 2012 2:58 PM
To: Maven Integration for Eclipse users mailing list
Subject: Re: [m2e-users] New checkout of working project has m2e persistently complaining about missing artifacts that aren't missing

 

I was getting a similar error a little while ago... (I don't know if it was connection time outs but the maven pom editor was reporting the "Could not find ... from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.")

 

We do experience occasional network hiccups here so that could have been it.  I also went into the preferences and did a rebuild of the local index.  Either the network issues got resolved or the rebuild played a part.  Can't be sure but maybe a rebuild will help for you too?

 

If you want to try, its Preferences->Maven->User Settings and click on Reindex next to the Local Repository input.

 

Keith

On Mon, Aug 27, 2012 at 5:52 PM, Matthew Piggott <mpiggott@xxxxxxxxxxxx> wrote:

I would suggest checking your Anti-Virus, in p2 people have run into issues where the AV (most if not all reports have been AVG I believe) is causing timeouts.

 

On 27 August 2012 17:41, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:

"connection timed out" usually means networking related problems. Are
you sure windows firewall is not playing tricks on you?

--
Regards,
Igor



On 12-08-27 5:18 PM, KARR, DAVID wrote:

I've been working on a Maven project with my Eclipse running on a Linux box.  Today I tried getting my Win7 environment up to date.  I have the latest 3.x version of Eclipse on both boxes.  When I checked out my working project from SVN on the Win7 box, I had a bunch of errors like this:

-----------------
ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-webmvc-portlet:jar:3.0.6.RELEASE: ArtifactResolutionException: Failure to transfer org.springframework:spring-webmvc-portlet:pom:3.0.6.RELEASE from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework:spring-webmvc-portlet:pom:3.0.6.RELEASE from/to central (http://repo.maven.apache.org/maven2): java.net.ConnectException: connection timed out to http://repo.maven.apache.org/maven2/org/springframework/spring-webmvc-portlet/3.0.6.RELEASE/spring-webmvc-portlet-3.0.6.RELEASE.pom

Failure to transfer org.codehaus.mojo:cobertura-maven-plugin:pom:2.5.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.mojo:cobertura-maven-plugin:pom:2.5.1 from/to central (http://repo.maven.apache.org/maven2): java.net.ConnectException: connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.5.1/cobertura-maven-plugin-2.5.1.pom

Missing artifact aopalliance:aopalliance:jar:1.0
-----------------

The first two are somewhat unique, but there were many occurrences of the third one, with different coordinates.

The project builds fine from the command line outside of Eclipse.

I've tried doing "Update Project", both with and without the "Force update of snapshots/releases" flag.

I also tried "Project"->"Clean..." and selected "Clean all projects".

I tried entering those two urls that it's claiming it's failing to connect to, in both my external Firefox, and in the internal Eclipse browser.  No problems there.

When I explore the "Maven Dependencies" tree in the Package Explorer, I find all of these libraries that m2e says it can't find (the "Missing artifact" message).

I've also tried restarting Eclipse.  No change.
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

 


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



 

--
Keith Barlow

 

Software Engineer

Dell Boomi

 


Back to the top