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,
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
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
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