]> source.dussan.org Git - archiva.git/commitdiff
fix maven 2.2.1 build
authorOlivier Lamy <olamy@apache.org>
Thu, 29 Sep 2011 10:28:13 +0000 (10:28 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 29 Sep 2011 10:28:13 +0000 (10:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177255 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/pom.xml
archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java
archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/archiva/web/validator/utils/ValidatorUtil.java

index bd0cd8aa99fec159f0282878ca0a143fec158f95..c4a985fb5da1537d93af9ea283f616186903002b 100644 (file)
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-repository-layer</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.archiva</groupId>
+      <artifactId>archiva-xml-tools</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>xerces</groupId>
+          <artifactId>xercesImpl</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-security</artifactId>
index aec68def1ff200e3bcf5a5b3ef7eef6dcfdbb0d7..64ae7f8ad5a26e55b91970dc24d9c4e729516f71 100644 (file)
@@ -210,7 +210,6 @@ public class EditOrganizationInfoActionTest
     @Override
     protected AbstractAppearanceAction getAction()
     {
-        //return (EditOrganisationInfoAction) lookup( Action.class.getName(), "editOrganisationInfo" );
         return (EditOrganisationInfoAction) getActionProxy( "/admin/editAppearance.action" ).getAction();
     }
 }
index 9696868aaf68a69b19112b3b57c1d58b22d539b6..470544f0b8723d43bb22dc49a3f83f611104c42f 100644 (file)
@@ -52,8 +52,9 @@ public class ValidatorUtil
                     // check the contents of error messages per field error
                     for ( int i = 0; i < expectedEntry.getValue().size(); i++ )
                     {
-                        Assert.assertEquals( expectedEntry.getValue().get( i ),
-                                             actualFieldErrors.get( expectedEntry.getKey() ).get( i ) );
+                        String expected = expectedEntry.getValue().get( i );
+                        String actual = actualFieldErrors.get( expectedEntry.getKey() ).get( i );
+                        Assert.assertEquals( expected, actual );
                     }
                 }
                 else