Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addDependency (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec b1 = a.addDependency("b", "1.0");
            ArtifactSpec c = a.addDependency("c", "1.0");
            ArtifactSpec d2 = b1.addDependency("d", "2.0");
            d2.addDependency("h", "1.0");
            ArtifactSpec d1 = c.addDependency("d", "1.0");
            ArtifactSpec b2 = c.addDependency("b", "2.0");
            ArtifactSpec e = b2.addDependency("e", "1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            //
            public ProjectBuilder addDependency(String groupId, String artifactId, String version, String scope) {
                return addDependency(groupId, artifactId, version, scope, (Exclusion) null);
            }
    
            public ProjectBuilder addDependency(
                    String groupId, String artifactId, String version, String scope, Exclusion exclusion) {
    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-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Model model = new Model();
    
            model.addDependency( dep );
    
            Dependency mgd = new Dependency();
            mgd.setGroupId( groupId );
            mgd.setArtifactId( artifactId );
            mgd.setScope( Artifact.SCOPE_TEST );
    
            DependencyManagement depMgmt = new DependencyManagement();
    
            depMgmt.addDependency( mgd );
    
            model.setDependencyManagement( depMgmt );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId( "org.apache.maven.its" );
            exclusion.setArtifactId( "a" );
    
            new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME,
                                                         exclusion );
    
            Set<Artifact> artifactDependencies =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project.setName("Maven");
            project.setVersion("2.0-SNAPSHOT");
            project.setScm(new Scm());
            project.getScm().setConnection("scm-connection");
            project.addDependency(dependency1);
            project.addDependency(dependency2);
            project.setBuild(new Build());
    
            // Build up an artifactMap
            project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

                result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r));
            }
    
            for (org.apache.maven.model.Dependency dependency : model.getDependencies()) {
                result.addDependency(convert(dependency, stereotypes));
            }
    
            DependencyManagement mgmt = model.getDependencyManagement();
            if (mgmt != 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)
Back to top