You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sn...@apache.org on 2009/07/06 06:38:29 UTC
svn commit: r791380 -
/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java
Author: snicoll
Date: Mon Jul 6 04:38:29 2009
New Revision: 791380
URL: http://svn.apache.org/viewvc?rev=791380&view=rev
Log:
MWAR-184: forcing the driver to use to avoid issues in specific classloader configurations
Modified:
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java
Modified: maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java?rev=791380&r1=791379&r2=791380&view=diff
==============================================================================
--- maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java (original)
+++ maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/util/WebappStructureSerializer.java Mon Jul 6 04:38:29 2009
@@ -20,6 +20,7 @@
*/
import com.thoughtworks.xstream.XStream;
+import com.thoughtworks.xstream.io.xml.DomDriver;
import org.apache.maven.model.Dependency;
import org.codehaus.plexus.util.IOUtil;
import org.codehaus.plexus.util.ReaderFactory;
@@ -46,7 +47,7 @@
*/
public WebappStructureSerializer()
{
- this.xStream = new XStream();
+ this.xStream = new XStream(new DomDriver());
// Register aliases
xStream.alias( "webapp-structure", WebappStructure.class );