Last week I started building my own RHQ client. The docs say to get the required libraries from the CLI distribution. If you are using maven or another build tool that provides dependency management as I was, copying the libraries from the CLI is not what you want. It took some effort to get the dependencies that I needed sorted out. To alleviate this for others, I pushed a new module into the master branch that takes care of all the dependencies for you. The only dependency that you need to declare is,
<dependency> <groupId>org.rhq</groupId> <artifactId>remote-client-deps</artifactId> <version>4.0.0-SNAPSHOT</version> <type>pom</type> </dependency>
This will pull in all of the required RHQ dependencies. I wrote up a blog post about this at http://johnsanda.blogspot.com/2010/08/building-rhq-client.html that you read if you want more details on what I ran into.
- John
rhq-users@lists.fedorahosted.org