Are you using Maven 2 by any chance? If so, please try 3.0.5; Maven 3 has subtly different algorithm for dependency resolution which might be causing your compilation failure.