Fork me on GitHub

filevault-package:analyze-classes

Full name:

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

Description:

Analyzes the generated class files and generates a usage report. This report can be used by the generate-metadata goal to generate a manifest header out of it.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is thread-safe and supports parallel builds.
  • 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: vault.excludedLibraries
<generatedImportPackage> File - File to store the generated manifest snippet.
Default: ${project.build.directory}/vault-generated-import.txt
User Property: 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: vault.importUnusedPackages
<showImportPackageReport> boolean - Controls if the output should contain the package report.
Default: false
User Property: vault.showPackageReport
<sourceDirectory> File - Location of class files
Default: ${project.build.outputDirectory}
User Property: vault.classesDirectory

Parameter Details

<excludedLibraries>

Defines a list of libraries in partial maven coordinates that are not used for analysis.

<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: false

<sourceDirectory>

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