blob: 1a97a99cbf3b68c5464f553e7f3ed5a4c1ac9ae5 [file] [log] [blame]
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016 Open Networking Laboratory
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.
Andrea Campanella72d333b2017-03-23 21:26:07 +010016 --><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">
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060017 <modelVersion>4.0.0</modelVersion>
18
Yuta HIGUCHIdbd2fec2017-02-01 16:34:38 -080019 <parent>
20 <groupId>org.onosproject</groupId>
21 <artifactId>onos-dependencies</artifactId>
Andrea Campanella72d333b2017-03-23 21:26:07 +010022 <version>1.9.0</version>
Yuta HIGUCHIdbd2fec2017-02-01 16:34:38 -080023 <relativePath/><!-- parent is remote -->
24 </parent>
25
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060026 <groupId>org.onosproject</groupId>
27 <artifactId>onos-app-carrierethernet</artifactId>
Andrea Campanella72d333b2017-03-23 21:26:07 +010028 <version>04.2017</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060029 <packaging>bundle</packaging>
30
31 <description>Application for installing MEF services in ONOS</description>
32 <url>http://onosproject.org</url>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Andrea Campanella72d333b2017-03-23 21:26:07 +010036 <onos.version>1.9.0</onos.version>
37 <api.version>1.0.0</api.version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060038 <onos.app.name>org.onosproject.ecord.carrierethernet</onos.app.name>
Marc De Leenheer6dba4332016-06-06 16:54:30 -070039 <onos.app.origin>ON.Lab</onos.app.origin>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060040 <onos.app.requires>org.onosproject.newoptical</onos.app.requires>
Andrea Campanella72d333b2017-03-23 21:26:07 +010041 <api.description>Carrier Ethernet REST APIs</api.description>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060042 <onos.app.category>Traffic Steering</onos.app.category>
Andrea Campanella72d333b2017-03-23 21:26:07 +010043 <web.context>/onos</web.context>
44 <api.title>Carrier Ethernet REST APIs</api.title>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060045 <onos.app.title>Carrier Ethernet</onos.app.title>
Andrea Campanella72d333b2017-03-23 21:26:07 +010046 <api.package>org.onosproject.ecord.carrierethernet.rest</api.package>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060047 <onos.app.url>https://wiki.onosproject.org/display/ONOS/Carrier+Ethernet+Application</onos.app.url>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060048 </properties>
49
50 <dependencies>
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-api</artifactId>
54 <version>${onos.version}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.onosproject</groupId>
58 <artifactId>onos-cli</artifactId>
59 <version>${onos.version}</version>
60 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080061
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060062 <dependency>
63 <groupId>org.onosproject</groupId>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080064 <artifactId>onos-protocols-openflow-api</artifactId>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060065 <version>${onos.version}</version>
66 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080067
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060068 <dependency>
69 <groupId>org.onosproject</groupId>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080070 <artifactId>onos-apps-newoptical</artifactId>
Andrea Campanella72d333b2017-03-23 21:26:07 +010071 <version>1.10.0-SNAPSHOT</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060072 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080073
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060074 <dependency>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -070075 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-api</artifactId>
77 <version>1.7.21</version>
78 <scope>provided</scope>
79 </dependency>
80 <dependency>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060081 <groupId>org.apache.karaf.shell</groupId>
82 <artifactId>org.apache.karaf.shell.console</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -070083 <version>3.0.5</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060084 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.onosproject</groupId>
88 <artifactId>onlab-osgi</artifactId>
89 <version>${onos.version}</version>
90 </dependency>
91 <dependency>
92 <groupId>junit</groupId>
93 <artifactId>junit</artifactId>
94 <version>4.12</version>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.onosproject</groupId>
99 <artifactId>onos-api</artifactId>
100 <version>${onos.version}</version>
101 <scope>test</scope>
102 <classifier>tests</classifier>
103 </dependency>
104 <dependency>
105 <groupId>org.apache.felix</groupId>
106 <artifactId>org.apache.felix.scr.annotations</artifactId>
107 <version>1.9.12</version>
108 <scope>provided</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.osgi</groupId>
112 <artifactId>org.osgi.compendium</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700113 <version>5.0.0</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600114 <scope>provided</scope>
115 </dependency>
Andrea Campanella72d333b2017-03-23 21:26:07 +0100116 <dependency>
117 <groupId>javax.ws.rs</groupId>
118 <artifactId>javax.ws.rs-api</artifactId>
119 <version>2.0.1</version>
120 <scope>provided</scope>
121 </dependency>
122 <dependency>
123 <groupId>com.fasterxml.jackson.core</groupId>
124 <artifactId>jackson-databind</artifactId>
125 <version>2.8.6</version>
126 <scope>provided</scope>
127 </dependency>
128 <dependency>
129 <groupId>org.onosproject</groupId>
130 <artifactId>onos-rest</artifactId>
131 <version>${onos.version}</version>
132 <scope>provided</scope>
133 </dependency>
134 <dependency>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-annotations</artifactId>
137 <version>2.8.6</version>
138 <scope>provided</scope>
139 </dependency>
140 <dependency>
141 <groupId>org.glassfish.jersey.containers</groupId>
142 <artifactId>jersey-container-servlet</artifactId>
143 <version>2.25</version>
144 <scope>provided</scope>
145 </dependency>
146 <dependency>
147 <groupId>org.osgi</groupId>
148 <artifactId>org.osgi.core</artifactId>
149 <version>5.0.0</version>
150 <scope>provided</scope>
151 </dependency>
152 <dependency>
153 <groupId>org.onosproject</groupId>
154 <artifactId>onlab-rest</artifactId>
155 <version>${onos.version}</version>
156 <scope>provided</scope>
157 </dependency>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600158 </dependencies>
159
160 <build>
161 <pluginManagement>
162 <plugins>
163 <plugin>
164 <groupId>org.apache.karaf.tooling</groupId>
165 <artifactId>karaf-maven-plugin</artifactId>
166 <version>3.0.5</version>
167 <extensions>true</extensions>
168 </plugin>
169 </plugins>
170 </pluginManagement>
171 <plugins>
172 <plugin>
173 <groupId>org.apache.felix</groupId>
174 <artifactId>maven-bundle-plugin</artifactId>
175 <version>2.5.3</version>
176 <extensions>true</extensions>
Andrea Campanella72d333b2017-03-23 21:26:07 +0100177 <configuration>
178 <instructions>
179 <_wab>src/main/webapp/</_wab>
180 <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
181 {maven-resources}</Include-Resource>
182 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
183 <Import-Package>*,org.glassfish.jersey.servlet</Import-Package>
184 <Web-ContextPath>${web.context}</Web-ContextPath>
185 </instructions>
186 </configuration>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600187 </plugin>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-compiler-plugin</artifactId>
191 <version>2.5.1</version>
192 <configuration>
193 <source>1.8</source>
194 <target>1.8</target>
195 </configuration>
196 </plugin>
197 <plugin>
198 <groupId>org.apache.felix</groupId>
199 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700200 <version>1.21.0</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600201 <executions>
202 <execution>
203 <id>generate-scr-srcdescriptor</id>
204 <goals>
205 <goal>scr</goal>
206 </goals>
207 </execution>
208 </executions>
209 <configuration>
210 <supportedProjectTypes>
211 <supportedProjectType>bundle</supportedProjectType>
212 <supportedProjectType>war</supportedProjectType>
213 </supportedProjectTypes>
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.onosproject</groupId>
218 <artifactId>onos-maven-plugin</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700219 <version>1.9</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600220 <executions>
221 <execution>
222 <id>cfg</id>
223 <phase>generate-resources</phase>
224 <goals>
225 <goal>cfg</goal>
226 </goals>
227 </execution>
228 <execution>
229 <id>swagger</id>
230 <phase>generate-sources</phase>
231 <goals>
232 <goal>swagger</goal>
233 </goals>
234 </execution>
235 <execution>
236 <id>app</id>
237 <phase>package</phase>
238 <goals>
239 <goal>app</goal>
240 </goals>
241 </execution>
242 </executions>
243 </plugin>
244 </plugins>
245 </build>
246
247</project>