You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Florent Biville <fl...@gmail.com> on 2023/10/10 12:38:22 UTC

Dependency JDK convergence rule?

Hello,

I could not find what I'm looking for in the built-in rules of the enforcer
plugin: https://maven.apache.org/enforcer/enforcer-rules/index.html.

Is there something available today to make sure that all dependencies have
the same JDK baseline? Is it even feasible to implement such a check?

Best regards,
Florent

Re: Dependency JDK convergence rule?

Posted by Florent Biville <fl...@gmail.com>.
That's perfect, thanks :)

On Tue, Oct 10, 2023 at 3:02 PM Slawomir Jaranowski <s....@gmail.com>
wrote:

> Hi,
>
> Did you try:
> https://www.mojohaus.org/extra-enforcer-rules/enforceBytecodeVersion.html
>
> wt., 10 paź 2023 o 14:40 Florent Biville <fl...@gmail.com>
> napisał(a):
>
> > Hello,
> >
> > I could not find what I'm looking for in the built-in rules of the
> enforcer
> > plugin: https://maven.apache.org/enforcer/enforcer-rules/index.html.
> >
> > Is there something available today to make sure that all dependencies
> have
> > the same JDK baseline? Is it even feasible to implement such a check?
> >
> > Best regards,
> > Florent
> >
>
>
> --
> Sławomir Jaranowski
>

Re: Dependency JDK convergence rule?

Posted by Slawomir Jaranowski <s....@gmail.com>.
Hi,

Did you try:
https://www.mojohaus.org/extra-enforcer-rules/enforceBytecodeVersion.html

wt., 10 paź 2023 o 14:40 Florent Biville <fl...@gmail.com>
napisał(a):

> Hello,
>
> I could not find what I'm looking for in the built-in rules of the enforcer
> plugin: https://maven.apache.org/enforcer/enforcer-rules/index.html.
>
> Is there something available today to make sure that all dependencies have
> the same JDK baseline? Is it even feasible to implement such a check?
>
> Best regards,
> Florent
>


-- 
Sławomir Jaranowski