tentackle:properties
Full name:
org.tentackle:tentackle-maven-plugin:21.16.1.0:properties
Description:
Generates maven properties from other maven properties.
Example:
<propertyDescriptors> <propertyDescriptor> <input>${dbPasswd}</input> <converter>@org.tentackle.common.Cryptor</converter> <property>encryptedPasswd</property> </propertyDescriptor> </propertyDescriptors>
The converter is a FQCN of a singleton with a no-args constructor. Because it must be in the classpath of the tentackle-maven-plugin
, its artifact must be placed within the plugin's <dependencies>
.
If the FQCN starts with an @
, the converter is looked up via META-INF/services
.
Important: the converters must be stateless because their instances are cached!
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
compile
. - The goal is not marked as thread-safe and thus does not support parallel builds.
- Binds by default to the lifecycle phase:
generate-resources
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<charset> |
String |
- |
The encoding to read and write files. Default: ${project.build.sourceEncoding} |
<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>14</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.Default: WARNING |
<propertyDescriptors> |
List<PropertyDescriptor> |
- |
No description. |
<skip> |
Boolean |
- |
Skips processing.
Defaults to true if packaging is "pom". |
<verbosity> |
String |
- |
The verbosity.
One of "default", "info" or "debug". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch -X ).Default: ${tentackle.verbosity} |
Parameter Details
<charset>
The encoding to read and write files.
- Type:
java.lang.String
- Required:
No
- Default:
${project.build.sourceEncoding}
<jdkToolchain>
Toolchain for invocation of external tools.
Explicitly specifies the
Explicitly specifies the
"jdk"
toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.
Example:
<jdkToolchain> <version>14</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
<minLogLevel>
The minimum logging
java.util.logging.Level
to redirect java.util logging to the maven logger.- Type:
java.lang.String
- Required:
No
- Default:
WARNING
<propertyDescriptors>
No description.
- Type:
java.util.List<org.tentackle.maven.plugin.PropertyDescriptor>
- Required:
No
<skip>
Skips processing.
Defaults to true if packaging is "pom".
Defaults to true if packaging is "pom".
- Type:
java.lang.Boolean
- Required:
No
<verbosity>
The verbosity.
One of "default", "info" or "debug". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch
One of "default", "info" or "debug". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch
-X
).- Type:
java.lang.String
- Required:
No
- Default:
${tentackle.verbosity}