You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Slawomir Jaranowski <s....@gmail.com> on 2021/09/22 19:15:12 UTC
Mojo Descriptor ... outdated documentation?
Hi,
We have documentation about the Mojo descriptor and plugin api... [1]
Its look like params:
- executionStrategy
- requiresDirectInvocation
- inheritByDefault (PluginDescriptorBuilder - use only inheritedByDefault)
- requiresReports
are not used currently, I was looking in 3.8.x and master branch.
I'm looking for method to disable direct plugin execution so I've started
to read documentation ....
[1]
https://maven.apache.org/developers/mojo-api-specification.html#the-descriptor-and-annotations
--
Sławomir Jaranowski
https://twitter.com/SlawekJaran
https://github.com/slawekjaranowski
https://linkedin.com/in/slawomirjaranowski
Re: Mojo Descriptor ... outdated documentation?
Posted by Slawomir Jaranowski <s....@gmail.com>.
I created issues for those: MPLUGIN-374, MPLUGIN-375
I see that you are in preparing some changes to maven-plugin-tools this
change can be done by the way,
please comment issue - I can fix it
Last time I searched for this information and I have some dubiou about how
it works, so actual tools and documentation can help other plugin
developers.
śr., 22 wrz 2021 o 21:33 Tamás Cservenák <ta...@cservenak.net> napisał(a):
> Howdy,
>
> requiresReports is unsupported since Maven 3, unsure if I would add it
> doco at all (rather would remove it).
>
> Thanks
> T
>
> On Wed, Sep 22, 2021 at 9:15 PM Slawomir Jaranowski <
> s.jaranowski@gmail.com>
> wrote:
>
> > Hi,
> >
> > We have documentation about the Mojo descriptor and plugin api... [1]
> >
> > Its look like params:
> >
> > - executionStrategy
> > - requiresDirectInvocation
> > - inheritByDefault (PluginDescriptorBuilder - use only
> > inheritedByDefault)
> > - requiresReports
> >
> > are not used currently, I was looking in 3.8.x and master branch.
> >
> > I'm looking for method to disable direct plugin execution so I've started
> > to read documentation ....
> >
> > [1]
> >
> >
> https://maven.apache.org/developers/mojo-api-specification.html#the-descriptor-and-annotations
> >
> >
> > --
> > Sławomir Jaranowski
> >
> > https://twitter.com/SlawekJaran
> > https://github.com/slawekjaranowski
> > https://linkedin.com/in/slawomirjaranowski
> >
>
--
Sławomir Jaranowski
Re: Mojo Descriptor ... outdated documentation?
Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,
requiresReports is unsupported since Maven 3, unsure if I would add it
doco at all (rather would remove it).
Thanks
T
On Wed, Sep 22, 2021 at 9:15 PM Slawomir Jaranowski <s....@gmail.com>
wrote:
> Hi,
>
> We have documentation about the Mojo descriptor and plugin api... [1]
>
> Its look like params:
>
> - executionStrategy
> - requiresDirectInvocation
> - inheritByDefault (PluginDescriptorBuilder - use only
> inheritedByDefault)
> - requiresReports
>
> are not used currently, I was looking in 3.8.x and master branch.
>
> I'm looking for method to disable direct plugin execution so I've started
> to read documentation ....
>
> [1]
>
> https://maven.apache.org/developers/mojo-api-specification.html#the-descriptor-and-annotations
>
>
> --
> Sławomir Jaranowski
>
> https://twitter.com/SlawekJaran
> https://github.com/slawekjaranowski
> https://linkedin.com/in/slawomirjaranowski
>