users@jaxb.java.net

JAXB2 Annotate Plugin 1.0.0 released

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sat, 23 Aug 2014 16:16:26 +0200

Hi,

I've just release JAXB2 Annotate Plugin 1.0.0.

Main change is that you can now define annotation for your schema-derived
packages/classes/properties using the normal Java syntax (instead of XML in
earlier versions).

For instance:

<xsd:complexType name="FooType">
        <xsd:annotation>
            <xsd:appinfo>

<annox:annotate>@java.lang.SuppressWarnings({"unchecked","rawtypes"})</annox:annotate>
                <annox:annotate
target="package">@javax.annotation.Generated({"XJC","JAXB2 Annotate
Plugin"})</annox:annotate>
            </xsd:appinfo>
        </xsd:annotation>
<!-- ... -->
</xsd:complexType>

The project was also moved to GitHub:
* https://github.com/highsource/jaxb2-annotate-plugin

Best wishes,
Alexey