如何在Eclipse中启用JAXB简化插件

如何在Eclipse中启用JAXB简化插件,eclipse,plugins,jaxb,xjc,jaxb2-simplify-plugin,Eclipse,Plugins,Jaxb,Xjc,Jaxb2 Simplify Plugin,在带有JAXB项目的Eclipse中,我尝试生成启用了Simplify插件的类 我已在XSD文件中添加了所需的注释: <xs:choice maxOccurs="unbounded"> <xs:element maxOccurs="unbounded" ref="ns1:flow" minOccurs="0"> <xs:annotation> <xs:appi

在带有JAXB项目的Eclipse中,我尝试生成启用了Simplify插件的类

我已在XSD文件中添加了所需的注释:

<xs:choice maxOccurs="unbounded">           
        <xs:element maxOccurs="unbounded" ref="ns1:flow" minOccurs="0">
            <xs:annotation>
                <xs:appinfo>
                    <simplify:as-element-property/>
                </xs:appinfo>
            </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="unbounded" ref="ns1:state" minOccurs="0">
                        <xs:annotation>
                <xs:appinfo>
                    <simplify:as-element-property/>
                </xs:appinfo>
            </xs:annotation>
        </xs:element>
    </xs:choice> 

并在生成过程中添加-Xsimplify参数:

但是XJC编译器返回错误“unrecognized parameter-Xsimplify”

我已经在网上搜索了2天,仍然找不到在Eclipse中启用JAXB2基本插件的指南。请帮忙