Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compress (0.25 sec)

  1. maven-artifact/src/site/apt/index.apt

     with its <<<DefaultArtifact>>> implementation ({{{./xref/org/apache/maven/artifact/DefaultArtifact.html}source}}).
    
     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 30 20:57:07 GMT 2014
    - 1.7K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            return items.hashCode();
        }
    
        // CHECKSTYLE_OFF: LineLength
    
        /**
         * Main to test version parsing and comparison.
         * <p>
         * To check how "1.2.7" compares to "1.2-SNAPSHOT", for example, you can issue
         * <pre>java -jar ${maven.repo.local}/org/apache/maven/maven-artifact/${maven.version}/maven-artifact-${maven.version}.jar "1.2.7" "1.2-SNAPSHOT"</pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
        int getIncrementalVersion();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                        "must be one of " + validVersions + " but is '" + string + "'.",
                        tracker);
            }
    
            return false;
        }
    
        /**
         * Compares two model versions.
         *
         * @param first the first version.
         * @param second the second version.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top