Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for exclusions (0.07 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            return candidate.withExclusions(Stream.concat(candidate.getExclusions().stream(), exclusions.stream())
                    .toList());
        }
    
        private boolean match(Exclusion exclusion, org.apache.maven.api.model.Dependency candidate) {
            return match(exclusion.getGroupId(), candidate.getGroupId())
                    && match(exclusion.getArtifactId(), candidate.getArtifactId());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  2. 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)
  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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                for (Exclusion exclusion : d.getExclusions()) {
                    if (request.getValidationLevel() < ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_3_0) {
                        validateCoordinateId(
                                prefix,
                                "exclusions.exclusion.groupId",
                                problems,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. 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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. 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)
  9. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  10. 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)
Back to top