Class MavenVersionEnforcer


  • @Component(role=MavenVersionEnforcer.class,
               instantiationStrategy="per-lookup")
    public class MavenVersionEnforcer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ensureMavenVersion​(org.apache.maven.plugin.logging.Log log, org.apache.maven.execution.MavenSession session)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MavenVersionEnforcer

        public MavenVersionEnforcer()
    • Method Detail

      • ensureMavenVersion

        public void ensureMavenVersion​(org.apache.maven.plugin.logging.Log log,
                                       org.apache.maven.execution.MavenSession session)
                                throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException