You can author your own plugins which hook into the Taxi compilation and code generation process by implementing the ComponentProviderPlugin
interface.
The taxi-jpa project is provided as a sample to show how to implement your own plugins.
See Distributing Taxi projects and plugins for more details.