For version 1.9-RELEASE of Squash-Ta-Framework the used maven version has migrated from 3.0.4 to 3.3.3. Maven has changed his logging dependencies since 3.1.x, they now uses slf4j facade combined with slf4j-simple implementation (see here for details).
Squash-Ta-Framework logging has always been using slf4j facade combined with log4j implementation and unfortunately, when developping a MOJO such as Squash-TA-Framework, maven native implementation of slf4j (i.e. slf4j-simple) overrides our log4j implementation. In order to keep all the functionalities of log4j we had to slightly modify apache-maven-3.3.3, these modifications are partially explained in apache maven documentation.
Following this apache-documentation still leads to missing classes at runtime so we had to patch maven in order make everything work properly. You can download this patched version here.
If you are stucked with a pre-installed maven installation >= version 3.1.0 here are the instructions to folllow to patch your own maven :
First, you have to remove slf4j-simple jar in your maven lib directory, for example <MAVEN_HOME>/lib/slf4j-simple.jar,
Then, you have to add the following jars in the lib directory : log4j-api-2.5.jar, log4j-core-2.5.jar, log4j-slf4j-impl-2.5.jar and slf4j-ext-1.7.5.jar. Theses jar can be downloaded here and here.
Last but not least you need to add :
"org.apache.logging.slf4j.Log4jLoggerFactory org.apache.maven.cli.logging.impl.Log4j2Configuration"
as a new line in file <MAVEN_HOME>/lib/maven-embedder-3.x.x.jar/META-INF/maven/slf4j-configuration.properties (this last step is a fix for a maven bug).
Eventually re-pack the contents of the jar file and replace the original version in MAVEN_HOME>/lib/.