Plugin is going to check project doesn't have depdendecy's versions like RELEASE, SNAPSHOT or others dynamic changing versions.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>io.github.DaniilRoman</groupId>
<artifactId>dependency_restricted_version_checker</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<myCustomRule implementation="RestrictDependencyVersionRule">
<enabled>false</enabled>
</myCustomRule>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependency>
<groupId>io.github.DaniilRoman</groupId>
<artifactId>dependency_restricted_version_checker</artifactId>
<version>1.0</version>
</dependency>