Well it looks like you were right, the artifactory version of the
maven-resources-plugin was a cached version sitting in the artifactory
cache-repo, so I deleted that directory in artifactory, and wouldn't you
know it, it all seems fine...

I will keep a close eye on this, but for now I will consider this the fix.

Thanks for your help, it is greatly appreciated.

Mark

On Wed, Aug 6, 2008 at 10:47 AM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:

> Mark Macumber wrote:
>
>> In terms of isolating the issue, I have noticed that when I remove the
>> artifactory repository from the POM, it does not have the issue and also,
>> when I right->click on the project and go to the Maven settings, I can
>> remove:
>>
>> "process-resources resources:testResources" from the "Goals to invoke on
>> resource change", which in my case seems to do the trick.
>>
>  Right, that basically disables invocation of the "resources" plugin. What
> is strange, though, is that why this plugin is being checked every time.
> Maybe local Maven repository metadata got screwed and Maven got confused
> about it. You can try to delete folder at <m2 repo
> dir>/org/apache/maven/plugins/maven-resources-plugin/ and see if it helps.
>  Also run mvn help:effective-pom (or use "show effective pom" action in pom
> editor from m2eclipse) to see what is the actual resources plugin version
> being used and make sure it is not a snapshot version, e.g. by specifying it
> in <pluginManagement> element in your pom.
>
>> So it seems that it is this goal that is the issue.
>>
>  The stuck thread is below. Unfortunately it comes from the Maven, which
> for some reason it hangs on reading from the socket. I can't think of a good
> workaround, other then try some other repository manager and see it would
> handle this case better then artifactory. For example, you can try Nexus
> from http://nexus.sonatype.org/
>
>  regards,
>  Eugene
>
>
>  "Worker-5" prio=6 tid=0x02f28050 nid=0x9f8 runnable
>> [0x057be000..0x057bfce8]
>>        at java.net.SocketInputStream.socketRead0(Native Method)
>>        at java.net.SocketInputStream.read(SocketInputStream.java:129)
>>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
>>        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
>>        - locked <0x0b0b2068> (a java.io.BufferedInputStream)
>>        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:606)
>>        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:554)
>>        at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:936)
>>        - locked <0x0b0b2108> (a
>> sun.net.www.protocol.http.HttpURLConnection)
>>        at
>> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>>        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>>        at
>> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:530)
>>        at
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:434)
>>        at
>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:85)
>>        at
>> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:110)
>>        at
>> org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:93)
>>        at
>> org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:60)
>>        at
>> org.apache.maven.plugin.loader.DefaultPluginPrefixLoader.loadFromPrefixMapper(DefaultPluginPrefixLoader.java:160)
>>        at
>> org.apache.maven.plugin.loader.DefaultPluginPrefixLoader.findPluginForPrefix(DefaultPluginPrefixLoader.java:81)
>>        at
>> org.apache.maven.lifecycle.binding.DefaultMojoBindingFactory.parseMojoBinding(DefaultMojoBindingFactory.java:56)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptorForDirectInvocation(DefaultLifecycleExecutor.java:850)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.isTaskValid(DefaultLifecycleExecutor.java:678)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:194)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>>        at
>> org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl$MavenExecutor.execute(MavenProjectManagerImpl.java:1003)
>>        at
>> org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl$1.execute(MavenProjectManagerImpl.java:1030)
>>        at
>> org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl.execute(MavenProjectManagerImpl.java:959)
>>        at
>> org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl.execute(MavenProjectManagerImpl.java:1027)
>>        at
>> org.maven.ide.eclipse.project.MavenProjectFacade.filterResources(MavenProjectFacade.java:107)
>>      ....
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to