mirror of https://github.com/apache/maven.git
o Fixed encoding issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a6236b569
commit
46860ec695
|
@ -249,7 +249,7 @@ public class DefaultProfileManager
|
|||
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());
|
||||
|
|
Loading…
Reference in New Issue