A code generator for java available for maven?

这一生的挚爱 提交于 2019-12-08 05:40:33

问题



I am developing a java project with maven which generates code files. I am looking for a good code generator that is available for maven.

So far I tried

<plugin>
    <groupId>com.tikal.maven</groupId>
    <artifactId>tikal-maven-jet-plugin</artifactId>
    <version>0.3.0</version>

The advantage of this plugin is that it generates the generator during the build cycle and does not add any runtime dependencies. However, I could not test it because I could not find a maven repository to download it.

So which code generator should I use? (Or where can I find a working tikal repository?)


回答1:


So which code generator should I use? (Or where can I find a working tikal repository?)

I don't know what "code generator" you're looking for exactly but the tikal-maven-jet-plugin has its own repository:

<pluginRepositories>
  <pluginRepository>
    <id>tikalk-repository</id>
    <url>http://network.tikalk.com/release/repository/</url>
  </pluginRepository>
  ...
</pluginRepositories>


来源:https://stackoverflow.com/questions/3794832/a-code-generator-for-java-available-for-maven

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!