IntelliJ: Automatic creation of ear artifact from

2019-05-01 13:05发布

问题:

I'm having a gradle project with the following structure:

Root project 'project-gradle'
 +--- Project 'ejb'
 +--- Project 'ear'
 \--- Project 'war'

The build is working perfectly on command line, I'm using the ear plugin and it is built correctly.

Unfortunately when I import the project to IntelliJ (or open it with the gradle-created intelliJ files), the only available artifact is war. But I need the ear. Any way to get this without manually defining the ear-Artifact inside IntelliJ?

回答1:

Seems automatic artifact configuration is not implemented yet in IDEA