blob: 661badcb8db0de7bdbfe3b6a8937dfd5a46adc13 [file] [log] [blame]
Thomas Vachuskaf40fb572016-11-20 11:43:57 -08001<!--
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +05302 ~ Copyright 2017-present Open Networking Laboratory
Thomas Vachuskaf40fb572016-11-20 11:43:57 -08003 ~
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 -->
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053016
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080017<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>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053024 <artifactId>onos-yang-tools</artifactId>
Ray Milkeyccf4e3b2017-02-16 14:58:05 -080025 <version>1.12-SNAPSHOT</version>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080026 </parent>
27
28 <artifactId>onos-yang-runtime</artifactId>
Bharat saraswala542a362017-03-02 21:43:59 +053029 <packaging>bundle</packaging>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080030
31 <dependencies>
32 <dependency>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080033 <groupId>commons-io</groupId>
34 <artifactId>commons-io</artifactId>
35 <version>2.4</version>
36 </dependency>
37 <dependency>
38 <groupId>org.slf4j</groupId>
39 <artifactId>slf4j-api</artifactId>
40 <version>1.7.21</version>
41 </dependency>
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053042 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-yang-model</artifactId>
Ray Milkeyccf4e3b2017-02-16 14:58:05 -080045 <version>1.12-SNAPSHOT</version>
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053046 </dependency>
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-yang-compiler-api</artifactId>
Ray Milkeyccf4e3b2017-02-16 14:58:05 -080050 <version>1.12-SNAPSHOT</version>
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053051 </dependency>
52 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onos-yang-compiler-datamodel</artifactId>
Ray Milkeyccf4e3b2017-02-16 14:58:05 -080055 <version>1.12-SNAPSHOT</version>
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053056 </dependency>
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onos-yang-compiler-plugin-utils</artifactId>
Ray Milkeyccf4e3b2017-02-16 14:58:05 -080060 <version>1.12-SNAPSHOT</version>
Gaurav Agrawal4efc8cc2017-02-09 18:41:31 +053061 </dependency>
62 <dependency>
63 <groupId>junit</groupId>
64 <artifactId>junit</artifactId>
65 <version>RELEASE</version>
66 </dependency>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080067 </dependencies>
68
69 <build>
70 <plugins>
71 <plugin>
Gaurav Agrawaldc38b802017-02-13 14:52:14 +053072 <groupId>org.onosproject</groupId>
73 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
74 <version>${project.version}</version>
75 <configuration>
76 <yangFilesDir>src/test/resources</yangFilesDir>
77 </configuration>
78 <executions>
79 <execution>
80 <id>default</id>
81 <goals>
82 <goal>yang2java</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
87 <plugin>
Bharat saraswala542a362017-03-02 21:43:59 +053088 <groupId>org.apache.felix</groupId>
89 <artifactId>maven-bundle-plugin</artifactId>
90 <version>3.2.0</version>
91 <extensions>true</extensions>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080092 <configuration>
Bharat saraswala542a362017-03-02 21:43:59 +053093 <instructions>
94 <Export-Package>
95 org.onosproject.yang.runtime.*
96 </Export-Package>
97 <Include-Resource>${project.build.testOutputDirectory}</Include-Resource>
98 </instructions>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -080099 </configuration>
Thomas Vachuskaf40fb572016-11-20 11:43:57 -0800100 </plugin>
101 </plugins>
102 </build>
103</project>