Fork me on GitHub

jszip:jszip

Full name:

org.jszip.maven:jszip-maven-plugin:0.1-alpha-9:jszip

Description:

Produces a JSZip formatted zip file.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
contentDirectory File - Directory containing the classes.
Default value is: src/main/js.
finalName String - Name of the generated ZIP.
Default value is: ${project.build.finalName}.
User property is: zip.finalName.
outputDirectory File - Directory containing the generated ZIP.
Default value is: ${project.build.directory}.
resourcesDirectory File - Directory containing the resources.
Default value is: ${project.build.outputDirectory}.

Optional Parameters

Name Type Since Description
addMavenDescriptor boolean - Adding pom.xml and pom.properties to the archive.
Default value is: true.
User property is: zip.addMavenDescriptor.
classifier String - Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
forceCreation boolean - Whether creating the archive should be forced.
Default value is: false.
User property is: zip.forceCreation.
includeEmptyDirs boolean - Include or not empty directories
Default value is: false.
User property is: zip.includeEmptyDirs.

Parameter Details

addMavenDescriptor:

Adding pom.xml and pom.properties to the archive.
  • Type: boolean
  • Required: No
  • User Property: zip.addMavenDescriptor
  • Default: true

classifier:

Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
  • Type: java.lang.String
  • Required: No

contentDirectory:

Directory containing the classes.
  • Type: java.io.File
  • Required: Yes
  • Default: src/main/js

finalName:

Name of the generated ZIP.
  • Type: java.lang.String
  • Required: Yes
  • User Property: zip.finalName
  • Default: ${project.build.finalName}

forceCreation:

Whether creating the archive should be forced.
  • Type: boolean
  • Required: No
  • User Property: zip.forceCreation
  • Default: false

includeEmptyDirs:

Include or not empty directories
  • Type: boolean
  • Required: No
  • User Property: zip.includeEmptyDirs
  • Default: false

outputDirectory:

Directory containing the generated ZIP.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}

resourcesDirectory:

Directory containing the resources.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.outputDirectory}