]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1282] set the validation level to a more reasonable one for this purpose
authorBrett Porter <brett@apache.org>
Thu, 26 Nov 2009 03:46:06 +0000 (03:46 +0000)
committerBrett Porter <brett@apache.org>
Thu, 26 Nov 2009 03:46:06 +0000 (03:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884395 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryMetadataResolver.java

index eb46e092172f891e59bb2fba2cff96b25ef7f138..ced07bdabf32fca5ceb8c4ea41fe879eaee632ac 100644 (file)
@@ -122,6 +122,7 @@ public class Maven2RepositoryMetadataResolver
         req.setProcessPlugins( false );
         req.setPomFile( file );
         req.setModelResolver( new RepositoryModelResolver( basedir, pathTranslator ) );
+        req.setValidationLevel( ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL );
 
         Model model;
         try