Currently the profile foss-parent-verification is set to be activeByDefault (see pom).
However, when another profile is activated (e.g. foss-parent-run-its for running invoker tests because src/it exists), foss-parent-verification is not active anymore (see Maven's introduction-to-profiles). Another example would be during release, where the maven-release-plugin will set performRelease=true, this will inactivate foss-parent-verification as well.
Solution: Activate the profile, when src/main/java exists, the checks are useful only when there are sources anyway.
foss-parent-verification
is set to beactiveByDefault
(see pom).foss-parent-run-its
for running invoker tests becausesrc/it
exists),foss-parent-verification
is not active anymore (see Maven's introduction-to-profiles). Another example would be during release, where themaven-release-plugin
will setperformRelease=true
, this will inactivatefoss-parent-verification
as well.src/main/java
exists, the checks are useful only when there are sources anyway.