jigsaw:compile
Full name:
io.earcam.maven.plugin:io.earcam.maven.plugin.jigsaw:0.0.4:compile
Description:
Compile an existing
module-info.java
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: prepare-package.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<charset> | String | - | The Charset for decoding of the sourceFile. Default value is: UTF-8. User property is: charset. |
<sourceFile> | File | - | The module-info.java file. Default value is: ${project.basedir}/src/main/resources/module-info.java. User property is: sourceFile. |
<targetFile> | File | - | The module-info.class file. Default value is recommended; module-info.class must appear in the root of the JAR, with the exception of Multi-Release JARs. Default value is: ${project.build.outputDirectory}/module-info.class. User property is: targetFile. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<addMetaInfServices> | boolean | - | Add provides clauses to the module-info definition for entries found in META-INF/services. Default value is: true. User property is: addMetaInfServices. |
<skip> | boolean | - | Skip execution of this plugin Default value is: false. User property is: skip. |
<verbose> | boolean | - | Log more information from this plugin (debug-level messages promoted to info-level) Default value is: false. User property is: verbose. |
Parameter Details
<addMetaInfServices>
Add
provides clauses to the
module-info definition for entries found in
META-INF/services.
- Type: boolean
- Required: No
- User Property: addMetaInfServices
- Default: true
<charset>
The
Charset for decoding of the
sourceFile.
- Type: java.lang.String
- Required: Yes
- User Property: charset
- Default: UTF-8
<sourceFile>
The
module-info.java file.
- Type: java.io.File
- Required: Yes
- User Property: sourceFile
- Default: ${project.basedir}/src/main/resources/module-info.java
<targetFile>
The
module-info.class file. Default value is recommended;
module-info.class must appear in the root of the JAR, with the exception of Multi-Release JARs.
- Type: java.io.File
- Required: Yes
- User Property: targetFile
- Default: ${project.build.outputDirectory}/module-info.class
<verbose>
Log more information from this plugin (debug-level messages
promoted to info-level)
- Type: boolean
- Required: No
- User Property: verbose
- Default: false