Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ComparableVersion (0.1 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    + " comparison result:");
            if (args.length == 0) {
                return;
            }
    
            ComparableVersion prev = null;
            int i = 1;
            for (String version : args) {
                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            }
        }
    
        @Test
        public void testMng7714() {
            ComparableVersion f = new ComparableVersion("1.0.final-redhat");
            ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat");
            ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat");
            ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat");
            assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

        private Integer majorVersion;
    
        private Integer minorVersion;
    
        private Integer incrementalVersion;
    
        private Integer buildNumber;
    
        private String qualifier;
    
        private ComparableVersion comparable;
    
        public DefaultArtifactVersion(String version) {
            parseVersion(version);
        }
    
        @Override
        public int hashCode() {
            return 11 + comparable.hashCode();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/site/apt/index.apt

    2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
       3.2.4-SNAPSHOT < 3.2.4.0
    3. 3.2.4.0 == 3.2.4
    +----+
    
    * Useful entry points
    
     * artifact version comparison {{{./apidocs/org/apache/maven/artifact/versioning/ComparableVersion.html}javadoc}},
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-artifact/pom.xml

            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
              <archive>
                <manifestEntries>
                  <Main-Class>org.apache.maven.artifact.versioning.ComparableVersion</Main-Class>
                </manifestEntries>
              </archive>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top