Class MavenConfigFacade

  • All Implemented Interfaces:
    Config

    public class MavenConfigFacade
    extends Object
    implements Config
    A hack that allows to use this class a service-provider for the Config interface (otherwise, to have access to the MOJO's parameters, this class should have been an inner-class of GenerateSchemaMojo, which isn't allowed for a service-provider).

    Parameters which are injected to the MOJO are stored in GenerateSchemaMojo as a static field and later been wrapped by this facade.