update the readme Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/837e00b6 Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/837e00b6 Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/837e00b6 Branch: refs/heads/master Commit: 837e00b66327b3dfbfba466c8cc3493bcd673075 Parents: 94e21e8 Author: Raymond Auge Authored: Tue Nov 8 14:57:28 2016 -0500 Committer: Raymond Auge Committed: Tue Nov 8 14:57:28 2016 -0500 ---------------------------------------------------------------------- README.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/837e00b6/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 6a7519a..154fb6a 100644 --- a/README.md +++ b/README.md @@ -4,24 +4,14 @@ This is an implementation of a JAX-RS Services whiteboard [OSGi RFC-217](https:/ ## Building -Execute the usual maven task `mvn package`. +Execute the maven tasks `mvn clean install`. ## Running the Example -This is a two step process. +The file `jax-rs.example-run/example.jar` should have been created. -### Create the executable jar - -In the bndrun subdirectory, execute the task `mvn bnd-export:export` - -**Note:** There's an occasional NPE occuring during the resolve operation. If you should encounter this, please try again. - -### Run the exported jar - -Once exported, the bndrun directory should contain a file `org.apache.aries.jax-rs.example.jar`. - -Execute the following command +Execute the following command: ``` -java -jar org.apache.aries.jax-rs.example.jar +java -jar jax-rs.example-run/example.jar ``` \ No newline at end of file