{"id":15924086,"url":"https://github.com/ericglau/install-liberty-features-cmd-line","last_synced_at":"2026-02-02T10:11:33.546Z","repository":{"id":116635074,"uuid":"175871402","full_name":"ericglau/install-liberty-features-cmd-line","owner":"ericglau","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-15T19:52:20.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T02:15:39.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericglau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2019-03-15T18:22:11.000Z","updated_at":"2019-03-15T19:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"234dc99d-a189-47d9-be55-f2f9976ed1e2","html_url":"https://github.com/ericglau/install-liberty-features-cmd-line","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Finstall-liberty-features-cmd-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Finstall-liberty-features-cmd-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Finstall-liberty-features-cmd-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Finstall-liberty-features-cmd-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericglau","download_url":"https://codeload.github.com/ericglau/install-liberty-features-cmd-line/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247005409,"owners_count":20868019,"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":[],"created_at":"2024-10-06T21:20:20.012Z","updated_at":"2026-02-02T10:11:28.524Z","avatar_url":"https://github.com/ericglau.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installing Liberty features from command line\n\n## Setup\n1. Have an existing Liberty directory.\n1. Clone this repo or download `pom.xml` to any directory.\n\n## Installing features using feature names\n1. From the directory with the `pom.xml`, run the following command, replacing the values of `-Dliberty.directory` and `-Dliberty.feature` with your existing Liberty directory and the feature you want to install, respectively.\n```\nmvn net.wasdev.wlp.maven.plugins:liberty-maven-plugin:install-feature -Dliberty.directory=/opt/wlp -Dliberty.feature=jaxrs-2.1\n```\n\n## Installing features using dependencies\n1. Modify the pom.xml to add dependencies, e.g.:\n#### Open Liberty:\n```\n    \u003cdependencyManagement\u003e\n        \u003cdependencies\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003eio.openliberty.features\u003c/groupId\u003e\n                \u003cartifactId\u003efeatures-bom\u003c/artifactId\u003e\n                \u003cversion\u003e19.0.0.2\u003c/version\u003e\n                \u003ctype\u003epom\u003c/type\u003e\n                \u003cscope\u003eimport\u003c/scope\u003e\n            \u003c/dependency\u003e\n        \u003c/dependencies\u003e\n    \u003c/dependencyManagement\u003e\n\n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.openliberty.features\u003c/groupId\u003e\n            \u003cartifactId\u003ejaxrs-2.1\u003c/artifactId\u003e\n            \u003ctype\u003eesa\u003c/type\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n```\n#### WebSphere Liberty:\n``` \n    \u003cdependencyManagement\u003e\n        \u003cdependencies\u003e\n            \u003cdependency\u003e\n                \u003cgroupId\u003ecom.ibm.websphere.appserver.features\u003c/groupId\u003e\n                \u003cartifactId\u003efeatures-bom\u003c/artifactId\u003e\n                \u003cversion\u003e19.0.0.2\u003c/version\u003e\n                \u003ctype\u003epom\u003c/type\u003e\n                \u003cscope\u003eimport\u003c/scope\u003e\n            \u003c/dependency\u003e\n        \u003c/dependencies\u003e\n    \u003c/dependencyManagement\u003e\n\n    \u003cdependencies\u003e\n       \u003cdependency\u003e\n           \u003cgroupId\u003ecom.ibm.websphere.appserver.features\u003c/groupId\u003e\n           \u003cartifactId\u003eservlet-3.0\u003c/artifactId\u003e\n           \u003ctype\u003eesa\u003c/type\u003e\n       \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n```\n2. From the directory with the `pom.xml`, run the following command, replacing the values of `-Dliberty.directory` with your existing Liberty directory.\n\n## Installing user features\n1. From the directory with the `pom.xml`, run the following command, replacing the values of `-Dliberty.directory` and `-Dliberty.feature` with your existing Liberty directory and the path to the user feature you want to install, respectively.\n```\nmvn net.wasdev.wlp.maven.plugins:liberty-maven-plugin:install-feature -Dliberty.directory=/opt/wlp -Dliberty.feature=\"/mydir/com.ibm.websphere.appserver.portlet-2.0.esa\" -Dliberty.feature.acceptLicense=true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericglau%2Finstall-liberty-features-cmd-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericglau%2Finstall-liberty-features-cmd-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericglau%2Finstall-liberty-features-cmd-line/lists"}