Works with maven, but not in eclipse.