@Mojo(name="archive",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class ArchiveMojo
extends MojoSupport
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory| Constructor and Description |
|---|
ArchiveMojo() |
| Modifier and Type | Method and Description |
|---|---|
File |
archive(File source,
File dest,
org.apache.maven.artifact.Artifact artifact) |
void |
execute() |
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMavenpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic File archive(File source, File dest, org.apache.maven.artifact.Artifact artifact) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.