Fork me on GitHub

filevault-package:analyze-classes

Full name:

org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1-SNAPSHOT:analyze-classes

Description:

Maven goal which analyzes the generated class files and generates a usage report

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.

Optional Parameters

Name Type Since Description
excludedLibraries String[] - Defines a list of libraries in partial maven coordinates that are not used for analysis.
User property is: vault.excludedLibraries.
generatedImportPackage File - File to store the generated manifest snippet.
Default value is: ${project.build.directory}/vault-generated-import.txt.
User property is: vault.generatedImportPackage.
importUnusedPackages boolean - Defines if unused packages should be included in the import-package entry if no classes exist in the project
User property is: vault.importUnusedPackages.
showImportPackageReport boolean - Controls if the output should contain the package report.
Default value is: true.
User property is: vault.showPackageReport.
sourceDirectory File - Location of class files
Default value is: ${project.build.outputDirectory}.
User property is: vault.classesDirectory.

Parameter Details

excludedLibraries:

Defines a list of libraries in partial maven coordinates that are not used for analysis.
  • Type: java.lang.String[]
  • Required: No
  • User Property: vault.excludedLibraries

generatedImportPackage:

File to store the generated manifest snippet.
  • Type: java.io.File
  • Required: No
  • User Property: vault.generatedImportPackage
  • Default: ${project.build.directory}/vault-generated-import.txt

importUnusedPackages:

Defines if unused packages should be included in the import-package entry if no classes exist in the project
  • Type: boolean
  • Required: No
  • User Property: vault.importUnusedPackages

showImportPackageReport:

Controls if the output should contain the package report.
  • Type: boolean
  • Required: No
  • User Property: vault.showPackageReport
  • Default: true

sourceDirectory:

Location of class files
  • Type: java.io.File
  • Required: No
  • User Property: vault.classesDirectory
  • Default: ${project.build.outputDirectory}