Intellij Plugin development with maven
已回答
Hi Team,
I am looking for resources to implement IntelliJ Plugin with maven. how can I implement any documentation or plugins or any useful resources that I can go through to implement plugin with maven.
请先登录再写评论。
The same question,follow with interest
We do not provide any kind of support for building plugins using Maven, but instead Gradle can be used with dedicated plugin https://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system.html
we have an existing intellij plugin in gradle..we no more using gradle and now i have to write in maven.
Could you please guide me if there is any way to convert the gradle plgin project to maven or i have to start from scratch?
Ananta 4ever There is no way to "convert" from Gradle to Maven. The Gradle IntelliJ Plugin does a lot of heavy lifting behind the scenes, and it's virtually impossible to transfer this to Maven.
https://plugins.jetbrains.com/plugin/24053-ide-plug-devkit-maven/
This plugin uses Maven to develop the IntelliJ Plugin
This is disappointing. Not everyone loves and uses Gradle and Kotlin. By comparison Java and Maven are much more widely used. I was hoping to use Intellij as an IDE for a language I developed but I have no interest learning Kotlin and Gradle to do it. Will look for another solution.
There are no plans to officially support using Maven for building plugins. The amount of required Gradle knowledge is pretty low, basically it's a one-time configuration for most plugins.
Ok, thanks for the reply. I was able to get going adding custom language support for a language I wrote. The tutorial uses Java but the linked “Create an empty IntelliJ Platform Plugin project” produces a project setup for Kotlin, not Java. I did eventually see the small comment in there about removing the Kotlin directory and adding Java. I found that confusing to start with. I was able to work through the tutorial though and get things working. I also had difficulty converting my grammar from java-cup to the parser generator that Intillij uses, but got it working in the end too.
Cup Of Code Glad to hear you got it working. Thanks for your feedback, we'll try to make it more obvious how to use Java. Nevertheless, Kotlin is now the preferred language for writing plugins.