org.codehaus.mojo.appassembler
Class CreateRepositoryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appassembler.CreateRepositoryMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class CreateRepositoryMojo
- extends AbstractMojo
Creates an appassembler repository. Note that this is deliberately a bit more specific than the assembly plugin
version - if it can generate a flat layout and exclude JARs, it may be a suitable replacement.
- Version:
- $Id: CreateRepositoryMojo.java 8129 2008-11-22 13:38:18Z kristian $
- Author:
- Kristian Nordal
- Is defined by the goal name:
- create-repository
- Is bound to the specified phase of the standard build lifecycle:
- package
- Requires the dependencies in this specified scope:
- runtime
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateRepositoryMojo
public CreateRepositoryMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
setAvailableRepositoryLayouts
public void setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
install
public void install(File source,
Artifact artifact,
ArtifactRepository localRepository)
throws org.apache.maven.artifact.installer.ArtifactInstallationException
- Throws:
org.apache.maven.artifact.installer.ArtifactInstallationException
Copyright © 2006-2010 Codehaus. All Rights Reserved.