How can I get what goals was selected in the Maven plugin tree? Follow
How can I get the names of the selected goals (and names of the projects of course) in the maven plugin? I want to run them in external build system from my plugin
Please sign in to leave a comment.
AnActionEvent.getData(MavenDataKeys.MAVEN_GOALS)
I cannot find the MavenDataKeys class, is it in the maven-ext.jar?
No, it's org.jetbrains.idea.maven.utils.MavenDataKeys in maven.jar.