I have had luck with the 2.3-SNAPSHOT version in the apache repo and
the 5.1 version of testng;
...
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.1</version>
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
...
<repositories>
<repository>
<id>apache.org</id>
<name>Maven Snapshots</name>
<url>
http://people.apache.org/repo/m2-snapshot-repository </url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Good luck,
-bd-
On 2/28/07, Alexandru Popescu <
the.mindstorm.mailinglist@...> wrote:
>
> On 2/26/07, Watter <
MatthewCWelch@...> wrote:
> >
> > I apologize if this has been double posted. I originally tried to post
> > through Nabble but had issues.
> >
> > I've just spent much of the weekend trying to get Maven and TestNG to
> > cooperate. I'm well aware of the discussion going on in the "Maven2
> > Status... again..." thread, but I thought that this was an attempt to
> > get the latest versions of TestNG and Maven working together. I
> > figured that I could go back a few versions and everything would be
> > fine.
> >
> > Well... if there is a magical combo over version numbers between the
> > surefire plugin and TestNG that works, I can't seem to find it. The
> > 2.2 version of surefire never actually runs my tests no matter what
> > version of TestNG I have set. I tried using the instructions by Jesse
> > Kuhnert on the TestNG site but setting the plugin version to 2.8-
> > SNAPSHOT and using the howardlewisship.com repository doesn't work as
> > the the SNAPSHOT version of the plugin had dependencies on other maven
> > snapshots which weren't in the howardlewisship.com repository. I tried
> > TestNG 4.7 with surefire 2.1.3 and 2.2; other problems.
> >
> > Does anyone have a working TesNG/Maven environment right now? Care to
> > share?
> >
> > I spent weeks convincing the rest of my team, who were long time JUnit
> > users, to switch to TestNG and now I'm looking like the fool. TesNG is
> > clearly the superior testing tool, but with the ability to automate
> > test runs, both locally and on our CI server, I'm kind of stuck.
> >
> >
>
> As A very quick fix I think you can set up TestNG in Maven2 through
> tha Ant Maven2 plugin.
> I know this is not an option for the future, but you can get it working now.
>
> ./alex
> --
> .w( the_mindstorm )p.
> TestNG co-founder
> EclipseTestNG Creator
>
> > >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to
testng-users@...
To unsubscribe from this group, send email to
testng-users-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/testng-users?hl=en-~----------~----~----~----~------~----~------~--~---