Class ResidentMavenInvoker

All Implemented Interfaces:
AutoCloseable, Invoker

public class ResidentMavenInvoker extends MavenInvoker
Resident invoker implementation, specialization of Maven Invoker, but keeps Maven instance resident. This implies, that things like environment, system properties, extensions etc. are loaded only once. It is caller duty to ensure that subsequent call is right for the resident instance (ie no env change or different extension needed). This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call) and does not let DI container to be closed.
  • Constructor Details

    • ResidentMavenInvoker

      public ResidentMavenInvoker(Lookup protoLookup)
  • Method Details