The requireReleaseDeps built-in rule of the maven-enforcer-plugin does not apply for dependencies of plugins. It is a quite rare case, but plugins can carry their own dependencies to augment their default behaviour.
If someone is interested in checking for SNAPSHOT dependencies of plugins, configure the maven-enforcer-plugin in this way:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<!-- Add this rule (don't forget the 'implementation' hint! ) -->
<requireReleaseDepsInPlugins implementation="org.apache.maven.enforcer.rule.requireReleaseDepsInPlugins" />
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
<dependencies>
<!-- Add this dependency to the plugin -->
<dependency>
<groupId>io.github.thefolle</groupId>
<artifactId>glowing-waffle</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</plugin>
glowing-waffle is a collection of custom rules for the enforcer plugin. It defines the requireReleaseDepsInPlugins rule.