Is there a way to get command line mvn to work while Eclipse is running, OR have eclipse run the maven build for me (Run As Maven Build…) ? I seem to have locking issues when trying to run command line mvn while Eclipse is running and have to exit every time to run the code checks, then have to restart Eclipse to fix the line numbers it complains about.
Alternatively, the Run As Maven Build fails with
Unknown lifecycle phase “mvn”. You must specify a valid lifecycle phase
One of the two methods, would be helpful.