This discussion is archived
4 Replies Latest reply: May 31, 2011 9:42 AM by 859650 RSS

Annotations not supported

859650 Newbie
Currently Being Moderated

Is there anyway I can ignore annotations on runtime, or maybe delete it when compiling. Or what mechanism can I use to get rid of JAXB annotations.

I'm developing an Android app, and the jar containing the model has JAXB annotations, so I need to use the same classes but with no annotations.

I'm using maven to compile and package, maybe there is a maven phase, or plugin to do this.

Thanks in advance

Daniel Jiménez


  • Correct Answers - 10 points
  • Helpful Answers - 5 points