CAMEL-7028: Fixed the NPE when using the embedded goal of camel-maven-plugin.