sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present Open Networking Foundation |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 4 | ~ |
| 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 User | 6a08ebd | 2018-04-27 21:07:39 +0000 | [diff] [blame^] | 25 | <version>1.13.0-SNAPSHOT</version> |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 26 | </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 saraswal | 1b0a39a | 2016-12-16 16:29:02 +0530 | [diff] [blame] | 81 | <version>1.11</version> |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 82 | <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 HIGUCHI | e6d3adf | 2017-05-22 16:31:58 -0700 | [diff] [blame] | 93 | |
| 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 | |
Yuta HIGUCHI | 488a94c | 2018-01-26 17:24:09 -0800 | [diff] [blame] | 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-compiler-plugin</artifactId> |
| 121 | <configuration> |
| 122 | <compilerArgs> |
| 123 | <arg>-XepDisableAllChecks</arg> |
| 124 | <arg>-Xep:BetaApi:OFF</arg> |
| 125 | </compilerArgs> |
| 126 | </configuration> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <phase>compile</phase> |
| 130 | <goals> |
| 131 | <goal>compile</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <compilerArgs> |
| 135 | <arg>-XepDisableAllChecks</arg> |
| 136 | <arg>-Xep:BetaApi:OFF</arg> |
| 137 | </compilerArgs> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | |
sonu gupta | eff184b | 2016-11-24 12:43:49 +0530 | [diff] [blame] | 143 | </plugins> |
| 144 | </build> |
| 145 | </project> |