Update install instructions for deployment using features
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/ffe25912 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/ffe25912 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/ffe25912 Branch: refs/heads/master Commit: ffe259125865aa15eaee8638951d9a1a7d8d0459 Parents: 2942393 Author: Serge Huber <[email protected]> Authored: Wed Dec 21 20:15:00 2016 +0100 Committer: Serge Huber <[email protected]> Committed: Wed Dec 21 20:15:00 2016 +0100 ---------------------------------------------------------------------- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/ffe25912/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 7c807a7..b73efa4 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,10 @@ on your disk and copy all the files from the lib/sigar directory into Karaf's li 3. Install the WAR support, CXF and CDI (OpenWebBeans) into Karaf by doing the following in the Karaf command line: ``` - feature:install -v war - feature:repo-add cxf 2.7.11 - feature:install -v cxf/2.7.11 + feature:repo-add cxf 3.0.2 + feature:repo-add cellar 3.0.3 + feature:repo-add mvn:org.apache.unomi/unomi-kar/VERSION/xml/features + feature:install unomi-kar ``` 4. Create a new $MY_KARAF_HOME/etc/org.apache.cxf.osgi.cfg file and put the following property inside : @@ -85,14 +86,8 @@ on your disk and copy all the files from the lib/sigar directory into Karaf's li ``` org.apache.cxf.servlet.context=/cxs ``` - -5. Copy the following KAR to the Karaf deploy directory, as in this example line: - - ``` - cp kar/target/unomi-kar-1.0.0-SNAPSHOT.kar ~/java/deployments/unomi/apache-karaf-3.0.1/deploy/ - ``` -6. If all went smoothly, you should be able to access the context script here : http://localhost:8181/cxs/cluster . +5. If all went smoothly, you should be able to access the context script here : http://localhost:8181/cxs/cluster . You should be able to login with karaf / karaf and see basic server information. If not something went wrong during the install. Configuration
