You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/10 04:24:18 UTC
[jira] Updated: (MAVEN-1226) newer SNAPHOTs dependencies in local repo are replaced with older from remote repo
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Fri, 9 Apr 2004 10:23 PM
Changes:
assignee changed to Brett Porter
Version changed to 1.0-rc3
Version changed from 1.0-rc1
Version changed from 1.0-rc2
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1226&page=history
---------------------------------------------------------------------
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: Open
Priority: Major
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: Fri, 9 Apr 2004 10:23 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org