You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francis De Brabandere (JIRA)" <ji...@apache.org> on 2015/07/03 09:38:04 UTC
[jira] [Comment Edited] (ARTEMIS-150) Can't depend on artemis in a
sbt build
[ https://issues.apache.org/jira/browse/ARTEMIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612940#comment-14612940 ]
Francis De Brabandere edited comment on ARTEMIS-150 at 7/3/15 7:37 AM:
-----------------------------------------------------------------------
put this in build.sbt
{code}
name := "A Project"
version := "0.1"
val artemisVersion = "1.0.0"
libraryDependencies ++= Seq(
"org.apache.activemq" % "artemis-protocols" % artemisVersion,
"org.apache.activemq" % "artemis-amqp-protocol" % artemisVersion,
"org.apache.activemq" % "artemis-core-client" % artemisVersion,
"org.apache.activemq" % "artemis-server" % artemisVersion
)
{code}
{code}
and then on the console
{code}
> sbt compile
was (Author: francisdb):
put this in build.sbt
{code}
name := "A Project"
version := "0.1"
val artemisVersion = "1.0.0"
libraryDependencies ++= Seq(
"org.apache.activemq" % "artemis-protocols" % artemisVersion,
"org.apache.activemq" % "artemis-amqp-protocol" % artemisVersion,
"org.apache.activemq" % "artemis-core-client" % artemisVersion,
"org.apache.activemq" % "artemis-server" % artemisVersion
)
{code}
and then on the console
> sbt compile
> 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)