In our multi-module project (JBoss AS) we have a module that doesn't
have any main sources.  It just has test sources and surefire runs these
tests.  This module uses "jar" packaging so that we get the test phases
of the lifecycle.  This means that an empty main jar is created and
deployed to the repository.

We also have source jar validation turned on in Nexus, and Nexus
complains during staging because we're deploying a main jar without any
associated source jar.

Is there a best practice for a test-only module like this?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to