I don't understand, I have now run it again and I don't get the warning anymore? Maybe I've had some unused import or something before?
regards, Wim 2008/9/5 Brett Porter <[EMAIL PROTECTED]> > I don't have that problem (TestNG 5.8). > Are you sure that you're not using the JUnit assert classes, etc? > > Cheers, > Brett > > 2008/9/1 Wim Deblauwe <[EMAIL PROTECTED]> > > > Hi, > > > > when I run 'mvn dependency:analyze' I always get this warning: > > > > [WARNING] Used undeclared dependencies found: > > [WARNING] junit:junit:jar:3.8.1:test > > > > I assume it is because I use TestNG and that has a transitive dependency > on > > JUnit. Why should I declare a direct dependency on JUnit if I don't use > > JUnit directly? > > > > regards, > > > > Wim > > > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ >
