Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for exclusions (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                for (Exclusion exclusion : d.getExclusions()) {
                    if (request.getValidationLevel() < ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_3_0) {
                        validateCoordinateId(
                                prefix,
                                "exclusions.exclusion.groupId",
                                problems,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/FileToRawModelMerger.java

                    .map(d -> mergeDependency(d, sourceIterator.next(), sourceDominant, context))
                    .collect(Collectors.toList()));
        }
    
        @Override
        protected void mergeDependency_Exclusions(
                Dependency.Builder builder,
                Dependency target,
                Dependency source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            // don't merge
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.4K 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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. 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(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java

    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     *
     * TODO I think this is equiv. to exclusion set filter in maven-core
     */
    public class ExcludesArtifactFilter extends IncludesArtifactFilter {
        public ExcludesArtifactFilter(List<String> patterns) {
            super(patterns);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinate.java

        @Override
        public Collection<Exclusion> getExclusions() {
            return new MappedCollection<>(dependency.getExclusions(), this::toExclusion);
        }
    
        private Exclusion toExclusion(org.eclipse.aether.graph.Exclusion exclusion) {
            return new Exclusion() {
                @Nullable
                @Override
                public String getGroupId() {
                    return exclusion.getGroupId();
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java

                                map(request.getExclusions(), this::toExclusion)));
            }
        }
    
        private org.eclipse.aether.graph.Exclusion toExclusion(Exclusion exclusion) {
            return new org.eclipse.aether.graph.Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*");
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.3K bytes
    - Viewed (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 DependencyCoordinate#getExclusions()
     */
    @Experimental
    public interface Exclusion {
        @Nullable
        String getGroupId();
    
        @Nullable
        String getArtifactId();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
            Dependency dep2 = new Dependency();
            dep2.setGroupId( "test" );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top