that the tests in another subproject depend on. Other times, I have tests that need to be run in a certain environment
(inside of a container), and I need to war.bundle the test jar into a war.
Currently, my options for doing this are:
1) Do some maven.xml magic to build a test jar whenever the main jar is built, and install the test jar whenever the
main jar is installed.
2) Put the unit tests in a separate project from the classes that they are testing, so they will be in the sourceDirectory
instead of the unitTestSourceDirectory, and therefore easy to build and install.
But, as I've suggested, I think this would be easier if there were goals to build and install test jars.
Anyone else agree?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
