Use <type>test-jar</type> instead of <classifier>tests</classifier> -  See http://maven.apache.org/guides/mini/guide-attached-tests.html