Howdy,

This sounds interesting, and yes, we should make it possible.
Thanks
T

On Thu, Feb 6, 2025 at 9:27 AM Lars Bruun-Hansen <lbr...@apache.org> wrote:
>
>
> On 05/02/2025 17.33, Stanimir Stamenkov wrote:
> > Wed, 5 Feb 2025 12:09:57 +0100, /Lars Bruun-Hansen/:
> >
> >> Is there a way to stop the build pom from being deployed?
> >>
> >> Isn't the build pom just noise in Maven Central ?
> >>
> >> Those using Gradle have for years published consumer-only poms into
> >> Central and I haven't heard anyone complain  :-)
> >
> > Have you tried the Flatten Maven Plugin?
> >
> > * https://www.mojohaus.org/flatten-maven-plugin/
> >
> The question is specifically about Maven 4 (and in this case
> modelVersion=4.1.0) which is meant to make the Flatten Plugin redundant.
>
> Anyway, I feel that the default should be that Maven4 would _not_ deploy
> the build pom.  Preferably a switch and it should be opt-in on the
> build-pom deploy, not opt-out. Just my 2c.
>
> I'm just asking what value of deploying the build-pom is? (for
> consumers). Perhaps there's an argument I've overlooked.
>
> /L
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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