Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readArtifactDescriptor (0.24 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    
            boolean missingArtifactDescriptor = false;
    
            for (RepositoryEvent evt : event.getAllValues()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
            request.setArtifact(artifact);
            request.addRepository(newTestRepository());
    
            ArtifactDescriptorResult result = system.readArtifactDescriptor(session, request);
    
            List<Dependency> deps = result.getDependencies();
            assertEquals(2, deps.size());
            checkUtSimpleArtifactDependencies(deps.get(0), deps.get(1));
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            this.delegate = new ArtifactDescriptorReaderDelegate();
        }
    
        @Override
        public ArtifactDescriptorResult readArtifactDescriptor(
                RepositorySystemSession session, ArtifactDescriptorRequest request) throws ArtifactDescriptorException {
            ArtifactDescriptorResult result = new ArtifactDescriptorResult(request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top