Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 225 for exclusion (0.05 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 22:23:23 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. impl/maven-core/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * @param includes the patterns of files to include, or null/empty for including all files
         * @param excludes the patterns of files to exclude, or null/empty for no exclusion
         * @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns
         * @return a PathMatcher that can be used to test if paths should be included
         * @throws NullPointerException if baseDirectory is null
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. compat/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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) {
                List<Exclusion> tgt = target.getExclusions();
                if (tgt.isEmpty()) {
                    List<Exclusion> src = source.getExclusions();
    
                    for (Exclusion element : src) {
                        Exclusion clone = element.clone();
                        target.addExclusion(clone);
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t09/p0/pom.xml

          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t09-b</artifactId>
            <version>1.0</version>
            <exclusions>
              <exclusion>
                <groupId>maven-test</groupId>
                <artifactId>t09-c</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
    
        </dependencies>
    
      </dependencyManagement>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 815 bytes
    - Viewed (0)
  10. android/guava-testlib/pom.xml

          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <!-- use the guava we're building. -->
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 17:59:17 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top