Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRemoteFilename (0.18 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
            return getFilename();
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
        }
    
        private String getFilename() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            path.append(filename);
    
            return path.toString();
        }
    
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) {
            return pathOfRepositoryMetadata(metadata, metadata.getRemoteFilename());
        }
    
        private String formatAsDirectory(String directory) {
            return directory.replace(GROUP_SEPARATOR, PATH_SEPARATOR);
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         */
        String getLocalFilename(ArtifactRepository repository);
    
        /**
         * Get the filename of this metadata on the remote repository.
         *
         * @return the filename
         */
        String getRemoteFilename();
    
        /**
         * Merge a new metadata set into this piece of metadata.
         * TODO this should only be needed on the repository metadata {@link org.apache.maven.artifact.metadata.ArtifactMetadata}
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            path.append(filename);
    
            return path.toString();
        }
    
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) {
            return pathOfRepositoryMetadata(metadata.getRemoteFilename());
        }
    
        @Override
        public String toString() {
            return getId();
        }
    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. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        private Metadata metadata;
    
        protected AbstractRepositoryMetadata(Metadata metadata) {
            this.metadata = metadata;
        }
    
        public String getRemoteFilename() {
            return "maven-metadata.xml";
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return "maven-metadata-" + repository.getKey() + ".xml";
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
        public String getType() {
            return metadata.getRemoteFilename();
        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        public File getFile() {
            return null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top