Fabrizio Giustina wrote:
> mh, you are right: this works but the "build-tools" dependency will
> end up as an (unwanted) project dependency... anyway, a plugin-level
> dependency doesn't work and it's not valid according to the xsd.
> 
> I see this note in Brett commit:
> "don't recommend using extensions, they are resolved too early and put
> into the main classloader which is bound to cause pain. If it doesn't
> work as a plugin dependency, we should fix that."
> 
> I'll rollback my commit in the meanwhile, trying to figure out a
> working solution. Brett, could you give us some more light on
> plugin-level dependencies?

...

<plugin>
  <artifactId>maven-checkstyle-plugin</artifactId>
  <dependencies>
    <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>build-tools</artifactId>
      <version>1.0-SNAPSHOT</version>
    </dependency>
  </dependencies>
</plugin>


...

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to