It appears that it's a bug (or at least a Maven feature that breaks build tools) in HornetQ as reported by a Gradle user in http://forums.gradle.org/gradle/topics/gradle_fails_to_parse_a_org_hornetq_hornetq_native_2_4_0_final_pom:
It seems, Gradle does not expand the property ${native-package-type} defined at the pom bottom when downloading the artifact.
As a workaround use the following in build.sbt
:
libraryDependencies += "org.hornetq" % "hornetq-server" % "2.4.1.Final"
libraryDependencies += "org.hornetq" % "hornetq-native" % "2.4.1.Final" from "http://repo1.maven.org/maven2/org/hornetq/hornetq-native/2.4.1.Final/hornetq-native-2.4.1.Final.jar"
It worked for me.