Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for anyMatch (0.21 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                        .anyMatch(repo -> "child1-repo".equals(repo.getId()));
                assertTrue(child1HasOwnRepo, "Child1 should have its own repository");
    
                // Verify that child2 has its own repository
                boolean child2HasOwnRepo = child2Project.getRemoteArtifactRepositories().stream()
                        .anyMatch(repo -> "child2-repo".equals(repo.getId()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom
    
            assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier())));
            assertTrue(
                    artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "build".equals(a.getClassifier())));
        }
    
        @Test
        void testDeployBuildPomDisabled() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(project.getInjectedProfileIds().get(id).stream().noneMatch("profile1"::equals));
                assertTrue(project.getInjectedProfileIds().get(id).stream().noneMatch("profile2"::equals));
                assertTrue(project.getInjectedProfileIds().get(id).stream().anyMatch("active-by-default"::equals));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

                                + "Found " + repositories.size() + " repositories but only " + set.size()
                                + " unique entries.");
            }
            if (repositories.stream().anyMatch(Objects::isNull)) {
                throw new IllegalArgumentException(
                        "Repository list contains null entries. All repository entries must be non-null RemoteRepository instances.");
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                            .orElse(false);
    
                    // Check if any predecessor failed - if so, we'll run the step but mark it as SKIPPED
                    boolean anyPredecessorFailed = step.predecessors.stream().anyMatch(s -> s.status.get() == FAILED);
    
                    // If any predecessor failed, we'll use a special status transition: CREATED -> SKIPPED
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            }
            return request;
        }
    
        private boolean consumerPomPresent(Collection<Artifact> artifacts) {
            return artifacts.stream()
                    .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier()));
        }
    
        private Collection<Artifact> replacePom(Collection<Artifact> artifacts, boolean deployBuildPom) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify some expected plugins are included
                boolean hasCompilerPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-compiler-plugin".equals(upgrade.artifactId()));
                boolean hasExecPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-exec-plugin".equals(upgrade.artifactId()));
    
                assertTrue(hasCompilerPlugin, "Should include maven-compiler-plugin upgrade");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                String isGetterName = "is" + Character.toUpperCase(propertyName.charAt(0)) + propertyName.substring(1);
                return method.getReplacedAccessors().stream()
                    .anyMatch(replacedAccessor -> replacedAccessor.getName().equals(isGetterName) && replacedAccessor.getDescriptor().equals("()Z"));
            }
            return false;
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                && session.getProjects() != null // this is for UTs
                                && session.getProjects().stream()
                                        .anyMatch(
                                                p -> p.getPomPath().toAbsolutePath().equals(pomFile.toAbsolutePath()));
                        boolean isStandalone = pomFile == null
                                && modelSource != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        if (groupId != null && artifactId != null) {
                            boolean isProjectArtifact = allGAVs.stream()
                                    .anyMatch(gav -> Objects.equals(gav.groupId(), groupId)
                                            && Objects.equals(gav.artifactId(), artifactId));
    
                            if (isProjectArtifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top