You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Luc Maisonobe (Jira)" <ji...@apache.org> on 2019/10/16 10:23:00 UTC

[jira] [Commented] (FELIX-4776) Add true for configuration of maven-bundle-plugin

    [ https://issues.apache.org/jira/browse/FELIX-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952699#comment-16952699 ] 

Luc Maisonobe commented on FELIX-4776:
--------------------------------------

I would love to see a skip configuration for this plugin.

It seems most maven plugin do have one. When building multi-module projects, some modules do not generate anything but are convenience, they are of type pom and this is ignored by maven-bundle-plugin. However, ignoring these modules generates a warning:

[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]

 

This does creates problems with continuous integration, for example in the Jenkins Warnings Next Generation Plugin as the warning is parsed and reported with severity Normal.

> Add <skip>true</skip> for configuration of maven-bundle-plugin
> --------------------------------------------------------------
>
>                 Key: FELIX-4776
>                 URL: https://issues.apache.org/jira/browse/FELIX-4776
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.5.3
>            Reporter: Stefan Itu
>            Priority: Minor
>              Labels: maven, maven-bundle-plugin, plugin
>
> It would be nice to have a way to skip the execution of the plugin in some cases (e.g. when packaging is pom) to avoid having a warning log message in Maven build.
> A configuration like <skip>true</skip> would be great.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)