Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Watcher (0.14 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
                        return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION;
                    }
                }
            }
            return version;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.containsString;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        public boolean isSnapshot(String version) {
            return checkSnapshot(version);
        }
    
        public static boolean checkSnapshot(String version) {
            return version.endsWith(SNAPSHOT) || SNAPSHOT_TIMESTAMP.matcher(version).matches();
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            return a -> matches(artifact.getGroupId(), a.getGroupId())
                    && matches(artifact.getArtifactId(), a.getArtifactId())
                    && matches(artifact.getBaseVersion(), a.getBaseVersion())
                    && matches(artifact.getExtension(), a.getExtension())
                    && matches(artifact.getClassifier(), a.getClassifier());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family derived from the given OS name
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         *
         * @return The current Maven version or an empty string if unknown, never {@code null}.
         */
        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
         * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        private static int getRelationOrder(String value, RangeValue rangeValue, boolean isLeft) {
            if (rangeValue.value.isEmpty()) {
                return isLeft ? 1 : -1;
            }
    
            value = FILTER_1.matcher(value).replaceAll("");
    
            List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value)));
            List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * @return file representing the tool executable, or null if the tool cannot be found
         */
        String findTool(String toolName);
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second) { return org.hamcrest.core.AllOf.<T>allOf(first, second); } /** * Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers. * <p/> * For example: * <pre>assertThat("myValue", allOf(startsWith("my"), containsString("Val")))</pre> */ public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second,...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
Back to top