Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for qualifiers (0.13 sec)

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

                if (RELEASE_QUALIFIERS.contains(qualifier)) {
                    return String.valueOf(QUALIFIERS.indexOf(""));
                }
    
                int i = QUALIFIERS.indexOf(qualifier);
    
                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
    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

                "0"
            };
    
            checkVersionsArrayEqual(arr);
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-6964">MNG-6964</a> edge cases
         * for qualifiers that start with "-0.", which was showing A == C and B == C but A &lt; B.
         */
        @Test
        void testMng6964() {
            String a = "1-0.alpha";
            String b = "1-0.beta";
            String c = "1";
    
    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

                    if (buildNumber == null) {
                        qualifier = part2;
                    }
                } else {
                    qualifier = part2;
                }
            }
    
            if ((!part1.contains(".")) && !part1.startsWith("0")) {
                majorVersion = tryParseInt(part1);
                if (majorVersion == null) {
                    // qualifier is the whole version, including "-"
    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/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertEquals(buildnumber, artifactVersion.getBuildNumber(), parsed + "check build number");
            assertEquals(qualifier, artifactVersion.getQualifier(), parsed + "check qualifier");
            assertEquals(version, artifactVersion.toString(), "check " + version + " string value");
        }
    
        @Test
        void testVersionParsing() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                String version = artifact.getVersion();
    
                if (version.endsWith(SNAPSHOT)) {
                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
    
                SnapshotVersion sv = new SnapshotVersion();
                sv.setClassifier(artifact.getClassifier());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        }
    
        public <T> Provider<T> scope(final Key<T> key, Provider<T> unscoped) {
            Object qualifier = key.getAnnotation() instanceof Named n ? n.value() : key.getAnnotation();
            org.apache.maven.di.Key<T> k =
                    org.apache.maven.di.Key.ofType(key.getTypeLiteral().getType(), qualifier);
            return scope(k, unscoped::get)::get;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/hibernate-orm/runtime/pom.xml
    	quarkus/extensions/smallrye-reactive-messaging/runtime/pom.xml
    quarkus/integration-tests/hibernate-orm-tenancy/connection-resolver-legacy-qualifiers/pom.xml
    	quarkus/extensions/undertow/runtime/pom.xml
    	quarkus/extensions/hibernate-orm/runtime/pom.xml
    	quarkus/extensions/jdbc/jdbc-mariadb/runtime/pom.xml
    	quarkus/extensions/resteasy-classic/resteasy/runtime/pom.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
                merge(SNAPSHOT, infos, versioning.getLastUpdated(), version, repository);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            String version = artifact.getVersion();
            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
            version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
            return addSnapshotVersion(versioning, artifact.getExtension(), timestamp, version, buildNumber);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/site/apt/logging.apt

    import org.slf4j.LoggerFactory;
    
    public class MyClass
    {
       final Logger logger = LoggerFactory.getLogger( MyClass.class );
    }
    +-----+
    
    * Logger Name
    
     Logger name is basically the classical fully qualified class name: it's not visible by default, but can be activated (see {{{/maven-logging.html}user documentation}}).
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top