You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christopher Ng (Jira)" <ji...@apache.org> on 2024/11/11 15:50:00 UTC
[jira] [Created] (MARTIFACT-80) `ignore` doesn't work on the main module artifact
Christopher Ng created MARTIFACT-80:
---------------------------------------
Summary: `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
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 can not 'fail' the build 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)