Class VersionUtil


  • public class VersionUtil
    extends java.lang.Object
    Helper methods to manage dependencies, versions, ...
    • Constructor Summary

      Constructors 
      Constructor Description
      VersionUtil​(org.apache.maven.plugin.logging.Log log, org.apache.maven.project.MavenProject project, org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager, org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.RepositorySystemSession repoSession, boolean isOffline)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkPluginVersion​(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
      Check for a newer version of the plugin
      • Methods inherited from class java.lang.Object

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

      • VersionUtil

        public VersionUtil​(org.apache.maven.plugin.logging.Log log,
                           org.apache.maven.project.MavenProject project,
                           org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager,
                           org.eclipse.aether.RepositorySystem repoSystem,
                           org.eclipse.aether.RepositorySystemSession repoSession,
                           boolean isOffline)
    • Method Detail

      • checkPluginVersion

        public void checkPluginVersion​(java.lang.String groupId,
                                       java.lang.String artifactId,
                                       java.lang.String version)
                                throws org.apache.maven.plugin.MojoExecutionException
        Check for a newer version of the plugin
        Parameters:
        groupId - Group id of the plugin
        artifactId - Artifact id of the plugin
        version - Version of the plugin
        Throws:
        org.apache.maven.plugin.MojoExecutionException