John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame^] | 1 | .. _jvpp: |
| 2 | |
| 3 | .. toctree:: |
| 4 | |
| 5 | Getting jvpp jar |
| 6 | ------------------- |
| 7 | VPP provides java bindings which can be downloaded at: |
| 8 | |
| 9 | * https://nexus.fd.io/content/repositories/fd.io.release/io/fd/vpp/jvpp-core/18.01/jvpp-core-18.01.jar |
| 10 | |
| 11 | Getting jvpp via maven |
| 12 | ------------------------- |
| 13 | |
| 14 | **1. Add the following to the repositories section in your ~/.m2/settings.xml to pick up the fd.io maven repo:** |
| 15 | |
| 16 | .. code-block:: console |
| 17 | |
| 18 | <repository> |
| 19 | <id>fd.io-release</id> |
| 20 | <name>fd.io-release</name> |
| 21 | <url>https://nexus.fd.io/content/repositories/fd.io.release/</url> |
| 22 | <releases> |
| 23 | <enabled>false</enabled> |
| 24 | </releases> |
| 25 | <snapshots> |
| 26 | <enabled>true</enabled> |
| 27 | </snapshots> |
| 28 | </repository> |
| 29 | |
| 30 | For more information on setting up maven repositories in settings.xml, please look at: |
| 31 | |
| 32 | * https://maven.apache.org/guides/mini/guide-multiple-repositories.html |
| 33 | |
| 34 | **2. Then you can get jvpp by putting in the dependencies section of your pom.xml file:** |
| 35 | |
| 36 | .. code-block:: console |
| 37 | |
| 38 | <dependency> |
| 39 | <groupId>io.fd.vpp</groupId> |
| 40 | <artifactId>jvpp-core</artifactId> |
| 41 | <version>17.10</version> |
| 42 | </dependency> |
| 43 | |
| 44 | For more information on maven dependency managment, please look at: |
| 45 | |
| 46 | * https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html |