When performing source generation on a deprecated profile from outside of a Maven build session (ie: calling the generation function directly in a unit test), a null pointer exception occurs as the PriorityMessage Service cannot find a Maven Session to attach the output to.
When performing source generation on a deprecated profile from outside of a Maven build session (ie: calling the generation function directly in a unit test), a null pointer exception occurs as the PriorityMessage Service cannot find a Maven Session to attach the output to.