@Mojo(name="archive-repository", defaultPhase=PACKAGE) public final class ArchiveRepositoryMojo extends AbstractRepositoryMojo
Creates a zip archive with the aggregated p2 repository.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
finalName
Name of the generated zip file (without extension).
|
private org.codehaus.plexus.archiver.Archiver |
inflater |
private boolean |
skipArchive
Whether or not to skip archiving the repository.
|
Constructor and Description |
---|
ArchiveRepositoryMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
getAssemblyRepositoryLocation, getBuildContext, getBuildDirectory, getProject, getProjectIdentities, getSession
@Component(role=org.codehaus.plexus.archiver.Archiver.class, hint="zip") private org.codehaus.plexus.archiver.Archiver inflater
@Parameter(property="project.build.finalName") private java.lang.String finalName
Name of the generated zip file (without extension).
@Parameter(defaultValue="false") private boolean skipArchive