/wro4j-maven-plugin/src/main/java/ro/isdc/wro/maven/plugin/AbstractWro4jMojo.java
} return managerFactory;
return managerFactory; }
managerFactory = wroManagerFactory != null ? createCustomManagerFactory() : newWroManagerFactory(); onAfterCreate(managerFactory); } catch (final MojoExecutionException e) { throw WroRuntimeException.wrap(e); } } <extra_id_0> private WroManagerFactory createCustomManagerFactory() throws MojoExecutionException { WroManagerFactory factory = null; try { final Class<?> wroManagerFactoryClass = Thread.currentThread().getContextClassLoader() .loadClass(wroManagerFactory.trim()); factory = (WroManagerFactory) wroManagerFactoryClass.getDeclaredConstructor().newInstance();