[MRM-1761] add unit test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549543 13f79535-47bb-0310-9956-ffa450edef68
[MRM-1761] add unit test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549544 13f79535-47bb-0310-9956-ffa450edef68
exclude test repo files from rat

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549545 13f79535-47bb-0310-9956-ffa450edef68
remove non used code

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549546 13f79535-47bb-0310-9956-ffa450edef68