Maven example of annotation preprocessing and generation of classes in same compile process?

后端 未结 3 2079
南方客
南方客 2020-12-13 10:45

Does anyone have a clean example of a maven project preprocessing class annotations at compile time with subsequent generation of classes to be compiled in the same compilat

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 11:36

    The Maven-Antlr-Plugin exactly does this. It generates Java classes from a grammar and the compile plugin compiles the generated classes. May it might be usefull the maven-annotation-plugin

提交回复
热议问题