From 4bc10c1cca4f5c947c9d8814b7d063ee2eb98dbf Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 14 Mar 2008 21:57:03 +0000 Subject: [PATCH] [MRM-608] Unable to find project model for [...] if the initial import of the POM failed Merged from: r637023 on trunk git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@637288 13f79535-47bb-0310-9956-ffa450edef68 --- .../consumers/database/ArtifactUpdateDatabaseConsumer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-1.0.x/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java b/archiva-1.0.x/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java index de38ce0fa..e6a3d8dd8 100644 --- a/archiva-1.0.x/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java +++ b/archiva-1.0.x/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 ); } -- 2.39.5