Skip to content

daanipuui/remove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

remove

xjc remove property from generated class

To remove a property from the generated class you must follow these steps:

  1. Add a dependency to remove-annotation in the pom.

  2. Add this plugin to the org.jvnet.jaxb2.maven plugin.

  3. Add -Xremove to the list of arguments.

  4. Bind the property you want to remove with the remove annotation:

    <jxb:bindings node="..."> <annox:annotate target="field">@com.danielpuiu.annotations.Remove</annox:annotate> </jxb:bindings>

About

xjc remove property from generated class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages