有一些 XMLBeans 站点引用了利用泛型(和枚举)生成的代码,但是,我似乎找不到要设置的配置选项。
在 XML Beans 中提到泛型的站点:http:
//xmlbeans.apache.org/news.html
http://wiki.apache.org/xmlbeans/V2Features
我已将javaSource
配置设置为 1.5,但这仍然不会导致生成的源使用泛型。
(见http://mojo.codehaus.org/xmlbeans-maven-plugin/xmlbeans-mojo.html#javaSource)
一些相关的 Stack Overflow 问题: