Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Add this information to README, use with Maven/Gradle #50

Open
gonzalezsieira opened this issue Mar 16, 2018 · 0 comments
Open

Add this information to README, use with Maven/Gradle #50

gonzalezsieira opened this issue Mar 16, 2018 · 0 comments

Comments

@gonzalezsieira
Copy link

gonzalezsieira commented Mar 16, 2018

Repositories have to be properly configured in order to work with Maven. It would be nice to have this information in the README. New users could easily configure the pom.xml file:

<!-- Configure respositories -->
<repositories>
    <repository>
        <id>rosjava</id>
        <url>https://github.com/rosjava/rosjava_mvn_repo/raw/master/</url>
    </repository>
    <repository>
        <id>jfrog</id>
        <url>http://repo.jfrog.org/artifactory/libs-releases/</url>
    </repository>
</repositories>

<dependencies>
    <!-- ROSJAVA Core-->
    <dependency>
        <groupId>org.ros.rosjava_core</groupId>
        <artifactId>rosjava</artifactId>
        <version>0.3.5</version>
    </dependency>
    <!-- Example: std_msgs -->
    <dependency>
        <groupId>org.ros.rosjava_messages</groupId>
        <artifactId>std_msgs</artifactId>
        <version>0.5.11</version>
    </dependency>
</dependencies>

Also, not sure about the Gradle info, but I understand that the jfrog repository has to be declared too to resolve all dependencies.

Regards,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant