scijava / scijava-maven-plugin

A Maven plugin to manage development of SciJava-based software.
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Add flag to fail copy-jars when trying to override artifact with incompatible version #22

Closed stelfrich closed 4 years ago

stelfrich commented 6 years ago

Add a scijava.failOnIncompatibleVersion flag that is false per default so that copy-jars fails if scijava.failOnIncompatibleVersion==true and an incompatible version of an artifact is detected.

In any case, a warning should be logged when overriding an artifact with an incompatible version according to SemVer.

ctrueden commented 4 years ago

The warning about incompatible versions according to SemVer was implemented quite some time ago!