tag | 96cdcda8503d936c8c64f98ea7bd88525dde33ec | |
---|---|---|
tagger | David Bosschaert <bosschae@adobe.com> | Fri Feb 05 14:39:20 2021 +0000 |
object | 375b81cf60c79c164446fb7ebe66a2ade3c0e831 |
[maven-release-plugin] copy for tag org.apache.sling.feature.launcher-1.1.16
commit | 375b81cf60c79c164446fb7ebe66a2ade3c0e831 | [log] [tgz] |
---|---|---|
author | David Bosschaert <bosschae@adobe.com> | Fri Feb 05 14:39:14 2021 +0000 |
committer | David Bosschaert <bosschae@adobe.com> | Fri Feb 05 14:39:14 2021 +0000 |
tree | 30f0b15d358ced7769f562528e27ebf506ba6ca0 | |
parent | e397b34ce7466d8a5ca89f0c06fc89d89847fca5 [diff] |
[maven-release-plugin] prepare release org.apache.sling.feature.launcher-1.1.16
The Feature Model Launcher can launch an feature model application file to a running process.
The launcher can be executed as follows:
java org.apache.sling.feature.launcher.impl.Main
or via the Java Main class of the jar file:
java -jar org.apache.sling.feature.launcher-1.0.0.jar
The launcher creates a local cache, by default in a subdirectory called launcher
. If you want to run the launcher with a clean start, delete this directory before invoking the launcher.
The following command line options are supported:
$ rm -rf launcher && java -jar org.apache.sling.feature.launcher-1.0.0.jar -h usage: launcher -C <arg> Set artifact clash override -CC <arg> Set config class override -c <arg> Set cache dir -D <arg> Set framework properties -f <arg> Set feature files (relative and absolute file path or URL including classloader resources) -fv <arg> Set felix framework version -p <arg> Set home dir -u <arg> Set repository url -V <arg> Set variable value -ec <arg> Set Extension Configuration (format: extensionName:key1=val1,key2=val2) -fv <arg> Set Felix Framework version -fa <arg> Set Framework Artifact (overrides felix framework version) -v Verbose
Note: if feature files are provided as a Classloader Resource like in an executable JAR file or classpath resource then it's Resource URL can be handed over to the Launcher as feature file (-f option):
java.net.URL url = getClass().getResource("/my-feature-file.json"); String[] arguments = new String[] { "-f", url.toString() }; org.apache.sling.feature.launcher.impl.Main.main(arguments);
For further documentation see: https://github.com/apache/sling-org-apache-sling-feature/blob/master/readme.md