From 5b7cea23b36ad69d5db3be808b150ed752925314 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Fri, 9 Dec 2005 00:40:15 +0000 Subject: [PATCH] Fixing missing file reader init. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355294 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/profiles/DefaultMavenProfilesBuilder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-profile/src/main/java/org/apache/maven/profiles/DefaultMavenProfilesBuilder.java b/maven-profile/src/main/java/org/apache/maven/profiles/DefaultMavenProfilesBuilder.java index 88107df387..597dd828c0 100644 --- a/maven-profile/src/main/java/org/apache/maven/profiles/DefaultMavenProfilesBuilder.java +++ b/maven-profile/src/main/java/org/apache/maven/profiles/DefaultMavenProfilesBuilder.java @@ -48,6 +48,8 @@ public class DefaultMavenProfilesBuilder FileReader fileReader = null; try { + fileReader = new FileReader( profilesXml ); + StringWriter sWriter = new StringWriter(); IOUtil.copy( fileReader, sWriter );