FELIX-405: support custom obr repository filenames, such as foo.xml

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@586981 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
index 7440578..5276039 100644
--- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
+++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
@@ -109,7 +109,7 @@
         {
             obrPath = mavenPath + File.separatorChar + "repository.xml";
         }
-        else if( !obrPath.endsWith( "repository.xml" ) )
+        else if( !obrPath.endsWith( ".xml" ) )
         {
             obrPath = obrPath + File.separatorChar + "repository.xml";
         }