[
https://issues.apache.org/jira/browse/ARTEMIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623444#comment-14623444
]
Bhaskar Maddala commented on ARTEMIS-150:
-----------------------------------------
I ran into the same issue, documenting my workaround in the event that it is
helpful for someone else. I downloaded and added the native jar to the lib
folder
{quote}
diff --git a/lib/artemis-native-1.0.0.jar b/lib/artemis-native-1.0.0.jar
new file mode 100644
index 0000000..9da80a4
{quote}
and added an exclude specification in sbt
{quote}
"org.apache.activemq" % "artemis-protocols" % "1.0.0"
exclude("org.apache.activemq", "artemis-native"),
"org.apache.activemq" % "artemis-amqp-protocol" % "1.0.0"
exclude("org.apache.activemq", "artemis-native"),
"org.apache.activemq" % "artemis-core-client" % "1.0.0"
exclude("org.apache.activemq", "artemis-native"),
"org.apache.activemq" % "artemis-server" % "1.0.0"
exclude("org.apache.activemq", "artemis-native"),
{quote}
> Can't depend on artemis in a sbt build
> --------------------------------------
>
> Key: ARTEMIS-150
> URL: https://issues.apache.org/jira/browse/ARTEMIS-150
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Francis De Brabandere
> Labels: sbt
> Fix For: 1.0.1
>
>
> Just tried to set up a project that embeds artemis but sbt fails to download
> artemis-native because it does not seem to be resolving ${native-package-type}
> {code}
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: FAILED DOWNLOADS ::
> [warn] :: ^ see resolution messages for details ^ ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] ::
> org.apache.activemq#artemis-native;1.0.0!artemis-native.${native-package-type}
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)