blob: 645918647b3001fc0c834cba01947e51a541a597 [file] [log] [blame]
Yuta HIGUCHI2e4a6d42017-08-25 10:51:40 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017 Open Networking Foundation
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" 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">
18 <modelVersion>4.0.0</modelVersion>
19
20 <parent>
21 <artifactId>onos-drivers-general</artifactId>
22 <groupId>org.onosproject</groupId>
Ray Milkeydc48fb22017-09-26 14:42:24 -070023 <version>1.12.0-SNAPSHOT</version>
Yuta HIGUCHI2e4a6d42017-08-25 10:51:40 -070024 </parent>
25
26 <artifactId>onos-drivers-microsemi</artifactId>
27 <packaging>bundle</packaging>
28
29 <description>Microsemi Drivers</description>
30 <url>http://onosproject.org</url>
31
32 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <onos.version>${project.version}</onos.version>
35 <onos.app.requires>
36 org.onosproject.yang,
37 org.onosproject.netconf,
38 org.onosproject.models.microsemi
39 </onos.app.requires>
40 <onos.app.category>Drivers</onos.app.category>
41 <onos.app.title>Microsemi Drivers</onos.app.title>
42 </properties>
43
44 <dependencies>
45
46 <dependency>
47 <groupId>org.onosproject</groupId>
48 <artifactId>onos-api</artifactId>
49 </dependency>
50
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-yang-model</artifactId>
54 </dependency>
55
56 <dependency>
57 <groupId>org.onosproject</groupId>
58 <artifactId>onos-yang-runtime</artifactId>
59 </dependency>
60
61 <dependency>
62 <groupId>org.onosproject</groupId>
63 <artifactId>onos-drivers-utilities</artifactId>
64 <version>${project.version}</version>
65 </dependency>
66
67 <dependency>
68 <groupId>org.onosproject</groupId>
Yuta HIGUCHI923a7782017-09-05 13:04:47 -070069 <artifactId>onos-protocols-netconf-api</artifactId>
Yuta HIGUCHI2e4a6d42017-08-25 10:51:40 -070070 <version>${project.version}</version>
71 </dependency>
72
73 <dependency>
74 <groupId>org.onosproject</groupId>
75 <artifactId>onos-drivers-netconf</artifactId>
76 <version>${project.version}</version>
77 <scope>test</scope>
78 <classifier>tests</classifier>
79 </dependency>
80
81 <dependency>
82 <groupId>org.onosproject</groupId>
83 <artifactId>onos-models-microsemi</artifactId>
84 <version>${project.version}</version>
85 <type>bundle</type>
86 </dependency>
87
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-api</artifactId>
91 <scope>provided</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>org.onosproject</groupId>
96 <artifactId>onos-cli</artifactId>
97 <version>${onos.version}</version>
98 </dependency>
99
100 <dependency>
101 <groupId>org.apache.karaf.shell</groupId>
102 <artifactId>org.apache.karaf.shell.console</artifactId>
103 <scope>provided</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.onosproject</groupId>
108 <artifactId>onlab-osgi</artifactId>
109 </dependency>
110
111 <dependency>
112 <groupId>org.apache.felix</groupId>
113 <artifactId>org.apache.felix.scr.annotations</artifactId>
114 <scope>provided</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.osgi</groupId>
119 <artifactId>org.osgi.compendium</artifactId>
120 <scope>provided</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>junit</groupId>
125 <artifactId>junit</artifactId>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
130 <groupId>org.onosproject</groupId>
131 <artifactId>onos-api</artifactId>
132 <scope>test</scope>
133 <classifier>tests</classifier>
134 </dependency>
135
136 </dependencies>
137
138 <build>
139 <pluginManagement>
140 <plugins>
141
142 <plugin>
143 <groupId>org.apache.karaf.tooling</groupId>
144 <artifactId>karaf-maven-plugin</artifactId>
145 <version>3.0.5</version>
146 <extensions>true</extensions>
147 </plugin>
148
149 </plugins>
150 </pluginManagement>
151
152 <plugins>
153 <plugin>
154 <groupId>org.apache.felix</groupId>
155 <artifactId>maven-bundle-plugin</artifactId>
156 <extensions>true</extensions>
157 </plugin>
158
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-compiler-plugin</artifactId>
162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.felix</groupId>
166 <artifactId>maven-scr-plugin</artifactId>
167 <executions>
168 <execution>
169 <id>generate-scr-srcdescriptor</id>
170 <goals>
171 <goal>scr</goal>
172 </goals>
173 </execution>
174 </executions>
175 <configuration>
176 <supportedProjectTypes>
177 <supportedProjectType>bundle</supportedProjectType>
178 <supportedProjectType>war</supportedProjectType>
179 </supportedProjectTypes>
180 </configuration>
181 </plugin>
182
183 <plugin>
184 <groupId>org.onosproject</groupId>
185 <artifactId>onos-maven-plugin</artifactId>
186 <executions>
187 <execution>
188 <id>cfg</id>
189 <phase>generate-resources</phase>
190 <goals>
191 <goal>cfg</goal>
192 </goals>
193 </execution>
194 <execution>
195 <id>swagger</id>
196 <phase>generate-sources</phase>
197 <goals>
198 <goal>swagger</goal>
199 </goals>
200 </execution>
201 <execution>
202 <id>app</id>
203 <phase>package</phase>
204 <goals>
205 <goal>app</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210
211 </plugins>
212 </build>
213
214</project>