users@jaxb2-commons.java.net

Re: Problems using the Value constructor

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 6 Jun 2011 12:43:28 +0200

Hi,

> I am using jaxb version 2.1.13 and value-constructor plugin 3.0
>
> When I call the ant task I get error
>
>  unrecognized parameter -Xvalue-constructor
>
> I used the dependencies as indicated in value-constructor pom using ivy
> e.g.
>
> <dependency org="com.sun.xml.bind" name="jaxb-xjc" rev="2.1.13" />
>
> Also does the plugin work for version 2.2

Make sure the JAR is in XJC classpath.

Check some of the samples here, see how Ant build.xmls are organized.

http://confluence.highsource.org/display/J2B/Home

Bye,
/lexi