pom.xml revision e28d7f41
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  <modelVersion>4.0.0</modelVersion>
4 
5  <groupId>io.fd.nsh_sfc</groupId>
6  <artifactId>nsh-sfc</artifactId>
7  <version>17.04-SNAPSHOT</version>
8  <packaging>jar</packaging>
9 
10  <name>nsh-sfc</name>
11  <url>https://wiki.fd.io/view/NSH_SFC</url>
12
13  <properties>
14    <nexusproxy>http://nexus.fd.io/content</nexusproxy>
15  </properties>
16  
17  <dependencies>
18    <dependency>
19      <groupId>io.fd.vpp</groupId>
20      <artifactId>jvpp-registry</artifactId>
21      <version>17.04-SNAPSHOT</version>
22    </dependency>
23  </dependencies>
24  
25  <build>
26    <plugins>
27      <plugin>
28        <groupId>org.apache.maven.plugins</groupId>
29        <artifactId>maven-compiler-plugin</artifactId>
30        <version>3.5.1</version>
31        <configuration>
32          <source>1.8</source>
33          <target>1.8</target>
34        </configuration>
35      </plugin>
36      
37      <plugin>
38        <groupId>org.apache.maven.plugins</groupId>
39        <artifactId>maven-antrun-plugin</artifactId>
40        <version>1.8</version>
41        <executions>
42            <execution>
43            <phase>process-classes</phase>
44            <goals>
45                <goal>run</goal>
46            </goals>
47            <configuration>
48                <exportAntProperties>true</exportAntProperties>
49                <target>
50                   <property name="runtime_classpath" refid="maven.compile.classpath"/>
51                   <exec executable="javah">
52                       <arg value="-cp"/>
53                       <arg value="${runtime_classpath}"/>
54                       <arg value="-d"/>
55                       <arg value="${basedir}"/>
56                       <arg value="io.fd.vpp.jvpp.nsh.JVppNshImpl"/>
57                   </exec>
58                </target>
59            </configuration>
60           </execution>
61        </executions>
62      </plugin>
63    </plugins>
64  </build>
65
66  <distributionManagement>
67    <repository>
68      <id>fdio-release</id>
69      <url>${nexusproxy}/repositories/fd.io.release/</url>
70    </repository>
71    <snapshotRepository>
72      <id>fdio-snapshot</id>
73      <url>${nexusproxy}/repositories/fd.io.snapshot/</url>
74    </snapshotRepository>
75  </distributionManagement>
76
77</project>
78