You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mirko Friedenhagen <mf...@gmx.de> on 2022/06/25 15:28:01 UTC

Apache 3.8.5 installAtEnd not working when another repository is defined

Hello,

I just ran into this issue:
* In some Maven projects we activate additional repositories in settings.xml with the help of a marker file in a project.
* With 3.8.4 using `installAtEnd` resp. `deployAtEnd` do work properly, with 3.8.5 and 3.8.6 nothing is installed or deployed.
* I created a small sample project with instructions how to reproduce at https://github.com/mfriedenhagen/atend.

Maybe this is related to https://issues.apache.org/jira/browse/MNG-6802?

Best Regards
Mirko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re: Apache 3.8.5 installAtEnd not working when another repository is defined

Posted by mf...@gmx.de.
Hi Tamás,

thanks for the quick answer. Interesting solution to use extension here.

Best Regards 
Mirko Friedenhagen
— 
Sent from my mobile

Am 25.06.22 um 20:10 schrieb Tamás Cservenák

> Created issue https://github.com/mfriedenhagen/atend/issues/1 in your
> reproducer detailing what is needed to be changed and why is needed.
> 
> T
> 
> On Sat, Jun 25, 2022 at 8:04 PM Tamás Cservenák <ta...@cservenak.net> wrote:
> 
> > Howdy,
> >
> > your reproducer works, as long you set m-install-p and m-deploy-p as
> > having extensions.
> > https://gist.github.com/cstamas/191a6bb660c7b1cca1a325248af30d1f
> >
> > I think that w/o settings it just works "by chance" (as it works, try out
> > reproducer w/o -s settings-oss.xml)
> >
> > Once this PR is merged and released
> > https://github.com/apache/maven-install-plugin/pull/15
> >
> > these plugins will work as in your reproducer, w/o extensions=true, but
> > until then, to hade install/deploy at end work you must use plugins as
> > extensions.
> >
> > HTH
> > T
> >
> > On Sat, Jun 25, 2022 at 5:28 PM Mirko Friedenhagen <mf...@gmx.de>
> > wrote:
> >
> >> Hello,
> >>
> >> I just ran into this issue:
> >> * In some Maven projects we activate additional repositories in
> >> settings.xml with the help of a marker file in a project.
> >> * With 3.8.4 using `installAtEnd` resp. `deployAtEnd` do work properly,
> >> with 3.8.5 and 3.8.6 nothing is installed or deployed.
> >> * I created a small sample project with instructions how to reproduce at
> >> https://github.com/mfriedenhagen/atend.
> >>
> >> Maybe this is related to https://issues.apache.org/jira/browse/MNG-6802?
> >>
> >> Best Regards
> >> Mirko
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> 


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


Re: Apache 3.8.5 installAtEnd not working when another repository is defined

Posted by Tamás Cservenák <ta...@cservenak.net>.
Created issue https://github.com/mfriedenhagen/atend/issues/1 in your
reproducer detailing what is needed to be changed and why is needed.

T

On Sat, Jun 25, 2022 at 8:04 PM Tamás Cservenák <ta...@cservenak.net> wrote:

> Howdy,
>
> your reproducer works, as long you set m-install-p and m-deploy-p as
> having extensions.
> https://gist.github.com/cstamas/191a6bb660c7b1cca1a325248af30d1f
>
> I think that w/o settings it just works "by chance" (as it works, try out
> reproducer w/o -s settings-oss.xml)
>
> Once this PR is merged and released
> https://github.com/apache/maven-install-plugin/pull/15
>
> these plugins will work as in your reproducer, w/o extensions=true, but
> until then, to hade install/deploy at end work you must use plugins as
> extensions.
>
> HTH
> T
>
> On Sat, Jun 25, 2022 at 5:28 PM Mirko Friedenhagen <mf...@gmx.de>
> wrote:
>
>> Hello,
>>
>> I just ran into this issue:
>> * In some Maven projects we activate additional repositories in
>> settings.xml with the help of a marker file in a project.
>> * With 3.8.4 using `installAtEnd` resp. `deployAtEnd` do work properly,
>> with 3.8.5 and 3.8.6 nothing is installed or deployed.
>> * I created a small sample project with instructions how to reproduce at
>> https://github.com/mfriedenhagen/atend.
>>
>> Maybe this is related to https://issues.apache.org/jira/browse/MNG-6802?
>>
>> Best Regards
>> Mirko
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

Re: Apache 3.8.5 installAtEnd not working when another repository is defined

Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,

your reproducer works, as long you set m-install-p and m-deploy-p as having
extensions.
https://gist.github.com/cstamas/191a6bb660c7b1cca1a325248af30d1f

I think that w/o settings it just works "by chance" (as it works, try out
reproducer w/o -s settings-oss.xml)

Once this PR is merged and released
https://github.com/apache/maven-install-plugin/pull/15

these plugins will work as in your reproducer, w/o extensions=true, but
until then, to hade install/deploy at end work you must use plugins as
extensions.

HTH
T

On Sat, Jun 25, 2022 at 5:28 PM Mirko Friedenhagen <mf...@gmx.de>
wrote:

> Hello,
>
> I just ran into this issue:
> * In some Maven projects we activate additional repositories in
> settings.xml with the help of a marker file in a project.
> * With 3.8.4 using `installAtEnd` resp. `deployAtEnd` do work properly,
> with 3.8.5 and 3.8.6 nothing is installed or deployed.
> * I created a small sample project with instructions how to reproduce at
> https://github.com/mfriedenhagen/atend.
>
> Maybe this is related to https://issues.apache.org/jira/browse/MNG-6802?
>
> Best Regards
> Mirko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>