blob: 19c9326f20fba645b8475ce4aa7cdf52407ee816 [file] [log] [blame]
Henry Yu53b65be2017-02-12 13:12:22 -05001<!--
Brian O'Connor72b2df22017-08-03 18:48:28 -07002 ~ Copyright 2017-present Open Networking Foundation
Henry Yu53b65be2017-02-12 13:12:22 -05003 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-yang-serializers</artifactId>
Yuta HIGUCHI80cdf242018-02-13 22:02:53 -080025 <version>2.5-SNAPSHOT</version>
Henry Yu53b65be2017-02-12 13:12:22 -050026 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-yang-serializers-json</artifactId>
Bharat saraswala542a362017-03-02 21:43:59 +053030 <packaging>bundle</packaging>
Henry Yu53b65be2017-02-12 13:12:22 -050031
32 <dependencies>
33 <dependency>
34 <groupId>commons-io</groupId>
35 <artifactId>commons-io</artifactId>
36 <version>2.4</version>
37 </dependency>
38 <dependency>
39 <groupId>org.slf4j</groupId>
40 <artifactId>slf4j-api</artifactId>
41 <version>1.7.21</version>
42 </dependency>
43 <dependency>
Henry Yu53b65be2017-02-12 13:12:22 -050044 <groupId>com.fasterxml.jackson.core</groupId>
45 <artifactId>jackson-databind</artifactId>
46 <version>2.8.6</version>
47 </dependency>
48 <dependency>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-annotations</artifactId>
51 <version>2.8.6</version>
52 </dependency>
Vidyashree Rama46c833f2017-02-23 18:54:26 +053053 <dependency>
54 <groupId>org.onosproject</groupId>
55 <artifactId>onos-yang-serializers-utils</artifactId>
Yuta HIGUCHI80cdf242018-02-13 22:02:53 -080056 <version>2.5-SNAPSHOT</version>
Vidyashree Rama46c833f2017-02-23 18:54:26 +053057 </dependency>
Henry Yu53b65be2017-02-12 13:12:22 -050058 </dependencies>
jingane308fc12017-03-03 01:47:31 -080059
60 <build>
61 <plugins>
62 <plugin>
63 <groupId>org.onosproject</groupId>
64 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
65 <version>${project.version}</version>
66 <configuration>
67 <yangFilesDir>src/test/resources</yangFilesDir>
68 </configuration>
69 <executions>
70 <execution>
71 <id>default</id>
72 <goals>
73 <goal>yang2java</goal>
74 </goals>
75 </execution>
76 </executions>
77 </plugin>
78 <plugin>
jingan44231e92017-03-07 14:02:22 -080079 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-antrun-plugin</artifactId>
81 <version>1.8</version>
82 <executions>
83 <execution>
84 <phase>prepare-package</phase>
85 <goals>
86 <goal>run</goal>
87 </goals>
88 <configuration>
89 <target>
90 <delete>
Vidyashree Rama3c586732017-05-12 19:48:07 +053091 <fileset
92 dir="${project.build.outputDirectory}/org/onosproject/yang/gen"
93 includes="**/*"/>
jingan44231e92017-03-07 14:02:22 -080094 </delete>
95 </target>
96 </configuration>
97 </execution>
98 </executions>
jingane308fc12017-03-03 01:47:31 -080099 </plugin>
100 </plugins>
101 </build>
Henry Yu53b65be2017-02-12 13:12:22 -0500102</project>