If you provide your pom (please simplify it to only include the issue) it
will be easier to spot any errors.

/Anders

On Thu, Jan 14, 2010 at 11:45, Mark Hobson <[email protected]> wrote:

> Hi there,
>
> Are dependencies defined in pluginManagement meant to work in a
> similar fashion as those defined in the regular plugins block?  For
> example, consider the common use case of supplying a custom checkstyle
> config via a dependency as described at the end of:
>
>
> http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/custom-developed-checkstyle.html
>
> Now if we were to move the plugin block into a pluginManagement block
> then reporting fails as it cannot find the custom checkstyle config.
> Furthermore, if we then also add a regular checkstyle plugin block
> then it works as before.
>
> Has anyone got any insight as to what's happening here?  I can raise
> an issue with a test project if this is deemed to be a bug.
>
> Cheers,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to