mesos: use JavaDependency.
tomcat-native: use JavaDependency.
pylucene: use JavaDependency.