Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for amatch (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    && match(exclusion.getArtifactId(), candidate.getArtifactId());
        }
    
        private boolean match(String match, String text) {
            return match.equals("*") || match.equals(text);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private Model doLoadDependencyManagement(
                Model model,
                ModelBuilderRequest request,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * in the toolchain plugin configuration.
         * @param requirements Map<String, String> key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    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)
  3. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         * "[2.2.1,)", i.e. denotes the minimum version required.
         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
         * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

                if (propValue.startsWith("!")) {
                    reverseValue = true;
                    propValue = propValue.substring(1);
                }
    
                // we have a value, so it has to match the system value...
                return reverseValue != propValue.equals(sysValue);
            } else {
                return reverseName != (sysValue != null && !sysValue.isEmpty());
            }
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
         *         {@code false} if the current key mapping didn't match the expected value and was not updated.
         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
        /**
         * Gets the session data associated with the specified key.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        @Deprecated // This appears only to be used in test code
        public String getModulePathAdjustment(MavenProject moduleProject) throws IOException {
            // FIXME: This is hacky. What if module directory doesn't match artifactid, and parent
            // is coming from the repository??
            String module = moduleProject.getArtifactId();
    
            File moduleFile = moduleProject.getFile();
    
            if (moduleFile != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            Artifact resolvedArtifact = result.getArtifacts().iterator().next();
    
            assertEquals("1.0", resolvedArtifact.getVersion(), "Resolved version don't match original artifact version");
        }
    
        @Test
        void testResolveCompileScopeOverTestScope()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        private boolean isActiveProfile(MavenProject project, Profile activeProfile) {
            return project.getActiveProfiles().stream().anyMatch(p -> p.getId().equals(activeProfile.getId()));
        }
    
        @Test
        void testBuildPluginInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("plugin-interpolation-build", "activeProfile");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            MavenExecutionResult result;
    
            try {
                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
            } catch (RuntimeException e) {
                // TODO Hack to make the cycle detection the same for the new graph builder
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * <li>{@code *,!repo1} = everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top