From 7ac246fd96bab690cd88bb73233055e069dba5ab Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Wed, 24 Oct 2007 22:24:45 +0000 Subject: [PATCH] Store the pom File object in the execution request instead of its path, fix possible null values git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588058 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/execution/ExecutionBuildContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java b/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java index baf69e79d0..4edb3e2e60 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java +++ b/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java @@ -108,7 +108,7 @@ public class ExecutionBuildContext public String getPomFile() { - return request.getPom().getAbsolutePath(); + return request.getPom() == null ? null : request.getPom().getAbsolutePath(); } public List getProfiles()