Can I make it an error if someone tries to use two different versions
of the same dependency with different classifiers?
For example, this works, but I want it to cause an error:
<dependency>
<groupId>ad.3rdparty</groupId>
<artifactId>zlib</artifactId>
<version>[1.2.5]</version>
<type>zip</type>
<classifier>dlls</classifier>
</dependency>
<dependency>
<groupId>ad.3rdparty</groupId>
<artifactId>zlib</artifactId>
<version>[1.2.6]</version>
<type>zip</type>
<classifier>libs</classifier>
</dependency>
</dependencies>
Having libs from one version of zlib and dlls from another version of
zlib is going to cause build or runtime errors. I want to catch it
here during dependency resolution.
Thanks,
Phillip
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]