Class JLinkResolver


  • public class JLinkResolver
    extends java.lang.Object
    Determines the strategy how to invoke jlink.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  JLinkResolver.Result
      Holds the resolver results.
    • Constructor Summary

      Constructors 
      Constructor Description
      JLinkResolver​(AbstractJLinkMojo mojo, java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
      Creates a resolver.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JLinkResolver.Result resolve()
      Resolves the maven artifacts for passing to jlink.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JLinkResolver

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

      • 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