blob: a0877035292d1f7621a5c0ad6e6180a82b6efe6f [file] [log] [blame]
sonu guptaeff184b2016-11-24 12:43:49 +05301<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
sonu guptaeff184b2016-11-24 12:43:49 +05304 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
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 <artifactId>onos-yms</artifactId>
24 <groupId>org.onosproject</groupId>
ONOS Jenkins Userce44f782018-01-04 00:04:48 +000025 <version>1.12.1-SNAPSHOT</version>
sonu guptaeff184b2016-11-24 12:43:49 +053026 </parent>
27
28 <artifactId>onos-app-yms-ut</artifactId>
29 <packaging>bundle</packaging>
30
31 <url>http://onosproject.org</url>
32
33 <description>YANG management system unit test cases</description>
34
35 <dependencies>
36 <dependency>
37 <groupId>org.onosproject</groupId>
38 <artifactId>onos-app-yms-api</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onos-app-yms</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.onosproject</groupId>
48 <artifactId>onlab-junit</artifactId>
49 <scope>test</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.easymock</groupId>
53 <artifactId>easymock</artifactId>
54 <scope>test</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.onosproject</groupId>
58 <artifactId>onlab-osgi</artifactId>
59 <scope>test</scope>
60 </dependency>
61 <!-- https://mvnrepository.com/artifact/org.springframework.osgi/spring-osgi-mock -->
62 <dependency>
63 <groupId>org.springframework.osgi</groupId>
64 <artifactId>spring-osgi-mock</artifactId>
65 <version>1.2.1</version>
66 </dependency>
67
68 </dependencies>
69
70 <build>
71 <plugins>
72 <plugin>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>maven-bundle-plugin</artifactId>
75 <version>3.2.0</version>
76 <extensions>true</extensions>
77 </plugin>
78 <plugin>
79 <groupId>org.onosproject</groupId>
80 <artifactId>onos-yang-maven-plugin</artifactId>
Bharat saraswal1b0a39a2016-12-16 16:29:02 +053081 <version>1.11</version>
sonu guptaeff184b2016-11-24 12:43:49 +053082 <configuration>
83 <yangFilesDir>src/test/resources/</yangFilesDir>
84 </configuration>
85 <executions>
86 <execution>
87 <goals>
88 <goal>yang2java</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -070093
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-clean-plugin</artifactId>
97 <version>3.0.0</version>
98 <executions>
99 <execution>
100 <id>onos-yang-plugin-workaround</id>
101 <!-- yang plugin cannot handle non-clean compilation -->
102 <phase>initialize</phase>
103 <goals>
104 <goal>clean</goal>
105 </goals>
106 <configuration>
107 <excludeDefaultDirectories>true</excludeDefaultDirectories>
108 <filesets>
109 <fileset>
110 <directory>target/generated-sources</directory>
111 </fileset>
112 </filesets>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117
sonu guptaeff184b2016-11-24 12:43:49 +0530118 </plugins>
119 </build>
120</project>