Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getLocalFilename (0.21 sec)

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

            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
            return getFilename();
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
        }
    
        private String getFilename() {
            return getArtifactId() + "-" + artifact.getVersion() + ".pom";
        }
    
    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. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            }
    
            return path.toString();
        }
    
        public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
            return pathOfRepositoryMetadata(metadata.getLocalFilename(repository));
        }
    
        private String pathOfRepositoryMetadata(String filename) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(filename);
    
            return path.toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            }
    
            return path.toString();
        }
    
        public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
            return pathOfRepositoryMetadata(metadata, metadata.getLocalFilename(repository));
        }
    
        private String pathOfRepositoryMetadata(ArtifactMetadata metadata, String filename) {
            StringBuilder path = new StringBuilder(128);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
         *
         * @param repository the remote repository it came from
         * @return the filename
         */
        String getLocalFilename(ArtifactRepository repository);
    
        /**
         * Get the filename of this metadata on the remote repository.
         *
         * @return the filename
         */
        String getRemoteFilename();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        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";
        }
    
        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
    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/LegacyLocalRepositoryManager.java

            public Object getKey() {
                return metadata.toString();
            }
    
            public String getRemoteFilename() {
                return metadata.getType();
            }
    
            public String getLocalFilename(ArtifactRepository repository) {
                return insertRepositoryKey(getRemoteFilename(), repository.getKey());
            }
    
            private String insertRepositoryKey(String filename, String repositoryKey) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top