]> source.dussan.org Git - archiva.git/commitdiff
make sure the company POM has the right packaging
authorBrett Porter <brett@apache.org>
Thu, 15 Feb 2007 17:15:32 +0000 (17:15 +0000)
committerBrett Porter <brett@apache.org>
Thu, 15 Feb 2007 17:15:32 +0000 (17:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@508021 13f79535-47bb-0310-9956-ffa450edef68

archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/EditPomAction.java

index f4c4c9bcfa77e0370de8c362446320dae13f2dac..fa82c33688be6c7f4661f0264434b4d5c8cece72 100644 (file)
@@ -97,6 +97,7 @@ public class EditPomAction
         {
             companyModel = new Model();
             companyModel.setModelVersion( "4.0.0" );
+            companyModel.setPackaging( "pom" );
 
             if ( companyPom != null )
             {
@@ -120,4 +121,4 @@ public class EditPomAction
     {
         return companyModel;
     }
-}
\ No newline at end of file
+}