- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getRemoteFilename (0.29 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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)