Adding repository selector into tomcat startup.