blob: 4c5c58256c2d2f4696d64916102cea4fd4dcb74e [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _jvpp:
2
3.. toctree::
4
5Getting jvpp jar
6-------------------
7VPP 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
11Getting 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
30For 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
44For more information on maven dependency managment, please look at:
45
46* https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html