Package org.apache.karaf.tooling
Class ArchiveMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.karaf.tooling.utils.MojoSupport
-
- org.apache.karaf.tooling.ArchiveMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="archive", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, threadSafe=true) public class ArchiveMojo extends MojoSupportPackage a server archive from an assembled server
-
-
Field Summary
-
Fields inherited from class org.apache.karaf.tooling.utils.MojoSupport
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory
-
-
Constructor Summary
Constructors Constructor Description ArchiveMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filearchive(File source, File dest, org.apache.maven.artifact.Artifact artifact)voidexecute()-
Methods inherited from class org.apache.karaf.tooling.utils.MojoSupport
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMaven
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
archive
public File archive(File source, File dest, org.apache.maven.artifact.Artifact artifact) throws IOException
- Throws:
IOException
-
-