Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Just follow http://maven.apache.org/guides/mini/guide-attached-tests.html.

It doesn't explain why you should use

Code Block
<type>test-jar</type>

instead of

Code Block
<classifier>tests</classifier>

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.