{"id":17933484,"url":"https://github.com/apache/sling-org-apache-sling-feature-launcher","last_synced_at":"2025-03-24T06:32:43.653Z","repository":{"id":38361252,"uuid":"131209418","full_name":"apache/sling-org-apache-sling-feature-launcher","owner":"apache","description":"Apache Sling Feature Launcher","archived":false,"fork":false,"pushed_at":"2024-12-21T11:37:39.000Z","size":298,"stargazers_count":5,"open_issues_count":2,"forks_count":12,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-17T12:21:49.124Z","etag":null,"topics":["java","osgi","osgi-feature-model","sling"],"latest_commit_sha":null,"homepage":"https://sling.apache.org/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-26T20:52:19.000Z","updated_at":"2024-12-21T11:37:42.000Z","dependencies_parsed_at":"2023-10-13T08:04:35.523Z","dependency_job_id":"7ca2bcf2-2406-44fe-8f57-73e0c823c5f8","html_url":"https://github.com/apache/sling-org-apache-sling-feature-launcher","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fsling-org-apache-sling-feature-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fsling-org-apache-sling-feature-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fsling-org-apache-sling-feature-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fsling-org-apache-sling-feature-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/sling-org-apache-sling-feature-launcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245223103,"owners_count":20580295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","osgi","osgi-feature-model","sling"],"created_at":"2024-10-28T21:40:22.127Z","updated_at":"2025-03-24T06:32:40.334Z","avatar_url":"https://github.com/apache.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Apache Sling](https://sling.apache.org/res/logos/sling.png)](https://sling.apache.org)\n\n\u0026#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-feature-launcher/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-feature-launcher/job/master/)\u0026#32;[![Test Status](https://img.shields.io/jenkins/tests.svg?jobUrl=https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-feature-launcher/job/master/)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-feature-launcher/job/master/test/?width=800\u0026height=600)\u0026#32;[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=apache_sling-org-apache-sling-feature-launcher\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-launcher)\u0026#32;[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=apache_sling-org-apache-sling-feature-launcher\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-launcher)\u0026#32;[![JavaDoc](https://www.javadoc.io/badge/org.apache.sling/org.apache.sling.feature.launcher.svg)](https://www.javadoc.io/doc/org.apache.sling/org-apache-sling-feature-launcher)\u0026#32;[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.sling/org.apache.sling.feature.launcher/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22org.apache.sling.feature.launcher%22)\u0026#32;[![feature](https://sling.apache.org/badges/group-feature.svg)](https://github.com/apache/sling-aggregator/blob/master/docs/group/feature.md) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n\n# Feature Model Launcher\n\nThe Feature Model Launcher can launch an feature model application file to a running process.\n\nThe launcher can be executed as follows:\n\n``` bash\njava org.apache.sling.feature.launcher.impl.Main\n```\n\nor via the Java Main class of the jar file:\n\n``` bash\njava -jar org.apache.sling.feature.launcher.jar\n```\n\nThe following command line options are supported:\n\n``` bash\njava -jar org.apache.sling.feature.launcher.jar -h\nusage: launcher\n -C \u003carg\u003e    Set artifact clash override\n -CC \u003carg\u003e   Set config clash override\n -c \u003carg\u003e    Set cache dir\n -D \u003carg\u003e    Set framework properties\n -f \u003carg\u003e    Set feature files (relative and absolute file path or URL including classloader resources)\n -i \u003carg\u003e    Set the id for the launch feature\n -p \u003carg\u003e    Set home dir\n -u \u003carg\u003e    Set repository url\n -V \u003carg\u003e    Set variable value\n -ec \u003carg\u003e   Set Extension Configuration (format: extensionName:key1=val1,key2=val2)\n -fv \u003carg\u003e   Set Felix Framework version\n -fa \u003carg\u003e   Set Framework Artifact (overrides felix framework version)\n -v          Verbose\n```\n\n## Cache\n\nThe 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.\n\n``` bash\nrm -rf launcher \u0026\u0026 java -jar org.apache.sling.feature.launcher.jar -h\n```\n\n## Feature Files as Classloader Resources\n\n**Note**: if feature files are provided as a Classloader Resource like in an\nexecutable JAR file or classpath resource then it's **Resource URL** can be handed\nover to the Launcher as feature file (-f option):\n\n```\njava.net.URL url = getClass().getResource(\"/my-feature-file.json\");\nString[] arguments = new String[] {\n    \"-f\", url.toString()\n};\norg.apache.sling.feature.launcher.impl.Main.main(arguments);\n```\n\n# References\n\nFor further documentation see: https://github.com/apache/sling-org-apache-sling-feature/blob/master/readme.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fsling-org-apache-sling-feature-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fsling-org-apache-sling-feature-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fsling-org-apache-sling-feature-launcher/lists"}