Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | 72b2df2 | 2017-08-03 18:48:28 -0700 | [diff] [blame] | 2 | ~ Copyright 2017-present Open Networking Foundation |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 3 | ~ |
| 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 Milkey | 8573bd5 | 2017-08-08 10:23:59 -0700 | [diff] [blame^] | 25 | <version>2.2-SNAPSHOT</version> |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-yang-serializers-json</artifactId> |
Bharat saraswal | a542a36 | 2017-03-02 21:43:59 +0530 | [diff] [blame] | 30 | <packaging>bundle</packaging> |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 31 | |
| 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 Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 44 | <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 Rama | 46c833f | 2017-02-23 18:54:26 +0530 | [diff] [blame] | 53 | <dependency> |
| 54 | <groupId>org.onosproject</groupId> |
| 55 | <artifactId>onos-yang-serializers-utils</artifactId> |
Ray Milkey | 8573bd5 | 2017-08-08 10:23:59 -0700 | [diff] [blame^] | 56 | <version>2.2-SNAPSHOT</version> |
Vidyashree Rama | 46c833f | 2017-02-23 18:54:26 +0530 | [diff] [blame] | 57 | </dependency> |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 58 | <dependency> |
| 59 | <groupId>junit</groupId> |
| 60 | <artifactId>junit</artifactId> |
| 61 | <version>RELEASE</version> |
| 62 | </dependency> |
| 63 | </dependencies> |
jingan | e308fc1 | 2017-03-03 01:47:31 -0800 | [diff] [blame] | 64 | |
| 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> |
jingan | 44231e9 | 2017-03-07 14:02:22 -0800 | [diff] [blame] | 84 | <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 Rama | 3c58673 | 2017-05-12 19:48:07 +0530 | [diff] [blame] | 96 | <fileset |
| 97 | dir="${project.build.outputDirectory}/org/onosproject/yang/gen" |
| 98 | includes="**/*"/> |
jingan | 44231e9 | 2017-03-07 14:02:22 -0800 | [diff] [blame] | 99 | </delete> |
| 100 | </target> |
| 101 | </configuration> |
| 102 | </execution> |
| 103 | </executions> |
jingan | e308fc1 | 2017-03-03 01:47:31 -0800 | [diff] [blame] | 104 | </plugin> |
| 105 | </plugins> |
| 106 | </build> |
Henry Yu | 53b65be | 2017-02-12 13:12:22 -0500 | [diff] [blame] | 107 | </project> |