Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setDependencyFilter (0.22 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());
            ArtifactRepository rr1 = repositorySystem.createDefaultRemoteRepository();
            a1.setDependencyFilter(new ExcludesArtifactFilter(Arrays.asList("foo")));
    
            Artifact a2 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public ArtifactFilter getDependencyFilter() {
            return artifact.getDependencyFilter();
        }
    
        /** {@inheritDoc} */
        public void setDependencyFilter(ArtifactFilter artifactFilter) {
            artifact.setDependencyFilter(artifactFilter);
        }
    
        /** {@inheritDoc} */
        public ArtifactHandler getArtifactHandler() {
            return artifact.getArtifactHandler();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getDownloadUrl();
    
        void setDownloadUrl(String downloadUrl);
    
        ArtifactFilter getDependencyFilter();
    
        void setDependencyFilter(ArtifactFilter artifactFilter);
    
        ArtifactHandler getArtifactHandler();
    
        List<String> getDependencyTrail();
    
        void setDependencyTrail(List<String> dependencyTrail);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            clone.setAvailableVersions(copyList(artifact.getAvailableVersions()));
            if (artifact.getVersion() != null) {
                clone.setBaseVersion(artifact.getBaseVersion());
            }
            clone.setDependencyFilter(artifact.getDependencyFilter());
            clone.setDependencyTrail(copyList(artifact.getDependencyTrail()));
            clone.setDownloadUrl(artifact.getDownloadUrl());
            clone.setRepository(artifact.getRepository());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            this.downloadUrl = downloadUrl;
        }
    
        @Override
        public ArtifactFilter getDependencyFilter() {
            return dependencyFilter;
        }
    
        @Override
        public void setDependencyFilter(ArtifactFilter artifactFilter) {
            dependencyFilter = artifactFilter;
        }
    
        @Override
        public ArtifactHandler getArtifactHandler() {
            return artifactHandler;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                aaf.add(managedExclusionFilter);
                                                artifact.setDependencyFilter(aaf);
                                            } else {
                                                artifact.setDependencyFilter(managedExclusionFilter);
                                            }
                                        }
                                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            }
    
            if (Artifact.SCOPE_SYSTEM.equals(effectiveScope)) {
                dependencyArtifact.setFile(new File(dependency.getSystemPath()));
            }
    
            dependencyArtifact.setDependencyFilter(createDependencyFilter(dependency, inheritedFilter));
    
            return dependencyArtifact;
        }
    
        private static String getEffectiveScope(String originalScope, String inheritedScope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
                artifact.setDependencyFilter(new ExclusionArtifactFilter(d.getExclusions()));
            }
    
            return artifact;
        }
    
        // DefaultProjectBuilder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                                d.isOptional());
                    }
    
                    if (artifact != null && (dependencyFilter == null || dependencyFilter.include(artifact))) {
                        artifact.setDependencyFilter(dependencyFilter);
    
                        projectArtifacts.add(artifact);
                    }
                }
    
                return projectArtifacts;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                for (Exclusion exclusion : d.getExclusions()) {
                    exclusions.add(exclusion.getGroupId() + ':' + exclusion.getArtifactId());
                }
    
                artifact.setDependencyFilter(new ExcludesArtifactFilter(exclusions));
            }
    
            return artifact;
        }
    
        public Artifact createExtensionArtifact(String groupId, String artifactId, String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top