Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ArtifactDescriptorRequest (0.12 sec)

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

            Field field = DefaultArtifactDescriptorReader.class.getDeclaredField("repositoryEventDispatcher");
            field.setAccessible(true);
            field.set(reader, eventDispatcher);
    
            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
    
            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
    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/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

    import org.apache.maven.model.Plugin;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectStepData;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.resolution.DependencyRequest;
    
    /**
     * Helper class to manage {@link RequestTrace} for better error logging.
     *
     * @since 3.9.9
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        @Test
        void testReadArtifactDescriptor() throws Exception {
            Artifact artifact = new DefaultArtifact("ut.simple:artifact:extension:classifier:1.0");
    
            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
            request.setArtifact(artifact);
            request.addRepository(newTestRepository());
    
            ArtifactDescriptorResult result = system.readArtifactDescriptor(session, request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top