Perhaps the maven GAV's could be added to chapter 10 of the documentation.
(even if it is without versions)
Not sure what version of jnp-client is distributed, but that's the version from AS 6 final.
I'm pretty sure there are already a bunch of Jira calls around this. Should I be making enquries via Jira instead? At the moment all of the documentation I've been able to find via Google-fu is pointing at old repos, or is just plain wrong. I'm definitely not the first person to ask this question, and would like to ensure that once an answer has been worked out, it doesn't get lost.
And the magic, just so I don't lose it (and touch wood other people can find it).
Documentation on JBoss and HornetQ Maven Repository, current in early 2012: https://community.jboss.org/wiki/MavenGettingStarted-Users
jnp-client in the maven repository: https://repository.jboss.org/nexus/index.html#nexus-search;quick~jnp-client
Specifying the correct repository in your pom.xml:
<repositories> <repository> <id>jboss-public-repository-group</id> <name>JBoss Public Maven Repository Group</name> <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories>
And the current dependency for jnp-client:
<dependency> <groupId>org.jboss.naming</groupId> <artifactId>jnp-client</artifactId> <version>5.0.5.Final</version> </dependency>