Multiple 'archives' configuration artifacts with 'ear' extension not allowed

I’m trying to configure a project with multiple ear artifacts in the ‘archives’ configuration.

The ear’s have different classifiers. Also the exact same build works correctly when the extension is changed to jar,sar,war, etc.

For some reason there can only be one artifact with the ear extension. Is there a reason why this is so?