apache/maven

Documented bomClassifier - No reference in XSD / Example description

Aperta

#12.661 aperta il 2 ago 2026

 (1 commento) (0 reazioni) (0 assegnatari)Java (2609 fork)batch import
bugdocumentationhelp wanted

Metriche repository

Star
 (4019 stelle)
Metriche merge PR
 (Merge medio 11g 8h) (209 PR mergiate in 30 g)

Descrizione

Affected version

Current WebSite

Bug description

On the description page https://maven.apache.org/whatsnewinmaven4.html#new-packaging-type-bom

Therefore, the Maven team suggests that project BOMs should be generated as classified artifacts, using the <bomClassifier> element. This means that an imported BOM must not come from the same reactor as the current build but be available outside the project before the build.

Here is given a reference to bomClassifier, but there is no reference in the XSD file for Model Version 4.1.0 nor have I found an example how to use bomClassifier

Do I simply miss a thing here?

Guida contributor