Re: Compiler Plugin with ServiceProvider

Hans Aikema <[email protected]> Wed, 5 Nov 2025 11:15:08 +0100
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <[email protected]>

> On 5 Nov 2025, at 11:02, Hans Aikema <[email protected]> wrote:
> 
> Or alternatively modify the sequence and move the execution of the resources-plugin in the prepare-package phase so that the META-INF/services is only copied AFTER you’ve compiled your plugin class
> 

Should’ve said been "move into process-classes phase", but I accidentally modified only the xml snippet after looking into the earliest possible spot to put the execution that would be after the compile phase

See also https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference for the full details of the lifecycle sequence (and the default lifecycle bindings of plugins)