Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for exclusion (0.07 sec)

  1. 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)
  2. compat/maven-model-builder/src/test/resources/poms/validation/missing-dependency-exclusion-id.xml

      <dependencies>
        <dependency>
          <groupId>gid</groupId>
          <artifactId>aid</artifactId>
          <version>1.0</version>
          <exclusions>
            <exclusion>
              <groupId></groupId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-exclusion-id.xml

      <dependencies>
        <dependency>
          <groupId>gid</groupId>
          <artifactId>aid</artifactId>
          <version>1.0</version>
          <exclusions>
            <exclusion>
              <groupId>test?</groupId>
              <artifactId>*</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pom.xml

    				</exclusion>
    				<exclusion>
    					<groupId>org.slf4j</groupId>
    					<artifactId>jcl-over-slf4j</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>javax.activation</groupId>
    					<artifactId>activation</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>javax.activation</groupId>
    					<artifactId>javax.activation-api</artifactId>
    				</exclusion>
    				<exclusion>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                if (exclusion != null) {
                    if (this.exclusions.isEmpty()) {
                        this.exclusions = new ArrayList<>();
                    }
                    this.exclusions.add(exclusion);
                }
                return this;
            }
    
            public DependencyCoordinatesFactoryRequest build() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

                    dependency.getOptional() != null ? dependency.isOptional() : null,
                    exclusions);
        }
    
        private Exclusion convert(org.apache.maven.model.Exclusion exclusion) {
            return new Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*");
        }
    
        private void setArtifactProperties(ArtifactDescriptorResult result, Model model) {
            String downloadUrl = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    exclusions);
        }
    
        private static Exclusion toExclusion(org.apache.maven.model.Exclusion exclusion) {
            return new Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*");
        }
    
        public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) {
            return new MavenArtifactTypeRegistry(handlerManager);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K 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