On Wed, Sep 17, 2008 at 10:32 AM, Johannes Schneider
<[EMAIL PROTECTED]> wrote:


> Those dependencies are necessary for the tests to run successfully. And
> I want them to be optional for the main sources.
> I have added them two times.
>
> What do you think about this? Is this a mistake? What is the "maven way"
> for this?

They shouldn't be added twice.

Simply using test scope should do what you want... it will be on the
classpath for compiling and tests, and will not be be transitive.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to