Class ArchiveRepositoryMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="archive-repository",
          defaultPhase=PACKAGE,
          threadSafe=true)
    public final class ArchiveRepositoryMojo
    extends AbstractRepositoryMojo

    Creates a zip archive with the aggregated p2 repository.

    • Field Detail

      • LOCK

        private static final java.lang.Object LOCK
      • 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.
    • Constructor Detail

      • ArchiveRepositoryMojo

        public ArchiveRepositoryMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException