is it possible to write a "maven plugin" or something like that which changes the .java at compile time?
For example:
@Entity
... class ... {
@Id
long id
}
I would like to comment out all the Annotations and Create a ORM-Mapping.xml / Persistence according to the entitys