]> source.dussan.org Git - archiva.git/commitdiff
[MRM-608] Unable to find project model for [...] if the initial import of the POM...
authorBrett Porter <brett@apache.org>
Fri, 14 Mar 2008 21:57:03 +0000 (21:57 +0000)
committerBrett Porter <brett@apache.org>
Fri, 14 Mar 2008 21:57:03 +0000 (21:57 +0000)
Merged from: r637023 on trunk

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@637288 13f79535-47bb-0310-9956-ffa450edef68

archiva-1.0.x/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java

index de38ce0faa1cb9b63a8968548acbad8b938c73b6..e6a3d8dd8c017c14b9420374ce8f952c79d1f557 100644 (file)
@@ -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 );
         }