Some of the code in GenerateFeaturesMojo is a copy of code in ci.gradle GenerateFeaturesTask with slight modifications to run in the maven environment. We will move this similar code to a utility method in ci.common so that future maintenance is simpler and less repetitive.