spdx-maven-plugin icon indicating copy to clipboard operation
spdx-maven-plugin copied to clipboard

Duplicate dependency occurred when using different classifiers

Open nielsm5 opened this issue 3 months ago • 1 comments

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 avatar Sep 23 '25 08:09 nielsm5

@nielsm5 - Thanks for raising the issue. Any ideas on how to map classifiers to the SPDX package properties? Perhaps in the name?

goneall avatar Sep 23 '25 23:09 goneall