- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for artifactFile (0.07 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
String path = repository.pathOf(artifact); File artifactFile = new File(repository.getBasedir(), path); if (!artifactFile.getParentFile().exists()) { artifactFile.getParentFile().mkdirs(); } try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) { writer.write(artifact.getId()); }
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/repository/UserLocalArtifactRepository.java
} @Override public Artifact find(Artifact artifact) { File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); return artifact; } @Override public String getId() {
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/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
} public Artifact find(Artifact artifact) { File artifactFile = new File(getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); if (artifactFile.exists()) { artifact.setResolved(true); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} public Artifact find(Artifact artifact) { File artifactFile = new File(getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); return artifact; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0)