From 43dcac45b621c4c2ab2219d104524c7a3540a0f0 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 2 Sep 2007 16:43:20 +0000 Subject: [PATCH] o get the information about whether a project is present from the request as per MNG-3177 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572023 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/execution/MavenSession.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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()