mirror of https://github.com/apache/maven.git
[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:
parent
0b8770c75a
commit
d9e845eb9c
|
@ -128,6 +128,7 @@
|
||||||
if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0 ||
|
if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0 ||
|
||||||
versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )
|
versioning.getLastUpdated().compareTo( v.getLastUpdated() ) >= 0 )
|
||||||
{
|
{
|
||||||
|
changed = true;
|
||||||
v.setLastUpdated( versioning.getLastUpdated() );
|
v.setLastUpdated( versioning.getLastUpdated() );
|
||||||
|
|
||||||
if ( versioning.getRelease() != null )
|
if ( versioning.getRelease() != null )
|
||||||
|
|
Loading…
Reference in New Issue