surefire (and quite a few other plugins) seem to be screaming for a simple way to add user-defined extension points for easy ability to modify/extend capabilities without forking the plugin or further bloating it for yet more marginal use cases.
Conceptually I'm thinking somewhere along these lines: make plugin export an "extension-api" jar with interfaces. Anyone can implement one or more of these interfaces and put them on the plugin's dependency classpath. Using something like the SPI api, the plugin picks up and executes this user code at the appropriate places. (Alternately the implementation could also export the impl's as plexus components and use DI injection instead - unsure if that'd work...?). I am a bit surprised we're not doing anything like this ? Is there a different approach that'd be better ? (I'd love a wicket-style approach ;) Kristian --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
