[ 
http://jira.codehaus.org/browse/MNG-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170674#action_170674
 ] 

Gin-Ting Chen commented on MNG-4093:
------------------------------------

I blew out the defective agent's .m2/repository and my own (which I replicated 
from there) to "fix" this issue.
When it happens again I will add this info. What do you mean the contents of 
the remote server?
You mean the metadata xmls inside common-util/25-SNAPSHOT directory?

As a side note, this is an intermittent issue. I would think that if it was as 
you said that ALL Teamcity agents would have failed w. this error and 
consistently. This doesn't happen for all TC agents and seems to be happening 
randomly.

Interesting to also note (although not surprisingly if you think of the 
SNAPSHOT mechanism) a new release of common-xxx will solve this problem. So 
again, inconsistent.

> SNAPSHOT jars not correctly updated
> -----------------------------------
>
>                 Key: MNG-4093
>                 URL: http://jira.codehaus.org/browse/MNG-4093
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.10
>            Reporter: Gin-Ting Chen
>            Assignee: Brett Porter
>
> Occasionally I would get compilation errors after releasing a new SNAPSHOT 
> dependency of a project.
> After some debugging I found that it was adding a -SNAPSHOT.jar to my 
> classpath and not the actual timestamped jar.
> But I also found that, occasionally,  I would get this:
> {code}
> -rw-r--r-- 1 tich tich 1482491 common-util-25-20090313.151759-9.jar
> -rw-r--r-- 1 tich tich 1482490 common-util-25-20090317.001243-13.jar
> -rw-r--r-- 1 tich tich 1482491 common-util-25-SNAPSHOT.jar
> {code}
> It seems that the SNAPSHOT downloading process *silently* fails to update the 
> x-SNAPSHOT.jar.
> This behavior seems to occur randomly and can not be recovered from until you:
> * delete the corrupted local repository OR
> * release a new snapshot

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to