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