Skip to content

Strip executable() conditions from consumer POMs #12570

Description

@gnodet

Context

PR #12332 added the executable() function for conditional profile activation (MNG-8768). During review, it was identified that executable() conditions survive into published consumer POMs via DefaultConsumerPomBuilder, which means:

Proposal

Strip executable() conditions from consumer POMs during DefaultConsumerPomBuilder processing, similar to how <build> sections are stripped from profiles. This ensures the function remains useful for local build decisions without polluting published artifacts.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions