atlas-debug fails if there is a profile with jira-maven-plugin
Steps to reproduce:
Edit pom.xml. Add following profile:
Jira on debug mode is started
Judging by the command output the problem is on the MVN_COMMAND variable
Change the $ATLAS_HOME/bin/atlas-debug script’s definition of MVN_COMMAND from:
Possible bug with the template, there are parts of the code that grep POM files without relying on maven’s ability to query effective POMs and so on.