users@jaxb.java.net

Re: maven-jaxb-plugin doesn't recognize <args> configuration option

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sat, 10 Feb 2007 00:29:12 +0100

Hi.

> If you read the directions on
> _https://jaxb.dev.java.net/jaxb-maven2-plugin/_ under Configuration
> Properties it says
>
> *****Property****** ****** args*
>
> Description Arguments passed to the xjc compiler.
>
> Type String
>
> Default [none]
>
> Example <args>-Xsync-methods</args>
>
> However, in actual use the plugin doesn’t seem to actually recognize
> anything put in <args>. For example, I have
>
> <args>-httpproxy my-proxy-host:my-proxy-port</args>
>
> But the plugin doesn’t end up setting the proxy host and port, so
> generation fails.
>
> Before submitting this as a defect, I wanted to make sure I’m not doing
> something wrong.

Try https://maven-jaxb2-plugin.dev.java.net/ for JAXB 2 or
https://maven-jaxb-plugin.dev.java.net for JAXB 1.

I use/develop both of them, args work fine in both.



Bye.
/lexi