<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>
// 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