cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6553] Updating some of default values to make them consistent with WADLGenerator default values
Date Thu, 27 Aug 2015 13:54:42 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 337022876 -> f70694ad4


[CXF-6553] Updating some of default values to make them consistent with WADLGenerator default
values


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/f70694ad
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/f70694ad
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/f70694ad

Branch: refs/heads/3.0.x-fixes
Commit: f70694ad4995576d824c40dd17016e2ff3d4c210
Parents: 3370228
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Aug 27 14:46:26 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Aug 27 14:53:51 2015 +0100

----------------------------------------------------------------------
 .../maven_plugin/javatowadl/Java2WADLMojo.java  | 33 ++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/f70694ad/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
----------------------------------------------------------------------
diff --git a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
index 63d318c..3f657de 100644
--- a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
+++ b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
@@ -123,14 +123,13 @@ public class Java2WADLMojo extends AbstractMojo {
      */
     private MavenProjectHelper projectHelper;
 
-
     /**
      * @parameter default-value="false"
      */
     private boolean useJson;
 
     /**
-     * @parameter default-value="false"
+     * @parameter default-value="true"
      */
     private boolean singleResourceMultipleMethods;
    
@@ -163,6 +162,31 @@ public class Java2WADLMojo extends AbstractMojo {
      * @parameter default-value="false"
      */
     private boolean ignoreOverloadedMethods;
+
+    /**
+     * @parameter default-value="true"
+     */
+    private boolean useJaxbContextForQnames;
+
+    /**
+     * @parameter default-value="true"
+     */
+    private boolean usePathParamsToCompareOperations;
+    
+    /**
+     * @parameter default-value="true"
+     */
+    private boolean supportCollections;
+
+    /**
+     * @parameter default-value="true"
+     */
+    private boolean supportJaxbXmlType;
+
+    /**
+     * @parameter default-value="true"
+     */
+    private boolean supportJaxbSubstitutions;
     
     /**
      * @parameter
@@ -221,6 +245,11 @@ public class Java2WADLMojo extends AbstractMojo {
         wg.setLinkAnyMediaTypeToXmlSchema(linkAnyMediaTypeToXmlSchema);
         wg.setCheckAbsolutePathSlash(checkAbsolutePathSlash);
         wg.setIgnoreOverloadedMethods(ignoreOverloadedMethods);
+        wg.setUseJaxbContextForQnames(useJaxbContextForQnames);
+        wg.setUsePathParamsToCompareOperations(usePathParamsToCompareOperations);
+        wg.setSupportCollections(supportCollections);
+        wg.setSupportJaxbXmlType(supportJaxbXmlType);
+        wg.setSupportJaxbSubstitutions(supportJaxbSubstitutions);
         if (applicationTitle != null) {
             wg.setApplicationTitle(applicationTitle);
         } 


Mime
View raw message