When using [maven-shade-plugin](https://maven.apache.org/plugins/maven-shade-plugin/), the artifact should likely have a `CONTAINS` relationship with the shaded components, instead of a `DYNAMIC_LINK`. I have a test/demo project for this at https://github.com/raboof/maven-shade-sbom/