Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasMissingArtifacts (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            }
    
            // Transfer Error
    
            if (result.hasErrorArtifactExceptions()) {
                throw result.getErrorArtifactExceptions().get(0);
            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
                        request.getArtifact(),
                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            try {
                result = repositorySystem.resolve(request);
                resolutionErrorHandler.throwErrors(request, result);
            } catch (Exception e) {
                assertTrue(result.hasMissingArtifacts());
            }
        }
    
        @Test
        void testLocalRepositoryBasedir() throws Exception {
            File localRepoDir = new File("").getAbsoluteFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            }
    
            requestedArtifacts.add(artifact);
        }
    
        public Set<Artifact> getRequestedArtifacts() {
            return requestedArtifacts;
        }
    
        public boolean hasMissingArtifacts() {
            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top