如果我希望我的框架,能够在eclipse 、 idea、 Gradle 这三款IDE工具中,任意导入开发,随意切换,则可以通过阅读下面三个插件,进行更为深度的集成。
Running from an IDE
You can run a Spring Boot application from your IDE as a simple Java application. However, you first need to import your project. Import steps vary depending on your IDE and build system. Most IDEs can import Maven projects directly. For example, Eclipse users can select Import… → Existing Maven Projects from the File menu.
If you cannot directly import your project into your IDE, you may be able to generate IDE metadata by using a build plugin. Maven includes plugins for Eclipse and IDEA. Gradle offers plugins for various IDEs.
Apache Maven Eclipse Plugin (RETIRED) maven.apache.org/plugins/mav…
Apache Maven IDEA Plugin (RETIRED) maven.apache.org/plugins/mav…
Gradle User Manual docs.gradle.org/current/use…