From: Brett Porter Date: Fri, 14 Mar 2008 21:57:03 +0000 (+0000) Subject: [MRM-608] Unable to find project model for [...] if the initial import of the POM... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4bc10c1cca4f5c947c9d8814b7d063ee2eb98dbf;p=archiva.git [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 --- 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 ); }