Code generation in Maven

后端 未结 3 1201
攒了一身酷
攒了一身酷 2021-02-13 22:53

I want to autogenerate some java classes from interfaces. My first thought was to write a code generator, and integrate it as a maven plugin.

I was thinking of creating

3条回答
  •  野性不改
    2021-02-13 23:29

    Maybe have a look at the XDoclet Maven plugin- XDoclet is often used for generating sources from doclet-style markup in classes (e.g. autogenerating MBean interfaces from implementations) and that sounds similar to what you're doing.

提交回复
热议问题