blob: 5402100e76b9b5a547a7d93f2ca19421fd5b7f29 [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>
ONOS Jenkins User1846c192018-11-26 21:40:07 +000025 <version>2.6</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>
Henry Yu53b65be2017-02-12 13:12:22 -050041 </dependency>
42 <dependency>
Henry Yu53b65be2017-02-12 13:12:22 -050043 <groupId>com.fasterxml.jackson.core</groupId>
44 <artifactId>jackson-databind</artifactId>
45 <version>2.8.6</version>
46 </dependency>
47 <dependency>
48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-annotations</artifactId>
50 <version>2.8.6</version>
51 </dependency>
Vidyashree Rama46c833f2017-02-23 18:54:26 +053052 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onos-yang-serializers-utils</artifactId>
Yuta HIGUCHI1bc3c232018-05-11 11:36:00 -070055 <version>${project.version}</version>
Vidyashree Rama46c833f2017-02-23 18:54:26 +053056 </dependency>
Henry Yu53b65be2017-02-12 13:12:22 -050057 </dependencies>
jingane308fc12017-03-03 01:47:31 -080058
59 <build>
60 <plugins>
61 <plugin>
62 <groupId>org.onosproject</groupId>
63 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
64 <version>${project.version}</version>
65 <configuration>
66 <yangFilesDir>src/test/resources</yangFilesDir>
67 </configuration>
68 <executions>
69 <execution>
70 <id>default</id>
71 <goals>
72 <goal>yang2java</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
jingan44231e92017-03-07 14:02:22 -080078 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-antrun-plugin</artifactId>
80 <version>1.8</version>
81 <executions>
82 <execution>
83 <phase>prepare-package</phase>
84 <goals>
85 <goal>run</goal>
86 </goals>
87 <configuration>
88 <target>
89 <delete>
Vidyashree Rama3c586732017-05-12 19:48:07 +053090 <fileset
91 dir="${project.build.outputDirectory}/org/onosproject/yang/gen"
92 includes="**/*"/>
jingan44231e92017-03-07 14:02:22 -080093 </delete>
94 </target>
95 </configuration>
96 </execution>
97 </executions>
jingane308fc12017-03-03 01:47:31 -080098 </plugin>
99 </plugins>
100 </build>
Henry Yu53b65be2017-02-12 13:12:22 -0500101</project>