You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/03/09 18:46:48 UTC

cvs commit: maven-components/maven-core/src/java/org/apache/maven/plugin PluginDescriptorBuilder.java

jvanzyl     2004/03/09 09:46:48

  Modified:    maven-core/src/java/org/apache/maven/plugin
                        PluginDescriptorBuilder.java
  Log:
  o updating for some changes to xstream
  
  Revision  Changes    Path
  1.2       +3 -4      maven-components/maven-core/src/java/org/apache/maven/plugin/PluginDescriptorBuilder.java
  
  Index: PluginDescriptorBuilder.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/java/org/apache/maven/plugin/PluginDescriptorBuilder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PluginDescriptorBuilder.java	15 Feb 2004 21:43:19 -0000	1.1
  +++ PluginDescriptorBuilder.java	9 Mar 2004 17:46:48 -0000	1.2
  @@ -9,7 +9,7 @@
   import com.thoughtworks.xstream.xml.XMLWriter;
   import com.thoughtworks.xstream.xml.XMLReader;
   import com.thoughtworks.xstream.alias.DefaultClassMapper;
  -import com.thoughtworks.xstream.alias.DefaultElementMapper;
  +import com.thoughtworks.xstream.alias.DefaultNameMapper;
   import com.thoughtworks.xstream.objecttree.reflection.JavaReflectionObjectFactory;
   import com.thoughtworks.xstream.objecttree.ObjectTree;
   
  @@ -27,8 +27,7 @@
       public PluginDescriptorBuilder()
       {
           xstream = new XStream( new JavaReflectionObjectFactory(),
  -                               new DefaultClassMapper(),
  -                               new DefaultElementMapper(),
  +                               new DefaultClassMapper( new DefaultNameMapper() ),
                                  new Xpp3DomXMLReaderDriver() );
   
           xstream.alias( "plugin", PluginDescriptor.class );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org