prerequisites.maven can only be used in the context of writing maven plugins.
To use it in the context of regular projects, you need to use the maven-enforcer-plugin.
I added a rule regarding Java8 in addition to the Maven rule.
Coverage remained the same at 33.72% when pulling 659c88edf4f06aab640ff25ced3d4522ad8cb91f on dadoonet:pr/maven-warns into f483d699fec8c56ec2c454604d8a4419a5563463 on qwazr:master.
prerequisites.maven
can only be used in the context of writing maven plugins. To use it in the context of regular projects, you need to use themaven-enforcer-plugin
.I added a rule regarding Java8 in addition to the Maven rule.