Maven 1

mavenSession.getAllGoalNames() should include goals from maven.xml