Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRepositoryUrl (0.24 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            StringBuilder message = new StringBuilder();
            message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId());
            message.append(": ");
            message.append(resource.getRepositoryUrl()).append(resource.getResourceName());
    
            out.info(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            message.style(STYLE).append(action).append(' ').append(direction).append(' ');
            message.resetStyle().append(resource.getRepositoryId());
            message.style(STYLE).append(": ").append(resource.getRepositoryUrl());
            message.resetStyle().append(resource.getResourceName());
    
            out.println(message.toString());
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
            this.transferStartTime = System.currentTimeMillis();
        }
    
        public String getRepositoryUrl() {
            return repositoryUrl;
        }
    
        public String getName() {
            String name = resource.getName();
    
            if (name == null) {
                name = "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
         * @return The path of the artifact, never {@code null}.
         */
        String getName();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            String message = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
    
            println(
                    "transferInitiated",
                    message + ": " + event.getResource().getRepositoryUrl()
                            + event.getResource().getResourceName());
        }
    
        @Override
        public void transferProgressed(TransferEvent event) {
            TransferResource resource = event.getResource();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

    record TransferResourceIdentifier(String repositoryId, String repositoryUrl, String resourceName, @Nullable File file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top