You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2023/05/15 08:17:00 UTC

[jira] [Resolved] (FELIX-6568) Add skip option to maven-bundle-plugin goals

     [ https://issues.apache.org/jira/browse/FELIX-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved FELIX-6568.
-----------------------------------------
    Resolution: Fixed

> Add skip option to maven-bundle-plugin goals
> --------------------------------------------
>
>                 Key: FELIX-6568
>                 URL: https://issues.apache.org/jira/browse/FELIX-6568
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-5.1.8
>            Reporter: Sebastian T
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>              Labels: easyfix
>             Fix For: maven-bundle-plugin-5.1.9
>
>
> It is common for maven plugins to provide a skip parameter which can be configured with e.g. a maven property to control activation of a goal.
> We are configuring the bundle plugin in some parent poms and where we already control execution of several plugins using the skip parameter and would like to do the same for maven bundle plugin.
> I am aware that this can be worked around by using Maven profiles but this in our case has undesirable effects on on the execution order of plugins in the same lifecycle phase.
> Examples of other plugin's implementation of the skip parameter:
> * [https://github.com/apache/maven-enforcer/blob/a06b47ba079b342d69a49d3cbad0fb546000f734/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java#L85]
> * [https://github.com/HubSpot/dependency-scope-maven-plugin/blob/4d53c7c2ad0c26b2bcb79277f63797c3e901767f/src/main/java/com/hubspot/maven/plugins/dependency/scope/DependencyScopeMojo.java#L74]
> * [https://github.com/apache/maven-antrun-plugin/blob/4b24d48b32acb18f3723e82a1268a9e20b0765a4/src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java#L231]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)