Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getRepository (0.11 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
                            RemoteRepository r = (RemoteRepository) result.getRepository();
                            subRequest.setRepositories(Collections.singletonList(r));
                        } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

        }
    
        public void artifactDownloading(RepositoryEvent event) {
            println("artifactDownloading", event.getArtifact() + " from " + event.getRepository());
        }
    
        public void artifactDownloaded(RepositoryEvent event) {
            println("artifactDownloaded", event.getArtifact() + " from " + event.getRepository());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

        }
    
        public int getNature() {
            return isSnapshot() ? SNAPSHOT : RELEASE;
        }
    
        public ArtifactRepository getRepository() {
            return artifact.getRepository();
        }
    
        public void setRepository(ArtifactRepository remoteRepository) {
            artifact.setRepository(remoteRepository);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            String context = request.getContext();
            RemoteRepository remote = request.getRepository();
    
            if (remote != null) {
                path = getPathForRemoteMetadata(metadata, remote, context);
            } else {
                path = getPathForLocalMetadata(metadata);
            }
    
            File file = new File(getRepository().getBasedir(), path);
            if (file.isFile()) {
                result.setFile(file);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            Metadata metadata = request.getMetadata();
    
            String path;
            if (request.getRepository() == null) {
                path = getPathForLocalMetadata(metadata);
            } else {
                path = getPathForRemoteMetadata(metadata, request.getRepository(), request.getContext());
            }
    
            File file = new File(getRepository().getBasedir(), path);
    
            LocalMetadataResult result = new LocalMetadataResult(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                for (String version : versions) {
                    versionIndex.put(version, workspace.getRepository());
                }
            }
    
            for (MetadataResult metadataResult : metadataResults) {
                result.addException(metadataResult.getException());
    
                ArtifactRepository repository = metadataResult.getRequest().getRepository();
                if (repository == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RemoteRepository getRepository();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        int getRetryFailedDeploymentCount();
    
        @Nonnull
        static ArtifactDeployerRequestBuilder builder() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

     */
    @Experimental
    public interface VersionResolverResult {
    
        @Nonnull
        List<Exception> getExceptions();
    
        @Nonnull
        Version getVersion();
    
        @Nonnull
        Optional<Repository> getRepository();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            return artifact.getMetadataList();
        }
    
        /** {@inheritDoc} */
        public void setRepository(ArtifactRepository remoteRepository) {
            artifact.setRepository(remoteRepository);
        }
    
        /** {@inheritDoc} */
        public ArtifactRepository getRepository() {
            return artifact.getRepository();
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                    String message = artifact.getArtifactId() + ": resolved to version " + version;
                    if (artifact.getRepository() != null) {
                        message += " from repository " + artifact.getRepository().getId();
                    } else {
                        message += " from local repository";
                    }
                    getLogger().debug(message);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top