cxf-codegen-plugin:3.4.2:wsdl2java 不生成正确的 Javadoc
cxf-codegen-plugin:3.4.2:wsdl2java doesn't produce proper Javadoc
由 cxf-codegen-plugin:3.4.2:wsdl2java
生成的 类' Javadoc 如下所示:
/**
* <p>Java class for RequestType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="RequestType"&gt;
* &lt;complexContent&gt;
当然,它会在 Eclipse 的 Javadoc 视图中呈现为以下内容,例如:
<p>Java class for RequestType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="RequestType"> <complexContent>
这是插件中的错误吗?
更新
我在 https://issues.apache.org/jira/browse/CXF-8577 中提交了一个错误。
来自 https://issues.apache.org/jira/browse/CXF-8577 的评论:
This is a known issue fo JAXB 2.3.3, JAXB 2.3.4 has fixed this up.
Please find related discussion here
https://github.com/eclipse-ee4j/jaxb-ri/issues/1471
The released CXF 3.4.4 has already upgraded to use jaxb-xjc 2.3.4, so no such issue with CXF 3.4.4 anymore
由 cxf-codegen-plugin:3.4.2:wsdl2java
生成的 类' Javadoc 如下所示:
/**
* <p>Java class for RequestType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="RequestType"&gt;
* &lt;complexContent&gt;
当然,它会在 Eclipse 的 Javadoc 视图中呈现为以下内容,例如:
<p>Java class for RequestType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="RequestType"> <complexContent>
这是插件中的错误吗?
更新
我在 https://issues.apache.org/jira/browse/CXF-8577 中提交了一个错误。
来自 https://issues.apache.org/jira/browse/CXF-8577 的评论:
This is a known issue fo JAXB 2.3.3, JAXB 2.3.4 has fixed this up.
Please find related discussion here https://github.com/eclipse-ee4j/jaxb-ri/issues/1471
The released CXF 3.4.4 has already upgraded to use jaxb-xjc 2.3.4, so no such issue with CXF 3.4.4 anymore