Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for exclusions (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

     * This information includes the dependency type (main classes, test classes, <i>etc.</i>),
     * a scope (compile, runtime <i>etc.</i>), an obligation (whether the dependency
     * is optional or mandatory), and possible exclusions for transitive dependencies.
     * The {@linkplain #getVersionConstraint() version} and the {@linkplain #getOptional() obligation}
     * may not be defined precisely.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (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;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  4. 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();
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         *
         * @since 3.9.2
         */
        @Config(defaultValue = "inline")
        public static final String MAVEN_PLUGIN_VALIDATION = "maven.plugin.validation";
    
        /**
         * Plugin validation exclusions.
         *
         * @since 3.9.6
         */
        @Config
        public static final String MAVEN_PLUGIN_VALIDATION_EXCLUDES = "maven.plugin.validation.excludes";
    
        /**
         * ProjectBuilder parallelism.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top