Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addExclusion (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            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" );
            dep2.setArtifactId( "test-artifact2" );
            dep2.setVersion( "1" );
            dep2.setType( "jar" );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                if (systemPath != null && scope.equals(Artifact.SCOPE_SYSTEM)) {
                    d.setSystemPath(systemPath);
                }
    
                if (exclusion != null) {
                    d.addExclusion(exclusion);
                }
    
                project.getDependencies().add(d);
    
                return this;
            }
    
            // Plugins
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .map(candidate -> addExclusions(candidate, exclusions))
                        .collect(Collectors.toList());
                importMgmt = importMgmt.withDependencies(dependencies);
            }
    
            return importMgmt != null ? new DependencyManagement(importMgmt) : null;
        }
    
        private static org.apache.maven.api.model.Dependency addExclusions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top