Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for esclusione (0.62 sec)

  1. 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)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

         * The collection of "G:A" combinations that do NOT belong to Maven Core, hence, should be excluded from
         * "expected in provided scope" type of checks.
         */
        static final Collection<String> EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA =
                Collections.unmodifiableCollection(Arrays.asList(
                        "org.apache.maven:maven-archiver", "org.apache.maven:maven-jxr", "org.apache.maven:plexus-utils"));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/Maven2DependenciesValidator.java

                    .map(Dependency::getArtifact)
                    .filter(d -> "org.apache.maven".equals(d.getGroupId()))
                    .filter(d -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            d.getGroupId() + ":" + d.getArtifactId()))
                    .map(Artifact::getVersion)
                    .filter(v -> v.startsWith("2."))
                    .collect(Collectors.toSet());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

                    .map(org.eclipse.aether.graph.Dependency::getArtifact)
                    .filter(a -> "org.apache.maven".equals(a.getGroupId()))
                    .filter(a -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            a.getGroupId() + ":" + a.getArtifactId()))
                    .filter(a -> a.getVersion().startsWith("3."))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. 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)
  7. 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  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