Zip Maven Plugin

Maven plugin for generating ZIP files.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

co.aurasphere.maven.plugins
ArtifactId

ArtifactId

zip-maven-plugin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Zip Maven Plugin
Maven plugin for generating ZIP files.
Project URL

Project URL

https://github.com/aurasphere/zip-maven-plugin
Project Organization

Project Organization

Aurasphere
Source Code Management

Source Code Management

https://github.com/aurasphere/zip-maven-plugin

Download zip-maven-plugin

How to add to project

<plugin>
    <groupId>co.aurasphere.maven.plugins</groupId>
    <artifactId>zip-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.zeroturnaround : zt-zip jar 1.13
org.apache.maven : maven-core jar 3.6.3

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

Travis Maven Central Javadocs Maintainability Test Coverage Join the chat at https://gitter.im/zip-maven-plugin/community Donate

Zip Maven Plugin

Simple Maven plugin for generating ZIP files.

Usage

NOTE: requires Maven >= 3.5.2.

  1. Add the plugin to your pom.xml:
<plugin>
  <groupId>co.aurasphere.maven.plugins</groupId>
  <artifactId>zip-maven-plugin</artifactId>
  <version>1.0.0</version>
  <extensions>true</extensions>
  <configuration>
    <inputDirectory>${project.basedir}/src/main/java</inputDirectory>
    <outputDirectory>C:/mydir</outputDirectory>
    <zipName>my-zip-name</zipName>
  </configuration>
</plugin>
  1. Set the packaging type to zip

<packaging>zip</packaging>

  1. The configuration element is optional. If not supplied, the default values are:
  • inputDirectory: ${project.build.outputDirectory} (your project target/classes directory)
  • outputDirectory: ${project.build.directory} (your project target directory)
  • zipName: ${project.build.finalName} ([project-name]-[project-version])

Copyright (c) 2019 Donato Rimenti

Versions

Version
1.0.0