maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r751547 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
Date Sun, 08 Mar 2009 23:13:14 GMT
Author: bentmann
Date: Sun Mar  8 23:13:14 2009
New Revision: 751547

URL: http://svn.apache.org/viewvc?rev=751547&view=rev
Log:
o Fixed encoding issue

Modified:
    maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java?rev=751547&r1=751546&r2=751547&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
(original)
+++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
Sun Mar  8 23:13:14 2009
@@ -249,7 +249,7 @@
         List<ModelProperty> p;
         try
         {                                                                   
-            p = ModelMarshaller.marshallXmlToModelProperties(new ByteArrayInputStream(writer.getBuffer().toString().getBytes()),
+            p = ModelMarshaller.marshallXmlToModelProperties(new ByteArrayInputStream(writer.toString().getBytes(
"UTF-8" )),
                     ProjectUri.Profiles.xUri, PomTransformer.URIS);
         } catch (IOException e) {
             throw new ProfileActivationException(e.getMessage());



Mime
View raw message