Author: asoldano
Date: 2014-09-11 11:36:08 -0400 (Thu, 11 Sep 2014)
New Revision: 18931
Modified:
projects/plugins/maven/jaxws-tools/trunk/src/main/java/org/jboss/ws/plugins/tools/AbstractWsConsumeMojo.java
projects/plugins/maven/jaxws-tools/trunk/src/test/java/org/jboss/test/ws/plugins/tools/ArgumentTest.java
projects/plugins/maven/jaxws-tools/trunk/src/test/resources/test-argument/wsconsume-plugin-config.xml
Log:
[JBWS-3828] More on encoding option...
Modified:
projects/plugins/maven/jaxws-tools/trunk/src/main/java/org/jboss/ws/plugins/tools/AbstractWsConsumeMojo.java
===================================================================
---
projects/plugins/maven/jaxws-tools/trunk/src/main/java/org/jboss/ws/plugins/tools/AbstractWsConsumeMojo.java 2014-09-11
15:28:10 UTC (rev 18930)
+++
projects/plugins/maven/jaxws-tools/trunk/src/main/java/org/jboss/ws/plugins/tools/AbstractWsConsumeMojo.java 2014-09-11
15:36:08 UTC (rev 18931)
@@ -203,6 +203,11 @@
return wsdlLocation;
}
+ public String getEncoding()
+ {
+ return encoding;
+ }
+
public String getTarget()
{
return target;
Modified:
projects/plugins/maven/jaxws-tools/trunk/src/test/java/org/jboss/test/ws/plugins/tools/ArgumentTest.java
===================================================================
---
projects/plugins/maven/jaxws-tools/trunk/src/test/java/org/jboss/test/ws/plugins/tools/ArgumentTest.java 2014-09-11
15:28:10 UTC (rev 18930)
+++
projects/plugins/maven/jaxws-tools/trunk/src/test/java/org/jboss/test/ws/plugins/tools/ArgumentTest.java 2014-09-11
15:36:08 UTC (rev 18931)
@@ -60,6 +60,7 @@
assertEquals("catalog", mojo.getCatalog().getName());
assertTrue(mojo.getExtension());
assertEquals("wl", mojo.getWsdlLocation());
+ assertEquals("UTF-8", mojo.getEncoding());
assertEquals("source", mojo.getSourceDirectory().getName());
assertTrue(mojo.isVerbose());
assertTrue(mojo.isAdditionalHeaders());
Modified:
projects/plugins/maven/jaxws-tools/trunk/src/test/resources/test-argument/wsconsume-plugin-config.xml
===================================================================
---
projects/plugins/maven/jaxws-tools/trunk/src/test/resources/test-argument/wsconsume-plugin-config.xml 2014-09-11
15:28:10 UTC (rev 18930)
+++
projects/plugins/maven/jaxws-tools/trunk/src/test/resources/test-argument/wsconsume-plugin-config.xml 2014-09-11
15:36:08 UTC (rev 18931)
@@ -22,6 +22,7 @@
<sourceDirectory>source</sourceDirectory>
<targetPackage>tp</targetPackage>
<wsdlLocation>wl</wsdlLocation>
+ <encoding>UTF-8</encoding>
<target>t</target>
<extension>true</extension>
<verbose>true</verbose>
Show replies by date