I use:

mvn versions:display-plugin-updates

org.codehaus.mojo:versions-maven-plugin:2.11.0

-U didn't do anything different

Create a nice day!
Stephan H. Wissel

Phone: +65 96673269
Blog <https://www.wissel.net/blog> Twitter <http://twitter.com/notessensei>
LinkedIn <http://sg.linkedin.com/in/notessensei> Xing
<https://www.xing.com/profile/StephanH_Wissel>


On Wed, Jul 27, 2022 at 7:43 PM Delany <delany.middle...@gmail.com> wrote:

> What version of Maven are you running, and, more importantly, what version
> of the versions-maven-plugin?
> Are you invoking it like this:
> mvn org.codehaus.mojo:versions-maven-plugin:2.11.0:display-plugin-updates
> -U
> Delany
>
>
> On Wed, 27 Jul 2022 at 15:59, Stephan Wissel <step...@wissel.net> wrote:
>
> > AFAIK -U updates Snapshot releases. It doesn't update or display newer
> > plugin releases
> >
> > Create a nice day!
> > Stephan H. Wissel
> >
> > Phone: +65 96673269
> > Blog <https://www.wissel.net/blog> Twitter <
> http://twitter.com/notessensei
> > >
> > LinkedIn <http://sg.linkedin.com/in/notessensei> Xing
> > <https://www.xing.com/profile/StephanH_Wissel>
> >
> >
> > On Tue, Jul 26, 2022 at 10:44 AM Delany <delany.middle...@gmail.com>
> > wrote:
> >
> > > Always force an update with the -U switch.
> > > Delany
> > >
> > > On Tue, 26 Jul 2022, 06:55 Stephan Wissel, <step...@wissel.net> wrote:
> > >
> > > > When I run
> > > >
> > > > mvn versions:display-plugin-updates
> > > >
> > > > on my project, I get the result:
> > > >
> > > > [*INFO*] All plugins with a version specified are using the latest
> > > > versions.
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] All plugins have a version specified.
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] Project requires minimum Maven version for build of: 3.8.1
> > > >
> > > > [*INFO*] Plugins require minimum Maven version of: null
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] No plugins require a newer version of Maven than specified
> by
> > > the
> > > > pom.
> > > >
> > > > However when checking maven central, I find newer versions of the
> > plugins
> > > > used.
> > > > (e.g. spotless-maven-plugin -> 2.22.8 -> 2.23.0)
> > > > What do I miss?
> > > >
> > > > Create a nice day!
> > > > Stephan H. Wissel
> > > >
> > > > Blog <https://www.wissel.net/blog> Twitter <
> > > http://twitter.com/notessensei
> > > > >
> > > > LinkedIn <http://sg.linkedin.com/in/notessensei> Xing
> > > > <https://www.xing.com/profile/StephanH_Wissel>
> > > >
> > >
> >
>

Reply via email to