From 0a545acdd7e43562e87dbf37233b2032b60674cd Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Fri, 14 Mar 2008 09:13:02 +0000 Subject: [MRM-608] -set whenProcessed to null everytime an artifact is discovered git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637023 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java | 1 + 1 file changed, 1 insertion(+) (limited to 'archiva-base') diff --git a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java index de38ce0fa..e6a3d8dd8 100644 --- a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java +++ b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java @@ -189,6 +189,7 @@ public class ArtifactUpdateDatabaseConsumer artifact.getModel().setLastModified( new Date( artifactFile.lastModified() ) ); artifact.getModel().setSize( artifactFile.length() ); artifact.getModel().setOrigin( "FileSystem" ); + artifact.getModel().setWhenProcessed( null ); dao.getArtifactDAO().saveArtifact( artifact ); } -- cgit v1.2.3