You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2007/10/25 00:24:45 UTC
svn commit: r588058 -
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java
Author: carlos
Date: Wed Oct 24 15:24:45 2007
New Revision: 588058
URL: http://svn.apache.org/viewvc?rev=588058&view=rev
Log:
Store the pom File object in the execution request instead of its path, fix possible null values
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java
Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java?rev=588058&r1=588057&r2=588058&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionBuildContext.java Wed Oct 24 15:24:45 2007
@@ -108,7 +108,7 @@
public String getPomFile()
{
- return request.getPom().getAbsolutePath();
+ return request.getPom() == null ? null : request.getPom().getAbsolutePath();
}
public List getProfiles()