Still on creating a reproducer, however not all but only one specific internal 
project seems to be affected


Best Regards
Mirko Friedenhagen
-- 
Sent with my mobile

Am 22.04.25 um 16:24 schrieb Mirko Friedenhagen

> Hi,
> 
> I will give it a try. Stripping down our internal setup is hard. Right now it 
> looks like the bug might be in one of the plugins we use *and* another one in 
> the maven-help-plugin. I report back.
> 
> Mit freundlichen Grüßen
> Mirko Friedenhagen
> — 
> 
> 
> > Am 22.04.2025 um 08:41 schrieb Guillaume Nodet <gno...@apache.org>:
> > 
> > Could you please raise a JIRA issue and provide a small reproducer ? That
> > would really help quickly fixing the issue.
> > 
> > Le lun. 21 avr. 2025 à 15:18, Mirko Friedenhagen
> > <mfriedenha...@gmx.de.invalid> a écrit :
> > 
> >> Hi Tamás,
> >> 
> >> Thanks for the quick answer.
> >> 
> >> I tried
> >> https://repository.apache.org/content/repositories/snapshots/org/apache/maven/apache-maven/4.0.0-rc-4-SNAPSHOT/apache-maven-4.0.0-rc-4-20250419.221526-77-bin.tar.gz
> >> (which corresponds to
> >> https://github.com/apache/maven/commit/bbb20a5c13fac6020c72804d1e2eb48e8caff056)
> >> but help:active-profiles still does not show profiles stemming from 
> >> parents.
> >> 
> >> When I *copy* the profile to a project's pom, the profile is activated.
> >> Same goes for the reactor pom of a multi-module project, copy in the
> >> reactor-pom will work in modules/subprojects as well.
> >> 
> >> Mit freundlichen Grüßen
> >> Mirko Friedenhagen
> >> —
> >> 
> >> 
> >>> Am 21.04.2025 um 14:24 schrieb Tamás Cservenák <ta...@cservenak.net>:
> >>> 
> >>> Howdy,
> >>> 
> >>> RC-3 had a load of issues, mostly fixed on master:
> >>> 
> >> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%204.0.0-rc-4
> >>> 
> >>> Could you please try with a recent (if not latest) master build?
> >>> 
> >> https://repository.apache.org/content/repositories/snapshots/org/apache/maven/apache-maven/4.0.0-rc-4-SNAPSHOT/
> >>> 
> >>> Thanks
> >>> T
> >>> 
> >>> On Mon, Apr 21, 2025 at 2:17 PM <mfriedenha...@gmx.de.invalid> wrote:
> >>>> 
> >>>> 
> >>>> Hi,
> >>>> 
> >>>> we maybe abused file activation a bit and turned on specific packaging
> >> plugins using marker file to activate profiles defined in our company pom.
> >>>> Executions and configurations are already defined in the company pom's
> >> pluginManagement section as well.
> >>>> 
> >>>> So e.g. switching on 3 plugins we use to create DEB files from JARs
> >> could be activated for single modules in a reactor project  by touching a
> >> file `module1/.companypom-profiles/create-deb`.
> >>>> 
> >>>> However with Maven 4 RC3 we found that this does not work anymore. `mvn
> >> help:active-profiles` does not show the profiles with Maven 4 either while
> >> Maven 3.9.9 does, so basically it must be the core which changed behavior.
> >>>> 
> >>>> I understand that using such an approach is at least unusual.
> >>>> I mostly want to know whether this is on purpose or a bug.
> >>>> 
> >>>> Best Regards
> >>>> Mirko Friedenhagen
> >>>> --
> >>>> Sent with my mobile
> >>>> 
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >>>> For additional commands, e-mail: users-h...@maven.apache.org
> >>>> 
> >>> 
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >>> For additional commands, e-mail: users-h...@maven.apache.org
> >>> 
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >> 
> >> 
> > 
> > -- 
> > ------------------------
> > Guillaume Nodet
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 


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

Reply via email to