@Mojo(name="jar", defaultPhase=PACKAGE, configurator="takari", threadSafe=true) public class Jar extends TakariLifecycleMojo
Modifier and Type | Field and Description |
---|---|
protected File |
classesDirectory |
logger, mojoDescriptor, mojoExecution, project, projectHelper, reactorProjects, remoteRepositories, repositorySystem, repositorySystemSession, settings, skip
Constructor and Description |
---|
Jar() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeMojo() |
static Iterable<io.tesla.proviso.archive.Entry> |
jarManifestSource(File file) |
protected io.tesla.proviso.archive.Entry |
pomPropertiesSource(org.apache.maven.project.MavenProject project) |
execute, skipMojo
@Parameter(defaultValue="${project.build.outputDirectory}") protected File classesDirectory
protected void executeMojo() throws org.apache.maven.plugin.MojoExecutionException
executeMojo
in class TakariLifecycleMojo
org.apache.maven.plugin.MojoExecutionException
public static Iterable<io.tesla.proviso.archive.Entry> jarManifestSource(File file)
protected io.tesla.proviso.archive.Entry pomPropertiesSource(org.apache.maven.project.MavenProject project) throws IOException
IOException
Copyright © 2020. All rights reserved.