- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 269 for getFile (0.18 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
for (MavenProject project : session.getMavenSession().getAllProjects()) { if (id.equals(id(project.getArtifact())) && project.getArtifact().getFile() != null) { return Optional.of(project.getArtifact().getFile().toPath()); } } } Path path = paths.get(id); if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
this.project = project; artifact.setFile(project.getArtifact().getFile()); artifact.setResolved(true); } /** {@inheritDoc} */ @Override public File getFile() { // we need to get the latest file for the project, not the artifact that was created at one point in time return project.getArtifact().getFile(); } /** {@inheritDoc} */ @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
Profile profile = newExistsProfile("file.txt"); assertEquals("file.txt", profile.getActivation().getFile().getExists()); assertActivation(true, profile, context); assertEquals("file.txt", profile.getActivation().getFile().getExists()); } private Profile newExistsProfile(String filePath) { ActivationFile activationFile =
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * Returns the file of the resource. * * @param url * The resource URL. Must not be {@literal null}. * @return The file. */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java
public RuntimeInfo() { this.settings = DEFAULT_USER_SETTINGS_FILE; } public RuntimeInfo(File settings) { this.settings = settings; } public File getFile() { return settings; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java
return artifact.getClassifier(); } @Override public String getVersion() { return artifact.getBaseVersion(); } @Override public File getFile() { return artifact.getFile(); } @Override public String toString() { return artifact.toString(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java
*/ String getVersion(); /** * Gets the file of the constituent's artifact. * * @return The file, never {@code null}. */ File getFile();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
return } if (!fvd.getFile().getName().endsWith(".xml")) { return } String newFileName = fvd.file.name.replaceAll('.xml$', '.html') File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir) outFile.parentFile.mkdirs() execOps.javaexec {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 04 07:24:54 GMT 2024 - 4.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation; /** * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()} * implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.1K bytes - Click Count (0)