skip java task if source directory is missing