Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hasMissingArtifacts (0.09 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/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            return resolutionNodes;
        }
    
        public void setArtifactResolutionNodes(Set<ResolutionNode> resolutionNodes) {
            this.resolutionNodes = resolutionNodes;
        }
    
        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.9K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertEquals(m, i.next(), "m should be first");
            assertEquals(n, i.next(), "n should be second");
        }
    
        private void printErrors(ArtifactResolutionResult result) {
            if (result.hasMissingArtifacts()) {
                for (Artifact artifact : result.getMissingArtifacts()) {
                    System.err.println("Missing: " + artifact);
                }
            }
    
            if (result.hasExceptions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. 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