java.lang.Object
org.tentackle.maven.plugin.jlink.JLinkResolver

public class JLinkResolver extends Object
Determines the strategy how to invoke jlink.
  • Constructor Details

    • JLinkResolver

      public JLinkResolver(AbstractJLinkMojo mojo, Set<org.apache.maven.artifact.Artifact> artifacts)
      Creates a resolver.
      Parameters:
      mojo - the base mojo
      artifacts - the maven artifacts
  • Method Details

    • resolve

      public JLinkResolver.Result resolve() throws org.apache.maven.plugin.MojoExecutionException
      Resolves the maven artifacts for passing to jlink.
      Returns:
      the resolver result
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if loading artifacts failed