Hi Karl,

FYI, TestNG's pom.xml stopped depending on Guice 2.0 recently, please make
sure you're depending on TestNG's latest version (5.14.10).

-- 
Cédric


On Wed, Mar 9, 2011 at 4:25 AM, Karl Heinz Marbaise <k...@soebes.de> wrote:

> Hi Stuart,
>
> first thanks for your answer....
>
>
> Stuart McCulloch wrote:
> >
> > Looks like a known Surefire bug when using TestNG - recent releases of
> > TestNG include Guice 2 as a dependency and it leaks onto the test
> > classpath.
> > Guice 2 doesn't have JSR330 support, hence the error (it only looks for
> > Guice's BindingAnnotation, and doesn't see the javax.inject.Qualifier
> > annotation)
> >
> > Solution is to use this configuration for now:
> >
> >
> >           maven-surefire-plugin
> >           2.7.2
> >
> >             false
> >
> >
> >
>
> I have tried that...may be i missed to mention that my tests where it
> failed
> are integration tests (via maven-failsafe-plugin) but tried the
> configuration there as well and the result was sadly the same ...it doesn't
> work.
>
> However ...may be the reason for not working is that my application uses
> guice 2.0 as well......
>
> Kind regards
> Karl Heinz Marbaise
>
>
> -----
> Kind regards
> Karl Heinz Marbaise
> ----
> http://www.soebes.de
> http://www.skmwiki.de
> http://supose.org/wiki/supose
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Integrate-Maven-Plugin-Code-Mojo-s-into-Application-tp3397120p3415401.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Cédric

Reply via email to