Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for exclusions (0.6 sec)

  1. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    dependency.getOptional() != null ? dependency.isOptional() : null,
                    exclusions);
        }
    
        private static Exclusion toExclusion(org.apache.maven.model.Exclusion exclusion) {
            return new Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*");
        }
    
        public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

                Set<String> exclusions = new LinkedHashSet<>();
    
                for (ClassRealm extensionRealm : extensionRealms) {
                    List<String> excludes = exportedArtifacts.get(extensionRealm);
    
                    if (excludes != null) {
                        exclusions.addAll(excludes);
                    }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            if (!d.getExclusions().isEmpty()) {
                List<String> exclusions = new ArrayList<>();
    
                for (Exclusion exclusion : d.getExclusions()) {
                    exclusions.add(exclusion.getGroupId() + ':' + exclusion.getArtifactId());
                }
    
                artifact.setDependencyFilter(new ExcludesArtifactFilter(exclusions));
            }
    
            return artifact;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 31.6K bytes
    - Viewed (0)
  4. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 0, 2);
    
            assertContains(
                    result.getWarnings().get(0),
                    "'dependencies.dependency.exclusions.exclusion.groupId' for gid:aid:jar is missing");
            assertContains(
                    result.getWarnings().get(1),
                    "'dependencies.dependency.exclusions.exclusion.artifactId' for gid:aid:jar is missing");
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                        manageArtifact(child, managedVersions, listeners);
    
                                        // Also, we need to ensure that any exclusions it presents are
                                        // added to the artifact before we retrieve the metadata
                                        // for the artifact; otherwise we may end up with unwanted
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 36.7K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                return addDependency(groupId, artifactId, version, scope, (Exclusion) null);
            }
    
            public ProjectBuilder addDependency(
                    String groupId, String artifactId, String version, String scope, Exclusion exclusion) {
                return addDependency(groupId, artifactId, version, scope, null, exclusion);
            }
    
            public ProjectBuilder addDependency(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                return addDependency(groupId, artifactId, version, scope, (Exclusion) null);
            }
    
            public ProjectBuilder addDependency(
                    String groupId, String artifactId, String version, String scope, Exclusion exclusion) {
                return addDependency(groupId, artifactId, version, scope, null, exclusion);
            }
    
            public ProjectBuilder addDependency(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                if (result.isEmpty()) {
                    boolean isPlural = excludedProjects.size() > 1;
                    String message = String.format(
                            "The project exclusion%s in --projects/-pl resulted in an "
                                    + "empty reactor, please correct %s.",
                            isPlural ? "s" : "", isPlural ? "them" : "it");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 09:23:26 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.DeploymentRepository;
    import org.apache.maven.api.model.DistributionManagement;
    import org.apache.maven.api.model.Exclusion;
    import org.apache.maven.api.model.Extension;
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.IssueManagement;
    import org.apache.maven.api.model.Model;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top