spdx-maven-plugin
spdx-maven-plugin copied to clipboard
Duplicate dependency occurred when using different classifiers
In our pom we have two dependencies, which are idential except for the classifier.
This creates a 'false-positive' warning: [INFO] Duplicate dependency occurred for net.sf.saxon:Saxon-HE:10.9
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>10.9</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>10.9</version>
<classifier>xqj</classifier>
</dependency>
@nielsm5 - Thanks for raising the issue. Any ideas on how to map classifiers to the SPDX package properties? Perhaps in the name?