blob: edf21d6543c7f067f7bdb89c19bd4580bba1db37 [file] [log] [blame]
Sean Condonfae8e662016-12-15 10:25:13 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!-- ~ Copyright 2016 Open Networking Laboratory ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. -->
3<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <parent>
7 <artifactId>onos-drivers-microsemi</artifactId>
8 <groupId>org.onosproject</groupId>
Ray Milkeyf14cc6d2017-06-28 09:07:17 -07009 <version>1.11.0-SNAPSHOT</version>
Sean Condonfae8e662016-12-15 10:25:13 +000010 </parent>
11
12 <artifactId>onos-drivers-microsemi-ea1000yang</artifactId>
13 <packaging>bundle</packaging>
14
15 <description>Microsemi YANG model for EA1000</description>
16 <url>http://www.microsemi.com</url>
17
18 <properties>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkey5aba3662017-05-02 09:56:10 -070020 <onos.version>${project.version}</onos.version>
Sean Condonfae8e662016-12-15 10:25:13 +000021 <onos.app.name>org.onosproject.drivers.microsemi.yang</onos.app.name>
22 <onos.app.title>Microsemi Device Drivers YANG</onos.app.title>
23 <onos.app.origin>Microsemi, Inc.</onos.app.origin>
24 <onos.app.category>Drivers</onos.app.category>
25 <onos.app.url>http://onosproject.org</onos.app.url>
26 <onos.app.readme>For various Microsemi Devices including EdgeAssure
27 1000 SFP-NID</onos.app.readme>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -070028 <onos.yang.version>1.11</onos.yang.version>
Sean Condonfae8e662016-12-15 10:25:13 +000029 </properties>
30
31
32 <dependencies>
33 <dependency>
34 <groupId>org.onosproject</groupId>
35 <artifactId>onos-netconf-api</artifactId>
36 <version>${project.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>org.onosproject</groupId>
41 <artifactId>onos-yang-utils-generator</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -070042 <version>${onos.yang.version}</version>
Sean Condonfae8e662016-12-15 10:25:13 +000043 </dependency>
44
45 <dependency>
46 <groupId>org.onosproject</groupId>
47 <artifactId>onos-yang-datamodel</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -070048 <version>${onos.yang.version}</version>
Sean Condonfae8e662016-12-15 10:25:13 +000049 </dependency>
50
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-app-yms-api</artifactId>
54 <version>${project.version}</version>
55 </dependency>
56
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onlab-junit</artifactId>
60 <scope>test</scope>
61 </dependency>
62
63 <dependency>
64 <groupId>org.onosproject</groupId>
65 <artifactId>onos-app-yms</artifactId>
66 <version>${project.version}</version>
67 <scope>test</scope>
68 </dependency>
69
70 <dependency>
71 <groupId>org.onosproject</groupId>
72 <artifactId>onos-drivers-netconf</artifactId>
73 <version>${project.version}</version>
74 <type>test-jar</type>
75 <scope>test</scope>
76 </dependency>
77 </dependencies>
78
79 <build>
80 <plugins>
81 <plugin>
82 <groupId>org.onosproject</groupId>
83 <artifactId>onos-yang-maven-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -070084 <version>${onos.yang.version}</version>
Sean Condonfae8e662016-12-15 10:25:13 +000085 <executions>
86 <execution>
87 <configuration>
88 <classFileDir>target/generated-sources</classFileDir>
89 </configuration>
90 <goals>
91 <goal>yang2java</goal>
92 </goals>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <groupId>org.apache.felix</groupId>
98 <artifactId>maven-bundle-plugin</artifactId>
99 <extensions>true</extensions>
100 <configuration>
101 <instructions>
102 <Include-Resource>yang/resources/YangMetaData.ser=target/classes/yang/resources/YangMetaData.ser</Include-Resource>
103 </instructions>
104 </configuration>
105 </plugin>
106
107 <plugin>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-clean-plugin</artifactId>
110 <version>3.0.0</version>
111 <executions>
112 <execution>
113 <id>onos-yang-plugin-workaround</id>
114 <!-- yang plugin cannot handle non-clean compilation -->
115 <phase>initialize</phase>
116 <goals>
117 <goal>clean</goal>
118 </goals>
119 <configuration>
120 <excludeDefaultDirectories>true</excludeDefaultDirectories>
121 <filesets>
122 <fileset>
123 <directory>target/generated-sources</directory>
124 </fileset>
125 </filesets>
126 </configuration>
127 </execution>
128 </executions>
129 </plugin>
130
131 <plugin>
Sean Condonfae8e662016-12-15 10:25:13 +0000132 <groupId>org.jacoco</groupId>
133 <artifactId>jacoco-maven-plugin</artifactId>
134 <configuration>
135 <excludes>
136 <exclude>**/delaymeasurement/*</exclude>
137 <exclude>**/lossmeasurement/*</exclude>
138 </excludes>
139 </configuration>
140 </plugin>
141 </plugins>
142 </build>
143
144</project>