Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 57 for exclusions (0.06 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Verifies exclusions listed in dependencyManagement are valid for
     * transitive dependencies.
     *
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                d.getManagementKey(),
                                exclusion);
    
                        validateIdWithWildcards(
                                prefix,
                                "exclusions.exclusion.artifactId",
                                problems,
                                Severity.WARNING,
                                Version.V30,
                                exclusion.getArtifactId(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            if (!d.getExclusions().isEmpty()) {
                List<String> exclusions = new ArrayList<>();
    
                for (Exclusion exclusion : d.getExclusions()) {
                    exclusions.add(exclusion.getGroupId() + ':' + exclusion.getArtifactId());
                }
    
                artifact.setDependencyFilter(new ExcludesArtifactFilter(exclusions));
            }
    
            return artifact;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                        manageArtifact(child, managedVersions, listeners);
    
                                        // Also, we need to ensure that any exclusions it presents are
                                        // added to the artifact before we retrieve the metadata
                                        // for the artifact; otherwise we may end up with unwanted
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     * <ul>
     *   <li>Filters dependencies to include only those with transitive scopes (compile/runtime)</li>
     *   <li>Applies managed dependency metadata (version, scope, optional flag, exclusions) to direct dependencies</li>
     *   <li>Removes managed dependencies that are not used by direct dependencies</li>
     *   <li>Retains only managed dependencies that appear in the resolved dependency tree</li>
     * </ul>
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         */
        default List<String> includes() {
            return List.of();
        }
    
        /**
         * {@return the list of patterns for the files to exclude}
         * The exclusions are applied after the inclusions.
         * The default implementation returns an empty list.
         */
        default List<String> excludes() {
            return List.of();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            excludedPackages.add("org.gradle.plugins.ide.idea.model");
            excludedPackages.add("org.gradle.api.tasks.testing.logging");
    
            // TODO - rename some incubating types to remove collisions and then remove these exclusions
            excludedPackages.add("org.gradle.plugins.binaries.model");
    
            // Exclude classes that were moved in a different package but the deprecated ones are not removed yet
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  9. 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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. 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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
Back to Top