refactored to mvn 2.0 (supports empty directory)