Hi Jason,
Yes, there is a way (Actually, it should be nice to document it in the
checkstyle plugin documentation):
<preGoal name="checkstyle:init">
<ant:path id="maven.dependency.classpath.checkstyle"
location="${pom.getDependencyPath('mygroup:myartifact')}"/>
<maven:addPath id="maven.dependency.classpath"
refid="maven.dependency.classpath.checkstyle"/>
</preGoal>
Hope it helps,
-Vincent
> -----Original Message-----
> From: Morris, Jason [IT] [mailto:[EMAIL PROTECTED]
> Sent: 08 June 2004 11:11
> To: Maven User Group (E-mail)
> Subject: Can I change plugin dependencies locally?
>
> I am using Checkstyle, but I am using my own custom Checks. This means
> Checkstyle has to run with mychecks.jar in the classpath. The only way
I
> can do this is to edit the project.xml for the Checkstyle plugin and
add
> mychecks as a dependency.
>
> Is there a way to do this without "hacking" the plugin itself? Can I
> override a plugin's dependencies from Maven.xml or similar?
>
> Any ideas appreciated,
>
> Jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]