Fork me on GitHub

filevault-package:analyze-classes

Full name:

org.apache.jackrabbit:filevault-package-maven-plugin:1.3.2: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 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: false.
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.

<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}