We have an artifact that is used only during testing: our unit test framework. It has a compile time dependency on xmlunit, junit artifacts.
I want to assemble a production artifact that has a test scope dependency on our unit test framework artifact. The jars-with-dependencies descriptor, which includes dependencies with 'runtime' scope, includes the unit test framework and its compile time dependencies (junit, xmlunit). I wrote a one-off of the jars-with-dependencies descriptor to try to define one which will not include test scoped dependencies, but what else can I do beyond setting the scope of a dependency set to 'runtime'?? I think I have to explicitly exclude the unit test framework and its dependencies. Any comment? I'm using assembly plugin 2.1. Thanks, John -- View this message in context: http://www.nabble.com/assembly-plugin-and-test-scope-tf3119201s177.html#a8641820 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
