Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for getArtifact (0.12 sec)

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

                    "for " + event.getArtifact() + ": " + event.getException().getMessage());
        }
    
        public void artifactDescriptorMissing(RepositoryEvent event) {
            println("artifactDescriptorMissing", "for " + event.getArtifact());
        }
    
        public void artifactInstalled(RepositoryEvent event) {
            println("artifactInstalled", event.getArtifact() + " to " + event.getFile());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            artifact = getArtifact(project, "maven-test-test", "scope-provided");
            assertNull(artifact, "Check no provided dependencies are transitive");
            artifact = getArtifact(project, "maven-test-test", "scope-test");
            assertNull(artifact, "Check no test dependencies are transitive");
    
            artifact = getArtifact(project, "maven-test-test", "scope-compile");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertTrue(result.isResolved());
            Artifact artifact = result.getArtifact();
            assertNotNull(artifact.getFile());
            assertEquals(filename, artifact.getFile().getName());
        }
    
        @Test
        void testResolveArtifacts() throws Exception {
            ArtifactRequest req1 = new ArtifactRequest();
            req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
                        request.getArtifact(),
                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

                    event.getArtifact(),
                    event.getException().getMessage());
        }
    
        @Override
        public void artifactDescriptorMissing(RepositoryEvent event) {
            logger.warn("The POM for {} is missing, no dependency information available", event.getArtifact());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                    }
                }
            }
    
            return null;
        }
    
        public void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException {
            getArtifact(artifact, repository, null, false);
        }
    
        public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Override
        public List<ProducedArtifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
            org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact());
    
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                } else if (data instanceof ArtifactDescriptorRequest request) {
                    return "artifact descriptor request for " + request.getArtifact();
                } else if (data instanceof ArtifactRequest request) {
                    return "artifact request for " + request.getArtifact();
                } else if (data instanceof Plugin plugin) {
                    return "plugin request " + plugin.getId();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

         */
        AuthenticationInfo getAuthenticationInfo(String id);
    
        ProxyInfo getProxy(String protocol);
    
        void getArtifact(Artifact artifact, ArtifactRepository repository)
                throws TransferFailedException, ResourceDoesNotExistException;
    
        void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top