- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for setFile (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
Throwable error = null; if (project == null) { project = new MavenProject(); project.setFile(pomFile != null ? pomFile.toFile() : null); boolean reactorMember = pomFile != null && session.getProjects() != null // this is for UTsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
this.parent = parent; } public boolean hasParent() { return getParent() != null; } public File getFile() { return file; } public void setFile(File file) { this.file = file; this.basedir = file != null ? file.getParentFile() : null; } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
for (Profile profile : interpolatedActivations) { Activation activation = profile.getActivation(); Optional<Activation> a = Optional.ofNullable(activation); a.map(Activation::getFile).ifPresent(fa -> { Interpolation nt = new Interpolation(fa, s -> profileActivationFilePathInterpolator.interpolate(s, context));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
} } }; Optional<Activation> root = Optional.of(activation); stk.push(new ActivationFrame("activation", root)); root.map(Activation::getFile).ifPresent(fa -> { stk.push(new ActivationFrame("file", Optional.of(fa))); stk.push(new ActivationFrame("exists", Optional.empty())); validator.accept(fa.getExists());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)