- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,745 for pathOf (0.07 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
ArtifactRepository localRepository = localRepository(); Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE); } this.releases = releases; } public String pathOf(Artifact artifact) { return layout.pathOf(artifact); } public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) { return layout.pathOfRemoteRepositoryMetadata(artifactMetadata); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java
return localRepository.pathOfLocalRepositoryMetadata(metadata, repository); } @Override public String pathOf(Artifact artifact) { return localRepository.pathOf(artifact); } @Override public boolean hasLocalMetadata() { return true; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
wagon.addExpectedContent(repos.get(0).getLayout().pathOf(artifact), "expected"); wagon.addExpectedContent( repos.get(0).getLayout().pathOf(artifact) + ".md5", "cd26d9e10ce691cc69aa2b90dcebbdac"); wagon.addExpectedContent(repos.get(1).getLayout().pathOf(artifact), "expected"); wagon.addExpectedContent( repos.get(1).getLayout().pathOf(artifact) + ".md5", "cd26d9e10ce691cc69aa2b90dcebbdac");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File file = new File(remoteRepo.getBasedir(), path); assertFalse(file.exists(), "Remote artifact " + file + " should not be present."); } protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception { ArtifactRepository localRepo = localRepository(); String path = localRepo.pathOf(artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
if (realLocalRepo) { return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion()))); } return delegate.pathOf(RepositoryUtils.toArtifact(artifact)); } public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context) { return delegate.pathOf(RepositoryUtils.toArtifact(artifact)); }
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/repository/DelegatingLocalArtifactRepository.java
} public String getId() { return userLocalArtifactRepository.getId(); } @Override public String pathOf(Artifact artifact) { return userLocalArtifactRepository.pathOf(artifact); } @Override public String getBasedir() { return (userLocalArtifactRepository != null) ? userLocalArtifactRepository.getBasedir() : null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
// // Derive these from the URL // this.protocol = protocol(url); this.basedir = basedir(url); } public String pathOf(Artifact artifact) { return layout.pathOf(artifact); } public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) { return layout.pathOfRemoteRepositoryMetadata(artifactMetadata); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
request.getArtifact().getVersion()); File pomFile = new File( request.getLocalRepository().getBasedir(), request.getLocalRepository().pathOf(pomArtifact)); try { Model model = modelReader.read(pomFile, null).getDelegate(); dependencies = Dependency.dependencyToApiV3(model.getDependencies());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
ArtifactRepository remoteRepository = remoteRepository(); File deployedFile = new File(remoteRepository.getBasedir(), remoteRepository.pathOf(artifact)); assertTrue(deployedFile.exists()); assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim()); } finally {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)