Can I set lifecycle phase in the Maven pom.xml “ element?
In my POM I have a <resources>
section inside <build>
. This appears to be a shorthand for the maven-resources-plugin
, I guess. It doesn’t go in the <plugins>
section. I’d like to do some resource filtering in the generate-sources
lifecycle phase, which is not the default, so I tried to add a <phase>
element.