blob: 7b23c63c2a34ac4270f19c59698256ce48c72cb9 [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>
Ray Milkey8573bd52017-08-08 10:23:59 -070025 <version>2.2-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>
Ray Milkey8573bd52017-08-08 10:23:59 -070056 <version>2.2-SNAPSHOT</version>
Vidyashree Rama46c833f2017-02-23 18:54:26 +053057 </dependency>
Henry Yu53b65be2017-02-12 13:12:22 -050058 <dependency>
59 <groupId>junit</groupId>
60 <artifactId>junit</artifactId>
61 <version>RELEASE</version>
62 </dependency>
63 </dependencies>
jingane308fc12017-03-03 01:47:31 -080064
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.onosproject</groupId>
69 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
70 <version>${project.version}</version>
71 <configuration>
72 <yangFilesDir>src/test/resources</yangFilesDir>
73 </configuration>
74 <executions>
75 <execution>
76 <id>default</id>
77 <goals>
78 <goal>yang2java</goal>
79 </goals>
80 </execution>
81 </executions>
82 </plugin>
83 <plugin>
jingan44231e92017-03-07 14:02:22 -080084 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-antrun-plugin</artifactId>
86 <version>1.8</version>
87 <executions>
88 <execution>
89 <phase>prepare-package</phase>
90 <goals>
91 <goal>run</goal>
92 </goals>
93 <configuration>
94 <target>
95 <delete>
Vidyashree Rama3c586732017-05-12 19:48:07 +053096 <fileset
97 dir="${project.build.outputDirectory}/org/onosproject/yang/gen"
98 includes="**/*"/>
jingan44231e92017-03-07 14:02:22 -080099 </delete>
100 </target>
101 </configuration>
102 </execution>
103 </executions>
jingane308fc12017-03-03 01:47:31 -0800104 </plugin>
105 </plugins>
106 </build>
Henry Yu53b65be2017-02-12 13:12:22 -0500107</project>