Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for getArtifacts (0.14 sec)

  1. 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)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java

         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            try {
                ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
                ArtifactVersion version2 = node2.getArtifact().getSelectedVersion();
    
                return version1.compareTo(version2) <= 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException {
            return retrieveAvailableVersions(
                    request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            try {
                ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
                ArtifactVersion version2 = node2.getArtifact().getSelectedVersion();
    
                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java

        //
        // Retriever
        //
        void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException;
    
        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
    - 3.4K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
                            relocation.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                @Override
                public Artifact getArtifact() {
                    org.apache.maven.artifact.Artifact artifact =
                            delegate.getMojoDescriptor().getPluginDescriptor().getPluginArtifact();
                    org.eclipse.aether.artifact.Artifact resolverArtifact = RepositoryUtils.toArtifact(artifact);
                    return resolverArtifact != null ? session.getArtifact(resolverArtifact) : null;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            LinkedHashSet<String> visited = new LinkedHashSet<>();
            for (Artifact a = request.getArtifact(); ; ) {
                Artifact pomArtifact = ArtifactDescriptorUtils.toPomArtifactUnconditionally(a);
                try {
                    VersionRequest versionRequest =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Model model = new Model();
    
            model.addDependency( dep );
    
            MavenProject project = new MavenProject( model, repositorySystem );
    
            project.setArtifacts( project.createArtifacts( null ) );
    
            String key = ArtifactUtils.versionlessKey( groupId, artifactId );
    
            Map artifactMap = project.getArtifactMap();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            this.project = project;
    
            artifact.setFile(project.getArtifact().getFile());
            artifact.setResolved(true);
        }
    
        /** {@inheritDoc} */
        public File getFile() {
            // we need to get the latest file for the project, not the artifact that was created at one point in time
            return project.getArtifact().getFile();
        }
    
        /** {@inheritDoc} */
        public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top