In What Semantic Version increment to use for a configuration file alteration? the question arose if the version of the artifact should be incremented when the configuration, which is part and deployed with the artifact, changes.
A rule of thumbs seems to be: Whenever the created artifact changes, increment the version.
But what about Maven projects which create WARs and simultaneously a JAR (i.e. maven-war-plugin with
The incremented version reflects the changes made in the WAR, which contains the configuration changes, but the resulting JAR stays the same and may confuse other developers depending on the project.
Are there any good practices how to handle these situations?