I have a maven project with many demo classes with their own main methods, they don't dependent on each other. I used to be able to run a class by right clicking on its main method, and select Run MyClass.main()
. But now instead of running it, it started to build the maven project as a whole.
Is there a way to "fix" this?