Package org.tentackle.maven.plugin.jlink
Class JLinkResolver
- java.lang.Object
-
- org.tentackle.maven.plugin.jlink.JLinkResolver
-
public class JLinkResolver extends java.lang.ObjectDetermines the strategy how to invoke jlink.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJLinkResolver.ResultHolds 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.Resultresolve()Resolves the maven artifacts for passing to jlink.
-
-
-
Constructor Detail
-
JLinkResolver
public JLinkResolver(AbstractJLinkMojo mojo, java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
Creates a resolver.- Parameters:
mojo- the base mojoartifacts- 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
-
-