- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getExclusions (0.37 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
*/ private void checkUtSimpleArtifactDependencies(Dependency dep1, Dependency dep2) { assertEquals("compile", dep1.getScope()); assertFalse(dep1.isOptional()); assertEquals(0, dep1.getExclusions().size()); Artifact depArtifact = dep1.getArtifact(); assertEquals("ut.simple", depArtifact.getGroupId()); assertEquals("dependency", depArtifact.getArtifactId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
List<String> exclusions = new ArrayList<String>(); for ( Dependency d : project.getDependencies() ) { if ( d.getExclusions() != null ) { for ( Exclusion e : d.getExclusions() ) { exclusions.add( e.getGroupId() + ":" + e.getArtifactId() ); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
return dependency.isOptional(); } @Nonnull @Override public Collection<Exclusion> getExclusions() { return new MappedCollection<>(dependency.getExclusions(), this::toExclusion); } private Exclusion toExclusion(org.apache.maven.api.model.Exclusion exclusion) { return new Exclusion() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
dependency.getVersion(), props, stereotype); List<Exclusion> exclusions = new ArrayList<>(dependency.getExclusions().size()); for (org.apache.maven.model.Exclusion exclusion : dependency.getExclusions()) { exclusions.add(convert(exclusion)); } return new Dependency( artifact, dependency.getScope(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
ArtifactFilter effectiveFilter = inheritedFilter; if (!dependency.getExclusions().isEmpty()) { effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions()); if (inheritedFilter != null) { effectiveFilter = new AndArtifactFilter(Arrays.asList(inheritedFilter, effectiveFilter)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
artifact.setFile(new File(d.getSystemPath())); } if (!d.getExclusions().isEmpty()) { List<String> exclusions = new ArrayList<>(); for (Exclusion exclusion : d.getExclusions()) { exclusions.add(exclusion.getGroupId() + ':' + exclusion.getArtifactId()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
dependency.getClassifier(), null, dependency.getVersion(), props, stereotype); List<Exclusion> exclusions = dependency.getExclusions().stream() .map(RepositoryUtils::toExclusion) .collect(Collectors.toList()); return new Dependency( artifact, dependency.getScope(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0)