[ http://jira.codehaus.org/browse/WAGON-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-90: ------------------------------ Fix Version/s: 1.0-beta-3 > The getIfNewer method fails to work if file doesn't exist locally when using > repo proxy > --------------------------------------------------------------------------------------- > > Key: WAGON-90 > URL: http://jira.codehaus.org/browse/WAGON-90 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-provider-api > Affects Versions: 1.0-beta-2 > Reporter: Dário Oliveros > Fix For: 1.0-beta-3 > > > When compiling a maven project which is of maven-plugin packaging type, the > maven-plugin-plugin-<version>.jar is not downloaded from an internal repo > (archiva repo manager) at all. > I've noticed that the 'resource.getLastModified()' method call returns 0 > which causes the following if statement to fail since timestamp is also 0: > if ( resource.getLastModified() > timestamp ) > By replacing '>' with '>=' the problem goes away, but I am not sure if it's a > valid fix. > BTW, this bug may be related to http://jira.codehaus.org/browse/WAGONHTTP-5. -- 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