You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Delany <de...@gmail.com> on 2022/08/04 10:35:49 UTC

more details plugin requirements

With all the changes between 3.8.X, 3.9.X and 4.X it would be helpful to
document more details plugin requirements.

For example, I see after updating to maven-deploy-plugin v3.0.0 using the
version-maven-plugin, that the plugin shouldn't be used with Maven 3.8.X
The build indicated this with

*12:18:58*  [WARNING] You are about to deploy a maven-plugin using
Maven 3.8.6.*12:18:58*  [WARNING] This plugin should be used ONLY with
Maven 3.9.0 and newer, as MNG-7055*12:18:58*  [WARNING] is fixed in
those versions of Maven only!


But the documentation doesn't mention it
https://maven.apache.org/plugins/maven-deploy-plugin/plugin-info.html

I'm guessing this applies to other plugins as well, so I bring it up here.

Also is it possible that the versions-maven-plugin could detect this?

I logged a similar issue with an enforcer rule:
https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/2312

Thanks,
Delany

Re: more details plugin requirements

Posted by Konrad Windszus <kw...@apache.org>.
> > But the documentation doesn't mention it
> > https://maven.apache.org/plugins/maven-deploy-plugin/plugin-info.html
> 
> This is autogenerated. Adding such information is not possible.
> 

This can be adjusted via https://maven.apache.org/plugin-tools/maven-plugin-plugin/report-mojo.html#requirements

> 
> > I'm guessing this applies to other plugins as well, so I bring it up here.
> 
> Only two are affected from this issue: m-deploy-p and m-install-p.
> 
> > Also is it possible that the versions-maven-plugin could detect this?
> 
> You have to ask that the maintainers, but there is not such information 
> inside the plugin JAR which could give this hint.
> 
> M
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: more details plugin requirements

Posted by Delany <de...@gmail.com>.
Ok, well there was no mention of this in the announcement.
The email says "Plugin is Java7 level and compatible with Maven 3.2.5+"

I don't think the announcement list should be the only source for this
information. For one thing, its easy to forget to send an email.
There was no announcement about the m-install-p v3.0.1 release.

Delany


On Thu, 4 Aug 2022 at 14:00, Michael Osipov <mi...@apache.org> wrote:

> Am 2022-08-04 um 13:32 schrieb Delany:
> > So you're saying the only way I can know is to run it or interrogate the
> > code?
> > There's no mention of this in the release notes at
> >
> https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.0.0
>
> Because this is irrelevant. The only canonical source is the
> announcement on our mailing list. The GH releases aren't authoritative
> in any way. If our announcement carry a proper ticket for that then we
> have failed to document it properly.
>
> Please note that GH is not an authoritative source for anything.
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: more details plugin requirements

Posted by Michael Osipov <mi...@apache.org>.
Am 2022-08-04 um 13:32 schrieb Delany:
> So you're saying the only way I can know is to run it or interrogate the
> code?
> There's no mention of this in the release notes at
> https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.0.0

Because this is irrelevant. The only canonical source is the 
announcement on our mailing list. The GH releases aren't authoritative 
in any way. If our announcement carry a proper ticket for that then we 
have failed to document it properly.

Please note that GH is not an authoritative source for anything.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: more details plugin requirements

Posted by Delany <de...@gmail.com>.
So you're saying the only way I can know is to run it or interrogate the
code?
There's no mention of this in the release notes at
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.0.0

m-install-p doesn't issue a warning like m-deploy-p does

Kind regards,
Delany


On Thu, 4 Aug 2022 at 12:56, Michael Osipov <mi...@apache.org> wrote:

> Am 2022-08-04 um 12:35 schrieb Delany:
> > With all the changes between 3.8.X, 3.9.X and 4.X it would be helpful to
> > document more details plugin requirements.
> >
> > For example, I see after updating to maven-deploy-plugin v3.0.0 using the
> > version-maven-plugin, that the plugin shouldn't be used with Maven 3.8.X
> > The build indicated this with
> >
> > *12:18:58*  [WARNING] You are about to deploy a maven-plugin using
> > Maven 3.8.6.*12:18:58*  [WARNING] This plugin should be used ONLY with
> > Maven 3.9.0 and newer, as MNG-7055*12:18:58*  [WARNING] is fixed in
> > those versions of Maven only!
> >
> >
> > But the documentation doesn't mention it
> > https://maven.apache.org/plugins/maven-deploy-plugin/plugin-info.html
>
> This is autogenerated. Adding such information is not possible.
>
>
> > I'm guessing this applies to other plugins as well, so I bring it up
> here.
>
> Only two are affected from this issue: m-deploy-p and m-install-p.
>
> > Also is it possible that the versions-maven-plugin could detect this?
>
> You have to ask that the maintainers, but there is not such information
> inside the plugin JAR which could give this hint.
>
> M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: more details plugin requirements

Posted by Michael Osipov <mi...@apache.org>.
Am 2022-08-04 um 12:35 schrieb Delany:
> With all the changes between 3.8.X, 3.9.X and 4.X it would be helpful to
> document more details plugin requirements.
> 
> For example, I see after updating to maven-deploy-plugin v3.0.0 using the
> version-maven-plugin, that the plugin shouldn't be used with Maven 3.8.X
> The build indicated this with
> 
> *12:18:58*  [WARNING] You are about to deploy a maven-plugin using
> Maven 3.8.6.*12:18:58*  [WARNING] This plugin should be used ONLY with
> Maven 3.9.0 and newer, as MNG-7055*12:18:58*  [WARNING] is fixed in
> those versions of Maven only!
> 
> 
> But the documentation doesn't mention it
> https://maven.apache.org/plugins/maven-deploy-plugin/plugin-info.html

This is autogenerated. Adding such information is not possible.


> I'm guessing this applies to other plugins as well, so I bring it up here.

Only two are affected from this issue: m-deploy-p and m-install-p.

> Also is it possible that the versions-maven-plugin could detect this?

You have to ask that the maintainers, but there is not such information 
inside the plugin JAR which could give this hint.

M

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org