[MNG-2790] lastUpdated timestamp in local repository metadata not updated on install if it already exists

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@499368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2007-01-24 11:42:36 +00:00
parent 0b8770c75a
commit d9e845eb9c
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@
if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0 ||
versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )
{
changed = true;
v.setLastUpdated( versioning.getLastUpdated() );
if ( versioning.getRelease() != null )