diff options
author | Brett Porter <brett@apache.org> | 2006-02-23 03:20:23 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2006-02-23 03:20:23 +0000 |
commit | cbd3b3958d7595c4670ad8e5f1a79670864bb448 (patch) | |
tree | 7edc1d3e168df5eb619d4a7a4f8df302fa9f2998 /maven-repository-converter | |
parent | d40c6491579bba141678a47098e4cbb8adc01bcf (diff) | |
download | archiva-cbd3b3958d7595c4670ad8e5f1a79670864bb448.tar.gz archiva-cbd3b3958d7595c4670ad8e5f1a79670864bb448.zip |
ignore xml header altogether
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-repository-converter')
-rw-r--r-- | maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java b/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java index b2a0512ac..f1574a814 100644 --- a/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java +++ b/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java @@ -880,7 +880,7 @@ public class RepositoryConverterTest private static String normalizeString( String path ) { - return path.trim().replaceAll( "\r\n", "\n" ).replace( '\r', '\n' ); + return path.trim().replaceAll( "\r\n", "\n" ).replace( '\r', '\n' ).replaceAll( "<\\?xml .+\\?>", "" ); } private void checkSuccess() |