- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ScopeArtifactFilter (0.12 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java
/** * Tests {@link ScopeArtifactFilter}. * */ class ScopeArtifactFilterTest { private Artifact newArtifact(String scope) { return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null); } @Test void testInclude_Compile() { ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
ScopeArtifactFilter filter; if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) { filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE); } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) { filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE); } else { filter = new ScopeArtifactFilter(expectedScope); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
* scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a * single step. This should be a more efficient implementation of multiple standard {@link ScopeArtifactFilter} * instances ORed together. * */ public class CumulativeScopeArtifactFilter extends AbstractScopeArtifactFilter { private Set<String> scopes; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
{ exclusions.add( e.getGroupId() + ":" + e.getArtifactId() ); } } } ArtifactFilter scopeFilter = new ScopeArtifactFilter( scope ); ArtifactFilter filter; if ( ! exclusions.isEmpty() ) { filter = new AndArtifactFilter( Arrays.asList( new ArtifactFilter[]{
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
deps.add( dep1 ); deps.add( dep2 ); ArtifactFactory factory = container.lookup( ArtifactFactory.class ); ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE ); MavenProject project = new MavenProject( new Model() ); Set<Artifact> result = project.createArtifacts( dependencyFilter );
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0)