Re: Prepare maven-plugin-tools release 3.6.2

2021-11-02 Thread Slawomir Jaranowski
Thanks.

I corrected deprecated artifacts.

It can be a good idea that plugin-tools check also other good practices for
plugin developments like deprecated artifacts.


wt., 2 lis 2021 o 21:33 Tamás Cservenák  napisał(a):

> Slawomir,
>
> do NOT use o.s.p deprecated dependency. I don't know which is your plugin,
> but you may need some similar change like this:
> https://github.com/schrepfler/jira-maven-plugin/pull/178
>
> HTH
> T
>
> On Sun, Oct 31, 2021 at 10:33 AM Slawomir Jaranowski <
> s.jaranow...@gmail.com>
> wrote:
>
> > Hi
> >
> > I tried in my plugin recommendation from
> > https://issues.apache.org/jira/browse/MPLUGIN-370
> >
> > I put in the provided scope all org.apache.maven:maven-* artifacts 
> >
> > I use in plugin
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
> > which is in org.sonatype.plexus:plexus-sec-dispatcher
> > plexus-sec-dispatcher  is as transitive dependency from maven-core ->
> > maven-settings-builder
> > So when I had maven-core in the compile scope everything was working but
> > with provided scope it stopped working because  plexus-sec-dispatcher  is
> > not exported by maven.
> >
> > I added plexus-sec-dispatcher as a direct dependency in the compile
> > scope and the problem is solved.
> >
> > Question: Are we sure that all needed org.apache.maven:maven-* are
> exported
> > by maven?
> >
> > We can have a situation when one of org.apache.maven:maven-* will not be
> > exported by maven and we can not use it in a plugin because plugin-tools
> > forbid it.
> >
> > I don't know if some of org.apache.maven:maven-* which is not exported by
> > maven can be needed by plugin.
> >
> >
> >
> >
> >
> > pt., 22 paź 2021 o 12:25 Eric Lilja  napisał(a):
> >
> > > Now that's a good list of changes, thank you for doing that and I'm
> > really
> > > looking forward to this release!
> > >
> > > - Eric L
> > >
> > > On Fri, Oct 22, 2021 at 10:12 AM Michael Osipov 
> > > wrote:
> > >
> > > > Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:
> > > > > Howdy,
> > > > >
> > > > > I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about
> > to
> > > > > happen soon.
> > > > > If anyone has something more to add, please push it now.
> > > > >
> > > > > Planned changes (already merged):
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2
> > > >
> > > > *Fantastic*
> > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > > For additional commands, e-mail: dev-h...@maven.apache.org
> > > >
> > > >
> > >
> >
> >
> > --
> > Sławomir Jaranowski
> >
>


-- 
Sławomir Jaranowski


Re: Prepare maven-plugin-tools release 3.6.2

2021-11-02 Thread Tamás Cservenák
Slawomir,

do NOT use o.s.p deprecated dependency. I don't know which is your plugin,
but you may need some similar change like this:
https://github.com/schrepfler/jira-maven-plugin/pull/178

HTH
T

On Sun, Oct 31, 2021 at 10:33 AM Slawomir Jaranowski 
wrote:

> Hi
>
> I tried in my plugin recommendation from
> https://issues.apache.org/jira/browse/MPLUGIN-370
>
> I put in the provided scope all org.apache.maven:maven-* artifacts 
>
> I use in plugin org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
> which is in org.sonatype.plexus:plexus-sec-dispatcher
> plexus-sec-dispatcher  is as transitive dependency from maven-core ->
> maven-settings-builder
> So when I had maven-core in the compile scope everything was working but
> with provided scope it stopped working because  plexus-sec-dispatcher  is
> not exported by maven.
>
> I added plexus-sec-dispatcher as a direct dependency in the compile
> scope and the problem is solved.
>
> Question: Are we sure that all needed org.apache.maven:maven-* are exported
> by maven?
>
> We can have a situation when one of org.apache.maven:maven-* will not be
> exported by maven and we can not use it in a plugin because plugin-tools
> forbid it.
>
> I don't know if some of org.apache.maven:maven-* which is not exported by
> maven can be needed by plugin.
>
>
>
>
>
> pt., 22 paź 2021 o 12:25 Eric Lilja  napisał(a):
>
> > Now that's a good list of changes, thank you for doing that and I'm
> really
> > looking forward to this release!
> >
> > - Eric L
> >
> > On Fri, Oct 22, 2021 at 10:12 AM Michael Osipov 
> > wrote:
> >
> > > Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:
> > > > Howdy,
> > > >
> > > > I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about
> to
> > > > happen soon.
> > > > If anyone has something more to add, please push it now.
> > > >
> > > > Planned changes (already merged):
> > > >
> > >
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2
> > >
> > > *Fantastic*
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
> > >
> > >
> >
>
>
> --
> Sławomir Jaranowski
>


Re: Prepare maven-plugin-tools release 3.6.2

2021-10-31 Thread Romain Manni-Bucau
I fear org.apache.maven:maven-* regex is not that accurate and that we fall
again in the blurry API definition for plugins. Maybe defining a pom
artifact "maven-plugin-api" importing all API exported and *stable* for
plugin can make sense to solve that since part of o.a.m:maven* artifacts
are actually internals of maven-core and not plugin ones - even if exported
for classloading reasons.

Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le dim. 31 oct. 2021 à 10:33, Slawomir Jaranowski 
a écrit :

> Hi
>
> I tried in my plugin recommendation from
> https://issues.apache.org/jira/browse/MPLUGIN-370
>
> I put in the provided scope all org.apache.maven:maven-* artifacts 
>
> I use in plugin org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
> which is in org.sonatype.plexus:plexus-sec-dispatcher
> plexus-sec-dispatcher  is as transitive dependency from maven-core ->
> maven-settings-builder
> So when I had maven-core in the compile scope everything was working but
> with provided scope it stopped working because  plexus-sec-dispatcher  is
> not exported by maven.
>
> I added plexus-sec-dispatcher as a direct dependency in the compile
> scope and the problem is solved.
>
> Question: Are we sure that all needed org.apache.maven:maven-* are exported
> by maven?
>
> We can have a situation when one of org.apache.maven:maven-* will not be
> exported by maven and we can not use it in a plugin because plugin-tools
> forbid it.
>
> I don't know if some of org.apache.maven:maven-* which is not exported by
> maven can be needed by plugin.
>
>
>
>
>
> pt., 22 paź 2021 o 12:25 Eric Lilja  napisał(a):
>
> > Now that's a good list of changes, thank you for doing that and I'm
> really
> > looking forward to this release!
> >
> > - Eric L
> >
> > On Fri, Oct 22, 2021 at 10:12 AM Michael Osipov 
> > wrote:
> >
> > > Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:
> > > > Howdy,
> > > >
> > > > I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about
> to
> > > > happen soon.
> > > > If anyone has something more to add, please push it now.
> > > >
> > > > Planned changes (already merged):
> > > >
> > >
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2
> > >
> > > *Fantastic*
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
> > >
> > >
> >
>
>
> --
> Sławomir Jaranowski
>


Re: Prepare maven-plugin-tools release 3.6.2

2021-10-31 Thread Slawomir Jaranowski
Hi

I tried in my plugin recommendation from
https://issues.apache.org/jira/browse/MPLUGIN-370

I put in the provided scope all org.apache.maven:maven-* artifacts 

I use in plugin org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
which is in org.sonatype.plexus:plexus-sec-dispatcher
plexus-sec-dispatcher  is as transitive dependency from maven-core ->
maven-settings-builder
So when I had maven-core in the compile scope everything was working but
with provided scope it stopped working because  plexus-sec-dispatcher  is
not exported by maven.

I added plexus-sec-dispatcher as a direct dependency in the compile
scope and the problem is solved.

Question: Are we sure that all needed org.apache.maven:maven-* are exported
by maven?

We can have a situation when one of org.apache.maven:maven-* will not be
exported by maven and we can not use it in a plugin because plugin-tools
forbid it.

I don't know if some of org.apache.maven:maven-* which is not exported by
maven can be needed by plugin.





pt., 22 paź 2021 o 12:25 Eric Lilja  napisał(a):

> Now that's a good list of changes, thank you for doing that and I'm really
> looking forward to this release!
>
> - Eric L
>
> On Fri, Oct 22, 2021 at 10:12 AM Michael Osipov 
> wrote:
>
> > Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:
> > > Howdy,
> > >
> > > I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about to
> > > happen soon.
> > > If anyone has something more to add, please push it now.
> > >
> > > Planned changes (already merged):
> > >
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2
> >
> > *Fantastic*
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
>


-- 
Sławomir Jaranowski


Re: Prepare maven-plugin-tools release 3.6.2

2021-10-22 Thread Eric Lilja
Now that's a good list of changes, thank you for doing that and I'm really
looking forward to this release!

- Eric L

On Fri, Oct 22, 2021 at 10:12 AM Michael Osipov  wrote:

> Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:
> > Howdy,
> >
> > I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about to
> > happen soon.
> > If anyone has something more to add, please push it now.
> >
> > Planned changes (already merged):
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2
>
> *Fantastic*
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


Re: Prepare maven-plugin-tools release 3.6.2

2021-10-22 Thread Michael Osipov

Am 2021-10-22 um 07:52 schrieb Tamás Cservenák:

Howdy,

I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about to
happen soon.
If anyone has something more to add, please push it now.

Planned changes (already merged):
https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2


*Fantastic*


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



Prepare maven-plugin-tools release 3.6.2

2021-10-21 Thread Tamás Cservenák
Howdy,

I just wanted a heads up, that 3.6.2 of maven-plugin-tools is about to
happen soon.
If anyone has something more to add, please push it now.

Planned changes (already merged):
https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPLUGIN%20AND%20fixVersion%20%3D%203.6.2

Thanks
T