You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:28:38 UTC

[maven-ant-plugin] 40/42: o Decoupled from assumption that plugin config is internally stored as Xpp3Dom

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-ant-plugin-2.1.1
in repository https://gitbox.apache.org/repos/asf/maven-ant-plugin.git

commit 22154602d90335f26aec3985c4cf2d2fc69e862e
Author: Benjamin Bentmann <be...@apache.org>
AuthorDate: Mon Apr 13 09:39:20 2009 +0000

    o Decoupled from assumption that plugin config is internally stored as Xpp3Dom
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ant-plugin@764381 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java b/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
index d7f42f2..ef27282 100644
--- a/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
+++ b/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
@@ -42,7 +42,6 @@ import org.codehaus.plexus.util.PathTool;
 import org.codehaus.plexus.util.StringUtils;
 import org.codehaus.plexus.util.xml.XMLWriter;
 import org.codehaus.plexus.util.xml.XmlWriterUtil;
-import org.codehaus.plexus.util.xml.Xpp3Dom;
 import org.w3c.dom.Document;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
@@ -952,7 +951,7 @@ public class AntBuildWriterUtil
         {
             Object next = it.next();
 
-            Xpp3Dom pluginConf = null;
+            Object pluginConf = null;
 
             if ( next instanceof Plugin )
             {
@@ -965,7 +964,7 @@ public class AntBuildWriterUtil
                     continue;
                 }
 
-                pluginConf = (Xpp3Dom) plugin.getConfiguration();
+                pluginConf = plugin.getConfiguration();
             }
 
             if ( next instanceof ReportPlugin )
@@ -979,7 +978,7 @@ public class AntBuildWriterUtil
                     continue;
                 }
 
-                pluginConf = (Xpp3Dom) reportPlugin.getConfiguration();
+                pluginConf = reportPlugin.getConfiguration();
             }
 
             if ( pluginConf == null )

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.