Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Wed, 21 Apr 2004 9:54 AM
Fixed
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1226
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1226
Summary: newer SNAPHOTs dependencies in local repo are replaced with older from
remote repo
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: maven
Fix Fors:
1.0-rc3
Versions:
1.0-rc3
Assignee: Brett Porter
Reporter: Artur Jonak
Created: Fri, 9 Apr 2004 7:07 AM
Updated: Wed, 21 Apr 2004 9:54 AM
Description:
When using remote repository via other than HTTP protocols then newer SNAPSHOTs (used
in POM library dependencies) in local repo are replaced by older from remote repo.
Proposed solution:
in org.apache.maven.util.HttpUtils class in method getFile(...)
perform checking:
[...]
URLConnection connection = source.openConnection();
[...]
if (connection.getLastModified()<destinationFile.lastModified())
return;
[...]
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]