- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 235 for getfile (0.74 sec)
-
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
} /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @deprecated Use {@link #getPath()} instead. */ @Deprecated public File getFile() { return path.toFile(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @since 4.0.0 */ public Path getPath() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
if (conflictingProject != null) { throw new DuplicateProjectException( projectId, conflictingProject.getFile(), project.getFile(), "Project '" + projectId + "' is duplicated in the reactor"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
this(artifact, null); } public ProjectArtifactMetadata(Artifact artifact, File file) { super(artifact); this.file = file; } public File getFile() { return file; } @Override public String getRemoteFilename() { return getFilename(); } @Override public String getLocalFilename(ArtifactRepository repository) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
*/ private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) { return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals); } /** * This method finds out whether collecting projects failed because of the following scenario:Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
} } artifact.selectVersion(result.getArtifact().getVersion()); artifact.setFile(result.getArtifact().getFile()); artifact.setResolved(true); if (artifact.isSnapshot()) { Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return project.getFile(); } // Get the matching artifact from the project Artifact projectArtifact = findMatchingArtifact(project, artifact); if (projectArtifact != null) { // If the artifact has been associated to a file, use it File packagedArtifactFile = projectArtifact.getFile();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile()); request.addArtifact(pomArtifact); } else if (metadata instanceof SnapshotArtifactRepositoryMetadata || metadata instanceof ArtifactRepositoryMetadata) { // eaten, handled by repo system } else {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
MavenProject project1 = ex1.getResults().get(0).getProject(); assertNotNull(project1); assertEquals("testArtifactMissingVersion", project1.getArtifactId()); assertEquals(pomFile, project1.getFile()); // multi projects build entry point ProjectBuildingException ex2 = assertThrows( ProjectBuildingException.class,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
} else { File file = artifact.getFile(); log.debug(" Included {} located at {}", id, file); realm.addURL(file.toURI().toURL()); } } return CoreExtensionEntry.discoverFrom( realm, Collections.singleton(artifacts.get(0).getFile()), extension.getGroupId() + ":" + extension.getArtifactId(),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.3K bytes - Viewed (0)