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

I don't have a good explanation of the problem but here are some
pointers that may help you debug this

m2e uses proxy configuration from settings.xml, it does not use eclipse
proxy settings.

m2e and maven in general cache artifact resolution exceptions in local
maven repository and do not retry resolution for 24 hours by default.
this may explain why you do not see any traffic out of eclipse.

There is an outstanding issue with windows ntlm proxies [1], which may
or may not be related.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=343009

--
Regards,
Igor

On 12-08-28 11:51 AM, KARR, DAVID wrote:
-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-
bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Monday, August 27, 2012 7:36 PM
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] New checkout of working project has m2e
persistently complaining about missing artifacts that aren't missing

At least some windows antiviruses have per-application rules, so it is
theoretically possible that java.exe or eclipse.org gets blocked while
firefox does not. This is just a guess, to know for sure you'd need to
monitor traffic coming from and going in the win7 box.

I sincerely doubt this is a firewall problem.  I have no trouble updating plugins or viewing external pages in the embedded browser.

I tried capturing traffic with Wireshark, but I don't see any obvious traffic coming from Eclipse.  I can see traffic obviously coming from Firefox.

We use an outgoing proxy, which I have configured in both Firefox and Eclipse.

When I do a "Project"->"Clean", the error goes away and then comes back very quickly.  Considering the error message says it's a "timeout", that timeout must be very short, which leads me to think this is not doing what it says it's doing.

On 12-08-27 7:10 PM, KARR, DAVID wrote:
I mentioned that those urls do not fail in my Firefox instance, or in
the internal browser in Eclipse, and the Maven build from the command
line is fine.  These are all on the same box, so it seems unlikely
that
an antivirus app or a firewall is causing this.

*From:*m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] *On Behalf Of *Matthew Piggott
*Sent:* Monday, August 27, 2012 2:52 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 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
<mailto: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 <mailto:m2e-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx <mailto: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
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top