Just follow http://maven.apache.org/guides/mini/guide-attached-tests.html.
It doesn't explain why you should use
instead of
but one reason I can think of is that by using the type tag, you reduce the possible confusion with using type of jar and classifier of tests.
Labels
