sling-feature-converter:convert-pm
Full name:
org.apache.sling:sling-feature-converter-maven-plugin:1.0.12:convert-pm
Description:
Converts the given list of Provisioning Models into Feature Models
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<inputFolder> |
File |
- |
The folder that contains the Provisioning Models User Property: inputFolder |
<outputFolder> |
String |
- |
The folder that will contain the created Feature Models relative to the Maven Basedir Folder Default: target/featuresUser Property: outputFolder |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<artifactId> |
String |
- |
If provided this becomes the Feature's Artifact Id. Tis will also make the original name to become the classifier User Property: artifactId |
<excludeBundles> |
List<String> |
- |
List of Bundles to be excluded from the Feature Model files User Property: excludeBundles |
<frameworkProperties> |
List<String> |
- |
Franework Properties to be added to a given Feature Model. The format looks like this: 'launchpad:felix.systempackages.substitution=true' where launchpad is the name of the PM User Property: frameworkProperties |
<groupId> |
String |
- |
If provided this becomes the Feature's Group Id User Property: groupId |
<noProvisioningModelName> |
boolean |
- |
If set to true the converted Content Package will be installed in the local Maven RepositoryDefault: trueUser Property: noProvisioningModelName |
<runModes> |
List<String> |
- |
List of all Runmodes that are considered for this conversion The default and all parts of all runmodes listed are placed into the Feature Models, all others are excluded User Property: runModes |
<version> |
String |
- |
If provided this becomes the Feature's Version User Property: version |
Parameter Details
<artifactId>
If provided this becomes the Feature's Artifact Id. Tis will also make the original name to become the classifier
- Type:
java.lang.String - Required:
No - User Property:
artifactId
<excludeBundles>
List of Bundles to be excluded from the Feature Model files
- Type:
java.util.List<java.lang.String> - Required:
No - User Property:
excludeBundles
<frameworkProperties>
Franework Properties to be added to a given Feature Model. The format looks like this: 'launchpad:felix.systempackages.substitution=true' where launchpad is the name of the PM
- Type:
java.util.List<java.lang.String> - Required:
No - User Property:
frameworkProperties
<groupId>
If provided this becomes the Feature's Group Id
- Type:
java.lang.String - Required:
No - User Property:
groupId
<inputFolder>
The folder that contains the Provisioning Models
- Type:
java.io.File - Required:
Yes - User Property:
inputFolder
<noProvisioningModelName>
If set to
true the converted Content Package will be installed in the local Maven Repository- Type:
boolean - Required:
No - User Property:
noProvisioningModelName - Default:
true
<outputFolder>
The folder that will contain the created Feature Models relative to the Maven Basedir Folder
- Type:
java.lang.String - Required:
Yes - User Property:
outputFolder - Default:
target/features
<runModes>
List of all Runmodes that are considered for this conversion The default and all parts of all runmodes listed are placed into the Feature Models, all others are excluded
- Type:
java.util.List<java.lang.String> - Required:
No - User Property:
runModes
<version>
If provided this becomes the Feature's Version
- Type:
java.lang.String - Required:
No - User Property:
version
