Ask Your Question

Official sbt [maven] set up for rosjava

asked 2017-03-17 10:46:15 -0500

I have been struggling setting up Scala access to ROS. This should normally work via rosjava, but I am struggling with build dependencies. This is the key part of the build.sbt file regarding rosjava:

  resolvers += "rosjava repository" at "",
  resolvers += "jfrog repo" at "",

  libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.6" % "test",
  libraryDependencies += "org.ros.rosjava_core" % "rosjava" % "[0.3,0.4)",

the rosjava maven repo is more or less standard following the maven setup suggestions online. But the build fails (on some commons packages) if I don't include the jfrog repo. I have no idea what is the jfrog repo, whether it is reliable and will be around to stay. Is this repo the right way to set up rosjava dependencies? What otherwise? I suppose that any rosjava expert using maven or gradle, will also be able to answer this question. You don't need to be a Scala/Sbt user. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-30 06:05:21 -0500

Half a year later I no longer have the problems. I use the following sbt setup re. basic Ros Java (build.sbt):

  resolvers += "rosjava repository" at "",
  libraryDependencies += "org.ros.rosjava_core" % "rosjava" % "[0.3,0.4)",
  libraryDependencies += "org.ros.rosjava_messages" % "sensor_msgs" % "[1.12, 1.13)",

The reference to jfrog seems to no longer be needed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-03-17 10:46:15 -0500

Seen: 147 times

Last updated: Oct 30 '17