Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for exclusions (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    }
                }
            }
    
            private void visit(Exclusion exclusion) {
                if (exclusion != null) {
                    String org, val;
                    // GroupId
                    org = exclusion.getGroupId();
                    val = interpolate(org);
                    if (org != val) {
                        exclusion.setGroupId(val);
                    }
                    // ArtifactId
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

        }
    
        private static boolean exclusionsEquals(List<Exclusion> a, List<Exclusion> b) {
            if (a.size() != b.size()) {
                return false;
            }
    
            Iterator<Exclusion> aI = a.iterator();
            Iterator<Exclusion> bI = b.iterator();
    
            while (aI.hasNext()) {
                Exclusion aD = aI.next();
                Exclusion bD = bI.next();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top