diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java index d06b14ec31..14f750a742 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java +++ b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java @@ -175,14 +175,9 @@ public class MavenSession return request.getBaseDirectory(); } - public void setUsingPOMsFromFilesystem( boolean usingPOMsFromFilesystem ) - { - this.usingPOMsFromFilesystem = usingPOMsFromFilesystem; - } - public boolean isUsingPOMsFromFilesystem() { - return usingPOMsFromFilesystem; + return request.isProjectPresent(); } public Date getStartTime()