| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia Site Renderer 1.11.1 at 2023-07-10 |
| | Rendered using Apache Maven Fluido Skin 1.6 |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <meta name="Date-Revision-yyyymmdd" content="20230710" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Apache Sling OSGi Feature Maven Plugin – slingfeature:include-artifact</title> |
| <link rel="stylesheet" href="./css/apache-maven-fluido-1.6.min.css" /> |
| <link rel="stylesheet" href="./css/site.css" /> |
| <link rel="stylesheet" href="./css/print.css" media="print" /> |
| <script type="text/javascript" src="./js/apache-maven-fluido-1.6.min.js"></script> |
| </head> |
| <body class="topBarDisabled"> |
| <a href="https://github.com/apache/sling-dummyproject"> |
| <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;" |
| src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" |
| alt="Fork me on GitHub"> |
| </a> |
| <div class="container-fluid"> |
| <div id="banner"> |
| <div class="pull-left"><a href="https://sling.apache.org/" id="bannerLeft"><img src="https://sling.apache.org/res/logos/sling.svg" alt="Apache Sling" width="123px" height="63px"/></a></div> |
| <div class="pull-right"><a href="https://apache.org/" id="bannerRight"><img src="https://sling.apache.org/res/logos/apache.png" alt="Apache"/></a></div> |
| <div class="clear"><hr/></div> |
| </div> |
| |
| <div id="breadcrumbs"> |
| <ul class="breadcrumb"> |
| <li class=""><a href="https://sling.apache.org/" class="externalLink" title="Apache Sling">Apache Sling</a><span class="divider">/</span></li> |
| <li class=""><a href="https://sling.apache.org/components/" class="externalLink" title="Maven Plugins">Maven Plugins</a><span class="divider">/</span></li> |
| <li class=""><a href="index.html" title="Apache Sling OSGi Feature Maven Plugin">Apache Sling OSGi Feature Maven Plugin</a><span class="divider">/</span></li> |
| <li class="active ">slingfeature:include-artifact</li> |
| <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-07-10</li> |
| <li id="projectVersion" class="pull-right">Version: 1.7.2</li> |
| </ul> |
| </div> |
| <div class="row-fluid"> |
| <div id="leftColumn" class="span2"> |
| <div class="well sidebar-nav"> |
| <ul class="nav nav-list"> |
| <li class="nav-header">Overview</li> |
| <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a> </li> |
| <li><a href="plugin-info.html" title="Goals"><span class="none"></span>Goals</a> </li> |
| <li class="nav-header">Project Documentation</li> |
| <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a> </li> |
| <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a> </li> |
| </ul> |
| <hr /> |
| <div id="poweredBy"> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a> |
| </div> |
| </div> |
| </div> |
| <div id="bodyColumn" class="span10" > |
| |
| |
| <section> |
| <h2><a name="slingfeature:include-artifact"></a>slingfeature:include-artifact</h2> |
| |
| <p><b>Full name</b>:</p> |
| |
| <p>org.apache.sling:slingfeature-maven-plugin:1.7.2:include-artifact</p> |
| |
| <p><b>Description</b>:</p> |
| |
| <div>This goal creates a Feature Model file that includes the Module |
| Artifact as bundle (or extension) so that the Artifact can be added |
| through a FM into a FM project. The FM file can be found in the |
| 'build directory'/slingfeature-tmp folder. After a FM file is |
| created successfully this file will be installed in the local Maven |
| Repository as 'slingosgifeature' file under the Module's Maven Id |
| location (group, artifact, version). This file can then later be |
| used inside the 'aggregate-features' goal with: |
| <code><includeArtifact> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.test.feature</artifactId> |
| <version>1.0.0</version> |
| <classifier>my-test-classifier</classifier> |
| <type>slingosgifeature</type> |
| </includeArtifact></code> It also can add dependencies to the |
| FM file if its scope is provided (normally that would be |
| 'compile'). In addition a bundle start order can be set for these |
| included dependency bundles. Finally any FM files inside the Source |
| FM folder are embedded into the FM file. This allows to add |
| extension files like 'repoinit' etc to be added to provide them |
| with the module.</div> |
| |
| <p><b>Attributes</b>:</p> |
| |
| <ul> |
| |
| <li>Requires a Maven project to be executed.</li> |
| |
| <li>Requires dependency resolution of artifacts in scope: <code>compile</code>.</li> |
| |
| <li>The goal is thread-safe and supports parallel builds.</li> |
| |
| <li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <code>prepare-package</code>.</li> |
| </ul> |
| <section> |
| <h3><a name="Required_Parameters"></a>Required Parameters</h3> |
| |
| <table class="table table-striped" border="0"> |
| |
| <tr class="a"> |
| |
| <th>Name</th> |
| |
| <th>Type</th> |
| |
| <th>Since</th> |
| |
| <th>Description</th> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#features"><features></a></code></td> |
| |
| <td><code>File</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Directory containing feature files<br /><b>Default value is</b>: <code>src/main/features</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#testFeatures"><testFeatures></a></code></td> |
| |
| <td><code>File</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Directory containing test feature files.<br /><b>Default value is</b>: <code>src/test/features</code>.<br /></td> |
| </tr> |
| </table> |
| </section> |
| <section> |
| <h3><a name="Optional_Parameters"></a>Optional Parameters</h3> |
| |
| <table class="table table-striped" border="0"> |
| |
| <tr class="a"> |
| |
| <th>Name</th> |
| |
| <th>Type</th> |
| |
| <th>Since</th> |
| |
| <th>Description</th> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#bundlesStartOrder"><bundlesStartOrder></a></code></td> |
| |
| <td><code>int</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Start Order of all included Dependencies.<br /><b>Default value is</b>: <code>-1</code>.<br /><b>User property is</b>: <code>bundleStartOrder</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#enableLegacyVariableReplacement"><enableLegacyVariableReplacement></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>1.3.6</code></td> |
| |
| <td>Enable old variable replacement in feature model based on the full |
| maven project including system variables. If this is enabled, |
| enableProjectVariableReplacement and replacePropertyVariables have |
| no effect.<br /><b>Default value is</b>: <code>false</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#enableProjectVariableReplacement"><enableProjectVariableReplacement></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>1.3.6</code></td> |
| |
| <td>Enable the replacement of variables when reading a feature model. |
| The supported variables are "project.groupId", |
| "project.artifactId", "project.version" and "project.osgiVersion".<br /><b>Default value is</b>: <code>true</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#featuresExcludes"><featuresExcludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of excludes for the feature files. Feature |
| files excluded by this configuration are not processed at all.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#featuresIncludes"><featuresIncludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of includes for the feature files in the |
| configured directory. Only feature files specified by this include |
| are processed.<br /><b>Default value is</b>: <code>**/*.json</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#generatedFeatures"><generatedFeatures></a></code></td> |
| |
| <td><code>File</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Directory containing generated feature files<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#generatedFeaturesExcludes"><generatedFeaturesExcludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of excludes for the generated feature files. |
| Feature files excluded by this configuration are not processed at |
| all.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#generatedFeaturesIncludes"><generatedFeaturesIncludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of includes for the generated feature files in |
| the configured directory. Only feature files specified by this |
| include are processed.<br /><b>Default value is</b>: <code>**/*.json</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#includeArtifactClassifier"><includeArtifactClassifier></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Classifier of the feature the current artifact is included in. For |
| simple projects a artifact classifier is not needed but in multi |
| feature projects the classifier is used to find the appropriate |
| feature.<br /><b>User property is</b>: <code>includeArtifactClassifier</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#includeArtifactExtension"><includeArtifactExtension></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Name of the extension to include the artifact in. If not specified |
| the artifact is included as a bundle.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#includeClassifier"><includeClassifier></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>1.3.0</code></td> |
| |
| <td>Name of the classifier for the artifact to be included. By default |
| the main artifact (no classifier) will be included.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#includeDependenciesWithScope"><includeDependenciesWithScope></a></code></td> |
| |
| <td><code>String[]</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>All listed dependency's scopes will be added to the descriptor.<br /><b>User property is</b>: <code>includeDependenciesWithScope</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#includeType"><includeType></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>1.3.0</code></td> |
| |
| <td>Name of the type for the artifact to be included. By default the |
| type of the main artifact is used.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#jarStartOrder"><jarStartOrder></a></code></td> |
| |
| <td><code>int</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>The start level for the attached jar/bundle.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#metadata"><metadata></a></code></td> |
| |
| <td><code>Map</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Metadata for the included artifact.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#replacePropertyVariables"><replacePropertyVariables></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>1.3.6</code></td> |
| |
| <td>A comma separated list of variables which are replaced when a |
| feature model is read. The value of these variables is fetched from |
| the project properties.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#skipAddFeatureDependencies"><skipAddFeatureDependencies></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>If set to <code>true</code> the artifacts from the feature are not |
| as dependencies to the project.<br /><b>Default value is</b>: <code>false</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#skipAddJarToFeature"><skipAddJarToFeature></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>If set to <code>true</code> the main jar artifact is not added to |
| the feature.<br /><b>Default value is</b>: <code>false</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#skipAddJarToTestFeature"><skipAddJarToTestFeature></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>If set to <code>true</code> the main jar artifact is not added to |
| the test feature.<br /><b>Default value is</b>: <code>false</code>.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#skipAddTestFeatureDependencies"><skipAddTestFeatureDependencies></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>If set to <code>true</code> the artifacts from the test feature are |
| not as dependencies to the project.<br /><b>Default value is</b>: <code>true</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#testFeaturesExcludes"><testFeaturesExcludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of excludes for the test features.<br /></td> |
| </tr> |
| |
| <tr class="a"> |
| |
| <td align="left"><code><a href="#testFeaturesIncludes"><testFeaturesIncludes></a></code></td> |
| |
| <td><code>String</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>Comma separated list of includes for the test features.<br /><b>Default value is</b>: <code>**/*.json</code>.<br /></td> |
| </tr> |
| |
| <tr class="b"> |
| |
| <td align="left"><code><a href="#validateFeatures"><validateFeatures></a></code></td> |
| |
| <td><code>boolean</code></td> |
| |
| <td><code>-</code></td> |
| |
| <td>If set to <code>true</code> the features are validated against the |
| JSON schema.<br /><b>Default value is</b>: <code>true</code>.<br /></td> |
| </tr> |
| </table> |
| </section> |
| <section> |
| <h3><a name="Parameter_Details"></a>Parameter Details</h3> |
| <section> |
| <h4><a name="a.3CbundlesStartOrder.3E"></a><b><a name="bundlesStartOrder"><bundlesStartOrder></a></b></h4> |
| |
| <div>Start Order of all included Dependencies.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>int</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>User Property</b>: <code>bundleStartOrder</code></li> |
| |
| <li><b>Default</b>: <code>-1</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CenableLegacyVariableReplacement.3E"></a><b><a name="enableLegacyVariableReplacement"><enableLegacyVariableReplacement></a></b></h4> |
| |
| <div>Enable old variable replacement in feature model based on the full |
| maven project including system variables. If this is enabled, |
| enableProjectVariableReplacement and replacePropertyVariables have |
| no effect.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Since</b>: <code>1.3.6</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>false</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CenableProjectVariableReplacement.3E"></a><b><a name="enableProjectVariableReplacement"><enableProjectVariableReplacement></a></b></h4> |
| |
| <div>Enable the replacement of variables when reading a feature model. |
| The supported variables are "project.groupId", |
| "project.artifactId", "project.version" and "project.osgiVersion".</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Since</b>: <code>1.3.6</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>true</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3Cfeatures.3E"></a><b><a name="features"><features></a></b></h4> |
| |
| <div>Directory containing feature files</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.io.File</code></li> |
| |
| <li><b>Required</b>: <code>Yes</code></li> |
| |
| <li><b>Default</b>: <code>src/main/features</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CfeaturesExcludes.3E"></a><b><a name="featuresExcludes"><featuresExcludes></a></b></h4> |
| |
| <div>Comma separated list of excludes for the feature files. Feature |
| files excluded by this configuration are not processed at all.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CfeaturesIncludes.3E"></a><b><a name="featuresIncludes"><featuresIncludes></a></b></h4> |
| |
| <div>Comma separated list of includes for the feature files in the |
| configured directory. Only feature files specified by this include |
| are processed.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>**/*.json</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CgeneratedFeatures.3E"></a><b><a name="generatedFeatures"><generatedFeatures></a></b></h4> |
| |
| <div>Directory containing generated feature files</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.io.File</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CgeneratedFeaturesExcludes.3E"></a><b><a name="generatedFeaturesExcludes"><generatedFeaturesExcludes></a></b></h4> |
| |
| <div>Comma separated list of excludes for the generated feature files. |
| Feature files excluded by this configuration are not processed at |
| all.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CgeneratedFeaturesIncludes.3E"></a><b><a name="generatedFeaturesIncludes"><generatedFeaturesIncludes></a></b></h4> |
| |
| <div>Comma separated list of includes for the generated feature files in |
| the configured directory. Only feature files specified by this |
| include are processed.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>**/*.json</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CincludeArtifactClassifier.3E"></a><b><a name="includeArtifactClassifier"><includeArtifactClassifier></a></b></h4> |
| |
| <div>Classifier of the feature the current artifact is included in. For |
| simple projects a artifact classifier is not needed but in multi |
| feature projects the classifier is used to find the appropriate |
| feature.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>User Property</b>: <code>includeArtifactClassifier</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CincludeArtifactExtension.3E"></a><b><a name="includeArtifactExtension"><includeArtifactExtension></a></b></h4> |
| |
| <div>Name of the extension to include the artifact in. If not specified |
| the artifact is included as a bundle.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CincludeClassifier.3E"></a><b><a name="includeClassifier"><includeClassifier></a></b></h4> |
| |
| <div>Name of the classifier for the artifact to be included. By default |
| the main artifact (no classifier) will be included.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Since</b>: <code>1.3.0</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CincludeDependenciesWithScope.3E"></a><b><a name="includeDependenciesWithScope"><includeDependenciesWithScope></a></b></h4> |
| |
| <div>All listed dependency's scopes will be added to the descriptor.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String[]</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>User Property</b>: <code>includeDependenciesWithScope</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CincludeType.3E"></a><b><a name="includeType"><includeType></a></b></h4> |
| |
| <div>Name of the type for the artifact to be included. By default the |
| type of the main artifact is used.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Since</b>: <code>1.3.0</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CjarStartOrder.3E"></a><b><a name="jarStartOrder"><jarStartOrder></a></b></h4> |
| |
| <div>The start level for the attached jar/bundle.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>int</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3Cmetadata.3E"></a><b><a name="metadata"><metadata></a></b></h4> |
| |
| <div>Metadata for the included artifact.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.util.Map</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CreplacePropertyVariables.3E"></a><b><a name="replacePropertyVariables"><replacePropertyVariables></a></b></h4> |
| |
| <div>A comma separated list of variables which are replaced when a |
| feature model is read. The value of these variables is fetched from |
| the project properties.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Since</b>: <code>1.3.6</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CskipAddFeatureDependencies.3E"></a><b><a name="skipAddFeatureDependencies"><skipAddFeatureDependencies></a></b></h4> |
| |
| <div>If set to <code>true</code> the artifacts from the feature are not |
| as dependencies to the project.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>false</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CskipAddJarToFeature.3E"></a><b><a name="skipAddJarToFeature"><skipAddJarToFeature></a></b></h4> |
| |
| <div>If set to <code>true</code> the main jar artifact is not added to |
| the feature.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>false</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CskipAddJarToTestFeature.3E"></a><b><a name="skipAddJarToTestFeature"><skipAddJarToTestFeature></a></b></h4> |
| |
| <div>If set to <code>true</code> the main jar artifact is not added to |
| the test feature.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>false</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CskipAddTestFeatureDependencies.3E"></a><b><a name="skipAddTestFeatureDependencies"><skipAddTestFeatureDependencies></a></b></h4> |
| |
| <div>If set to <code>true</code> the artifacts from the test feature are |
| not as dependencies to the project.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>true</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CtestFeatures.3E"></a><b><a name="testFeatures"><testFeatures></a></b></h4> |
| |
| <div>Directory containing test feature files.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.io.File</code></li> |
| |
| <li><b>Required</b>: <code>Yes</code></li> |
| |
| <li><b>Default</b>: <code>src/test/features</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CtestFeaturesExcludes.3E"></a><b><a name="testFeaturesExcludes"><testFeaturesExcludes></a></b></h4> |
| |
| <div>Comma separated list of excludes for the test features.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CtestFeaturesIncludes.3E"></a><b><a name="testFeaturesIncludes"><testFeaturesIncludes></a></b></h4> |
| |
| <div>Comma separated list of includes for the test features.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>java.lang.String</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>**/*.json</code></li> |
| </ul><hr /></section><section> |
| <h4><a name="a.3CvalidateFeatures.3E"></a><b><a name="validateFeatures"><validateFeatures></a></b></h4> |
| |
| <div>If set to <code>true</code> the features are validated against the |
| JSON schema.</div> |
| |
| <ul> |
| |
| <li><b>Type</b>: <code>boolean</code></li> |
| |
| <li><b>Required</b>: <code>No</code></li> |
| |
| <li><b>Default</b>: <code>true</code></li> |
| </ul> |
| </section></section> |
| </section> |
| |
| |
| </div> |
| </div> |
| </div> |
| <hr/> |
| <footer> |
| <div class="container-fluid"> |
| <div class="row-fluid"> |
| <p>© 2023 |
| <a href="https://www.apache.org/">The Apache Software Foundation</a> | <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a> |
| </p> |
| </div> |
| </div> |
| </footer> |
| </body> |
| </html> |