RE: antrun plugin, junit classpath

2006-09-18 Thread Chris Hilton
You need a dependency like: dependency groupIdant/groupId artifactIdant-junit/artifactId version1.6.5/version /dependency Chris -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul Galbraith Sent: Monday,

Re: antrun plugin, junit classpath

2006-09-18 Thread franz see
Paul Galbraith wrote: I want to use M2's antrun plugin to execute a junit task, but I keep getting errors indicating that ant can't find junit in the classpath. My POM has: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions

RE: antrun plugin, junit classpath

2006-09-18 Thread Peter Anning
Yes the secret is in using the task definition and seeting the dependency on ant-junit _at the pom level_ if you do it at the plugin level then it can't be seen: project ... dependencies !-- callout to ant for integration tests -- dependency groupIdant/groupId

RE: antrun plugin, junit classpath

2006-09-18 Thread franz see
Peter Anning wrote: Yes the secret is in using the task definition and seeting the dependency on ant-junit _at the pom level_ if you do it at the plugin level then it can't be seen: project ... dependencies !-- callout to ant for integration tests -- dependency