- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Exclusion (0.16 sec)
-
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 DependencyCoordinates#getExclusions() */ @Experimental public interface Exclusion { @Nullable String getGroupId(); @Nullable String getArtifactId();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-dependency-exclusion-id.xml
<dependencies> <dependency> <groupId>gid</groupId> <artifactId>aid</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId></groupId> </exclusion> </exclusions> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-exclusion-id.xml
<dependencies> <dependency> <groupId>gid</groupId> <artifactId>aid</artifactId> <version>1.0</version> <exclusions> <exclusion> <groupId>test?</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 9.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
dependency.getOptional() != null ? dependency.isOptional() : null, exclusions); } private Exclusion convert(org.apache.maven.model.Exclusion exclusion) { return new Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*"); } private void setArtifactProperties(ArtifactDescriptorResult result, Model model) { String downloadUrl = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
import org.apache.maven.model.Exclusion; /** * Filter to exclude from a list of artifact patterns. */ public class ExclusionArtifactFilter implements ArtifactFilter { private final List<Exclusion> exclusions; private final List<Predicate<Artifact>> predicates; public ExclusionArtifactFilter(List<Exclusion> exclusions) { this.exclusions = exclusions; this.predicates =
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-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: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
&& equals(d1.getExclusions(), d2.getExclusions()); } private boolean equals(Collection<Exclusion> ce1, Collection<Exclusion> ce2) { if (ce1.size() == ce2.size()) { Iterator<Exclusion> i1 = ce1.iterator(); Iterator<Exclusion> i2 = ce2.iterator(); while (i1.hasNext() && i2.hasNext()) { if (!equals(i1.next(), i2.next())) {
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/test/projects/project-dependencies-resolver/project-with-exclusions/pom.xml
<artifactId>maven-core-it-support</artifactId> <version>1.3</version> <scope>runtime</scope> <exclusions> <exclusion> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> </exclusions> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/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: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0)