You mean like moving that feature to a separate module? :-)
That's the cleanest way you could do this. The 'optional' option is just a
workaround for a bad design, IMO.

/Anders
On Thu, Jun 10, 2010 at 09:18, uwe schaefer <[email protected]> wrote:

> hi
>
> i have a project with optional jars. some source files compile against
> them.
> i do not want to force this dependency onto the user, so he can choose
> wether to use a feature requiring these jars.
> when i run the surefire tests, the jars are included in the classpath.
>
> is there a way to rerun the surefire tests WITHOUT these jars?
>
> that would ensure the mentioned feature is cleanly separated from the rest
> of the code.
>
> thanks, uwe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to