managedDefaultRepository = repoContent;
config = (MockConfiguration) lookup( ArchivaConfiguration.class.getName(), "mock" );
config.getConfiguration().addManagedRepository( repo );
Handler handler = new AbstractHandler()
{
public void handle( String target, HttpServletRequest request, HttpServletResponse response, int dispatch )
throws IOException, ServletException
{
response.setContentType( "text/plain" );