Avoid recursively scanning the Tomcat installation directory as this
significantly increases execution time (by almost 5 minutes in my case).