Class ArchiveRepositoryMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.core.maven.AbstractP2Mojo
-
- org.eclipse.tycho.plugins.p2.repository.AbstractRepositoryMojo
-
- org.eclipse.tycho.plugins.p2.repository.ArchiveRepositoryMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="archive-repository", defaultPhase=PACKAGE) public final class ArchiveRepositoryMojo extends AbstractRepositoryMojo
Creates a zip archive with the aggregated p2 repository.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ArchiveRepositoryMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.eclipse.tycho.plugins.p2.repository.AbstractRepositoryMojo
getAssemblyRepositoryLocation
-
Methods inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
getBuildContext, getBuildDirectory, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
-
-
-
-
Field Detail
-
inflater
@Component(role=org.codehaus.plexus.archiver.Archiver.class, hint="zip") private org.codehaus.plexus.archiver.Archiver inflater
-
finalName
@Parameter(property="project.build.finalName") private java.lang.String finalName
Name of the generated zip file (without extension).
-
skipArchive
@Parameter(defaultValue="false") private boolean skipArchive
Whether or not to skip archiving the repository. False by default.
-
-