tentackle:beaninfo

Full name:

org.tentackle:tentackle-maven-plugin:25.20.1.0:beaninfo

Description:

Creates a manifest that marks all classes with a BeanInfo as JavaBeans.

For each XxxBeanInfo.java found in the sources, a matching Xxx.java must exist, and an entry Name: path/to/Xxx.class with Java-Bean: True is added to <manifestDirectory>/META-INF/MANIFEST.MF. Classes whose simple name contains Abstract are skipped, because their BeanInfo only provides settings shared by the concrete beans.

The manifest is not added to the artifact automatically. Use the manifestFile option of the maven-jar-plugin's archive configuration to merge 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: generate-resources.

Required Parameters

Name Type Since Description
<manifestDirectory> String - Directory to write the manifest to.
The manifest is created as META-INF/MANIFEST.MF below this directory.
Default: ${project.build.directory}/generated-resources/manifest
User Property: tentackle.manifestDirectory
<sourceDir> File - Directory holding the sources to be processed.
Defaults to all java sources of the current project. If this is not desired, filesets must be used.
Default: ${project.build.sourceDirectory}
User Property: tentackle.sourceDir

Optional Parameters

Name Type Since Description
<charset> String - The encoding to read and write files.
Applied JVM-wide, see org.tentackle.maven.AbstractTentackleMojo.determineEncoding() .
Default: ${project.build.sourceEncoding}
<filesets> List<FileSet> - The list of file sets.
If set, the source directory is ignored. A file set without a directory defaults to the source directory. Every included file must end with BeanInfo.java.
<jdkToolchain> Map<String,String> - Toolchain for invocation of external tools.
Explicitly specifies the "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.

Example:

  <jdkToolchain>
    <version>25</version>
  </jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
  <jdkToolchain></jdkToolchain>
<minLogLevel> String - The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
Any name or value accepted by java.util.logging.Level.parse(java.lang.String) .
Default: WARNING
<skip> Boolean - Skips processing.
If not set, defaults to true if packaging is "pom" and the execution is recursive (see org.tentackle.maven.AbstractTentackleMojo.isSkippedByDefault() ).
<verbosity> String - The verbosity.
One of "default", "info" or "debug". Other values are treated as "default".
If not set, debug is turned on by Maven's global debug flag (see command line switch -X).
Default: ${tentackle.verbosity}

Parameter Details

<charset>

The encoding to read and write files.
Applied JVM-wide, see org.tentackle.maven.AbstractTentackleMojo.determineEncoding() .
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.sourceEncoding}

<filesets>

The list of file sets.
If set, the source directory is ignored. A file set without a directory defaults to the source directory. Every included file must end with BeanInfo.java.
  • Type: java.util.List<org.apache.maven.shared.model.fileset.FileSet>
  • Required: No

<jdkToolchain>

Toolchain for invocation of external tools.
Explicitly specifies the "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.

Example:

  <jdkToolchain>
    <version>25</version>
  </jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
  <jdkToolchain></jdkToolchain>
  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: No

<manifestDirectory>

Directory to write the manifest to.
The manifest is created as META-INF/MANIFEST.MF below this directory.
  • Type: java.lang.String
  • Required: Yes
  • User Property: tentackle.manifestDirectory
  • Default: ${project.build.directory}/generated-resources/manifest

<minLogLevel>

The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
Any name or value accepted by java.util.logging.Level.parse(java.lang.String) .
  • Type: java.lang.String
  • Required: No
  • Default: WARNING

<skip>

Skips processing.
If not set, defaults to true if packaging is "pom" and the execution is recursive (see org.tentackle.maven.AbstractTentackleMojo.isSkippedByDefault() ).
  • Type: java.lang.Boolean
  • Required: No

<sourceDir>

Directory holding the sources to be processed.
Defaults to all java sources of the current project. If this is not desired, filesets must be used.
  • Type: java.io.File
  • Required: Yes
  • User Property: tentackle.sourceDir
  • Default: ${project.build.sourceDirectory}

<verbosity>

The verbosity.
One of "default", "info" or "debug". Other values are treated as "default".
If not set, debug is turned on by Maven's global debug flag (see command line switch -X).
  • Type: java.lang.String
  • Required: No
  • Default: ${tentackle.verbosity}