- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 63 for exclusions (0.8 sec)
-
maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java
Exclusion exclusion1 = new Exclusion(); exclusion1.setGroupId("*"); exclusion1.setArtifactId("maven-model"); Exclusion exclusion2 = new Exclusion(); exclusion2.setGroupId("org.apache.maven"); exclusion2.setArtifactId("maven-core"); ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Arrays.asList(exclusion1, exclusion2));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Aug 29 15:25:58 UTC 2023 - 6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Exclusion.java
package org.apache.maven.api; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nullable; /** * A dependency exclusion. * * @since 4.0.0 * @see DependencyCoordinate#getExclusions() */ @Experimental public interface Exclusion { @Nullable String getGroupId(); @Nullable String getArtifactId();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 1.1K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
</field> <field> <name>exclusions</name> <version>4.0.0+</version> <description>Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to calculating transitive dependencies.</description> <association> <type>Exclusion</type> <multiplicity>*</multiplicity> </association>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Apr 23 13:29:46 UTC 2024 - 115.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinate.java
@Override public Collection<Exclusion> getExclusions() { return new MappedCollection<>(dependency.getExclusions(), this::toExclusion); } private Exclusion toExclusion(org.eclipse.aether.graph.Exclusion exclusion) { return new Exclusion() { @Nullable @Override public String getGroupId() { return exclusion.getGroupId(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java
map(request.getExclusions(), this::toExclusion))); } } private org.eclipse.aether.graph.Exclusion toExclusion(Exclusion exclusion) { return new org.eclipse.aether.graph.Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*"); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 3.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
@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() { @Nullable @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 16 08:45:24 UTC 2024 - 6.7K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Exclusion}. * */ class ExclusionTest { @Test void testHashCodeNullSafe() { new Exclusion().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Exclusion().equals(null)); new Exclusion().equals(new Exclusion()); } @Test void testEqualsIdentity() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
MavenProject project = session.getCurrentProject(); Exclusion exclusion = new Exclusion(); exclusion.setGroupId( "org.apache.maven.its" ); exclusion.setArtifactId( "a" ); new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME, exclusion ); Set<Artifact> artifactDependencies =
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 4.2K bytes - Viewed (0) -
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)