Full name:
org.apache.sling:slingfeature-maven-plugin:1.2.0:apis-jar
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<features> | File | - | Directory containing feature files Default value is: src/main/features. |
<testFeatures> | File | - | Directory containing test feature files. Default value is: src/test/features. |
Name | Type | Since | Description |
---|---|---|---|
<apiClassifierMappings> | Map | - | Mapping for the feature classifier to a user defined name |
<apiJavadocResources> | List | - | Additional resources for the api javadoc jar |
<apiRegionNameMappings> | Map | - | Mapping for an api region name to a user defined name |
<apiResources> | List | - | Additional resources for the api jar |
<apiSourceResources> | List | - | Additional resources for the api source jar |
<apiVersion> | String | 1.2.0 | Optional version to be put into the manifest of the created jars |
<attachApiJars> | boolean | - | If enabled, the created api jars will be attached to the project Default value is: true. |
<excludeRegions> | Set | - | Names of the regions to exclude, by default no regions is excluded. |
<featuresExcludes> | String | - | Comma separated list of excludes for the feature files. Feature
files excluded by this configuration are not processed at all. |
<featuresIncludes> | String | - | Comma separated list of includes for the feature files in the
configured directory. Only feature files specified by this include
are processed. Default value is: **/*.json. |
<generateApiJar> | boolean | - | Generate api jar Default value is: true. |
<generateJavadocJar> | boolean | - | Generate the javadoc jar Default value is: true. |
<generateSourceJar> | boolean | - | Generate the sources jar Default value is: true. |
<generatedFeatures> | File | - | Directory containing generated feature files |
<generatedFeaturesExcludes> | String | - | Comma separated list of excludes for the generated feature files.
Feature files excluded by this configuration are not processed at
all. |
<generatedFeaturesIncludes> | String | - | Comma separated list of includes for the generated feature files in
the configured directory. Only feature files specified by this
include are processed. Default value is: **/*.json. |
<ignoreJavadocErrors> | boolean | - | Ignore errors in javadoc generation Default value is: false. |
<includeRegions> | Set | - | Names of the regions to include, by default all regions are
included. Default value is: *. |
<includeResources> | String[] | - | Patterns identifying which resources to include from bundles. This
can be used to include files like license or notices files.
Starting with version 1.2.0 these files are only searched in the
folders mentioned by #resourceFolders |
<incrementalApis> | boolean | - | If set to true and api jars are created for more than one region,
then the higher region only gets the difference to the lower
region. If set to false each api jar gets the full region
information (duplicating information) Default value is: true. |
<jarStartOrder> | int | - | The start level for the attached jar/bundle. |
<javadocLinks> | String[] | - | List of javadoc links used in the javadoc generation. |
<javadocSourceLevel> | String | - | (no description) Default value is: 8. |
<licenseDefaults> | List | 1.2.0 | A artifact patterns to match artifacts without a license. Follows
the pattern "groupId:artifactId:type:classifier:version". After the
patter a "=" followed by the license information needs to be
specified. This information is used in the license report if no
license is specified for an artifact. |
<licenseReport> | String | 1.2.0 | Create a license report file. This is the name of that file within
the jar |
<licenseReportFooter> | String | 1.2.0 | Footer added at the bottom of the license report |
<licenseReportHeader> | String | 1.2.0 | Header added on top of the license report Default value is: This archive contains files from the following artifacts:. |
<resourceFolders> | String | 1.2.0 | Comma separated list of folders where files are renamed. Default value is: META-INF,SLING-INF. |
<selection> | FeatureSelectionConfig | - | Select the features for api generation. Separate api jars will be
generated for each feature. |
<skipAddFeatureDependencies> | boolean | - | If set to true the artifacts from the feature are not
as dependencies to the project. Default value is: false. |
<skipAddJarToFeature> | boolean | - | If set to true the main jar artifact is not added to
the feature. Default value is: false. |
<skipAddJarToTestFeature> | boolean | - | If set to true the main jar artifact is not added to
the test feature. Default value is: false. |
<skipAddTestFeatureDependencies> | boolean | - | If set to true the artifacts from the test feature are
not as dependencies to the project. Default value is: true. |
<testFeaturesExcludes> | String | - | Comma separated list of excludes for the test features. |
<testFeaturesIncludes> | String | - | Comma separated list of includes for the test features. Default value is: **/*.json. |
<validateFeatures> | boolean | - | If set to true the features are validated against the
JSON schema. Default value is: true. |