code: public static PomEquippedEmbeddedMaven forProject(File pomFile) {
          PomUnequippedEmbeddedMaven embeddedMaven = Resolvers.use(PomUnequippedEmbeddedMaven.class);
          return embeddedMaven.setPom(pomFile);
      }
docs: Specifies a POM file the EmbeddedMaven should be used for.
  <p>
  This method offers you to use a Resolver EmbeddedMaven API for additional easy setting of Maven Invoker that
  is internally used.
  </p>
  <p>
  If you prefer more powerful approach that is less comfortable and more boilerplate, then use the method
  {@link #withMavenInvokerSet(InvocationRequest, Invoker)}
  </p>
  
  @param pomFile POM file the EmbeddedMaven should be used for
  @return Set EmbeddedMaven instance