maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: optional jars and surefire
Date Thu, 10 Jun 2010 07:57:44 GMT
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 <uwe@uwe-schaefer.org> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message