You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2025/01/05 07:44:00 UTC
[jira] [Commented] (MARTIFACT-80) `ignore` doesn't work on the main module artifact
[ https://issues.apache.org/jira/browse/MARTIFACT-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909848#comment-17909848 ]
Herve Boutemy commented on MARTIFACT-80:
----------------------------------------
hi [~facboy], thaks for the contribution
I'd like to better understand the use case: can you point me to a sample failing project?
I don't get the problem description (nor in a second stage how code change relates, but that'll be a second step)
> `ignore` doesn't work on the main module artifact
> -------------------------------------------------
>
> Key: MARTIFACT-80
> URL: https://issues.apache.org/jira/browse/MARTIFACT-80
> Project: Maven Artifact Plugin
> Issue Type: Bug
> Components: artifact:compare
> Affects Versions: 3.5.3
> Reporter: Christopher Ng
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0
>
>
> The `ignore` configuration option doesn't work on the main artifact of the module, only on additional attached artifacts.
> Use case I have is that we're building RPMs on a (very) old CentOS version and they have attributes that aren't easily 'fixable' to be cleanly rebuilt. I ignore 'failures' in those individual modules, but when the plugin tries to do the aggregated `buildInfo` on the last module those RPMs aren't ignored, and I don't want to ignore failures for every module in the aggregator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)