Class MavenVersionSpecification

    • Method Detail

      • isRange

        public static boolean isRange​(String version)
        Checks if is the provided version representation is a range. If version is null it is considered to be the "all inclusive range" ("[0,)").
        Parameters:
        version - the version
        Returns:
        true, if is range
      • from

        public static MavenVersionSpecification from​(String version)
        Creates a maven version specification from the given arguments.
        Parameters:
        version - the version
        Returns:
        the maven version specification