Jochen,

On Tue, May 31, 2016 at 12:32 AM, Jochen Wiedmann
<[email protected]> wrote:
> Hi,
>
> in the rat-maven-plugin we currently have a hard cored dependency from
> the plugin to the rat core with the same version number. In other
> words, if one would like to use a different version of the rat core,
> one needs to use a different version of the plugin.
>
> This has got an important disadvantage: We can't release the core
> alone. Instead, a Rat release
> consists of a bunch of jar files, making the release process slow,
> burdensome, and generally something that we hesitate to do. (As
> opposed to "Release early, release often".)
>
> Now, I am well aware that I can use a different version of the Rat
> core by declaring it in the plugins extension list, bt my feeling says
> that this is not as it ought to be. I'd rather declare a version
> number in the plugins configuration (the default being hard coded into
> the plugin), and load that version dynamically.
>
> Now my questions:
>
> Is that possible right now?
> If so: How?

I have never used the Rat plugin, but the Maven Checkstyle plugin
supports something like this, by declaring checkstyle as a dependency
of the plugin[1], which can be overridden at runtime in the end user
pom configuration[2].

> If not: There are quite a number of other plugins with the same
> construction, which could benefit
> from such a possibility. (To name but a few: cobertura-maven-plugin,
> antlr-maven-plugin, jaxb-maven-plugin, and so on.) Would you welcome
> some work in that direction? Would someone offer being a Mentor if I
> worked on that?
>
> Thanks,
>
> Jochen
>
>
> --
> The next time you hear: "Don't reinvent the wheel!"
>
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Regards,
Bindul

[1] http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml
[2] 
https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to