ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi @pulkitgupta1217,

I'd use maven to download the artifacts directly. In the repositories section of the pom file, add the following:

<repositories>
    <repository>
        <id>rosjava_mvn</id>
        <name>Public Rosjava repository</name>
        <url>https://github.com/rosjava/rosjava_mvn_repo/raw/master</url>
    </repository>
    <repository>
      <id>jcenter</id>
      <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>

That will point to rosjava_mvn_repo. Then, in the dependencies section, add the dependencies you need, e.g.:

    <dependency>
        <groupId>org.ros.rosjava_core</groupId>
        <artifactId>rosjava</artifactId>
        <version>[0.3, 0.4)</version>
    </dependency>

This can include any message artifact you need. Hope it helps!