Deltaspikeの話
テストの際
https://maven.apache.org/surefire/maven-surefire-plugin/examples/system-properties.html
通常実行の際
https://www.mojohaus.org/exec-maven-plugin/usage.html
上記リンク先にある、SystemPropertyやenvironmentVariableのキーに
org.apache.deltaspike.ProjectStage
値に好きなStage名を記載
例:UnitTest
参考1
参考2