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 static 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) throws org.apache.maven.plugin.MojoExecutionException
Creates a resolver.- Parameters:
mojo- the base mojoartifacts- the maven artifacts- Throws:
org.apache.maven.plugin.MojoExecutionException- if jdeps version could not be determined
-
-
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
-
-