IDEA Maven tool window not showing all plugins goals
已回答
Does anyone know why the Maven tool window does not show all plugins goals in IDEA?
I have added the surefire maven plugin to my pom.xml and the plugin (ant it's goals) are shown.
When I added the tomcat7-maven-plugin however, the plugin is not shown in the tool window.
I have to run the goals either through command line, "Execute Maven Goal" or a Run configuration.
请先登录再写评论。
Works here:
Make sure you can use it from command line. Re-import project in Maven tool window. If issue remains, file a bug with the sample project at https://youtrack.jetbrains.com/issues/IDEA
Command line usage is possible.
Just tried with a new empty project.
IDEA Ultimate 2019.1.3
I will file a bug.
https://youtrack.jetbrains.com/issue/IDEA-216343
I have the same issue. Reimport, reload project etc etc does not help, goal does not show up in maven tab. If i run the goal from from within terminal it works as expected.
e.g. using jetty plugin:
@Thomas Kalsberger
Please share a sample project to the related YouTrack issue: https://youtrack.jetbrains.com/issue/IDEA-211118
Same issue here. Added build plugin `spring-boot-maven-plugin` but it will not show up in the Plugin list. Can't execute from within IntelliJ.
I found a solution in that I needed to move the plugin out of the <pluginManagement> block and into the basic <plugins> block. The above link helped.