I'm using

<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>

to generate Java classes from XSD files.

I've added

<args>-npa</args>

so, the plugin doesn't generate anymore package-info.java, but with this option the generated java classes are different (namespace is added to every element).

So, I cannot customize the namespace using package-info.java.

How can I use a custom namespace without modifying manually generated files?

Edit
Report