blob: bba76ab0f2c98270cc747f69c782e84842ed0dde [file] [log] [blame]
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connor6547c0e2017-08-03 18:48:25 -07003 ~ Copyright 2016 Open Networking Foundation
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -06004 ~
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 Campanella04aad1c2018-02-20 17:20:04 +010022 <version>1.12.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 <artifactId>onos-app-carrierethernet</artifactId>
Andrea Campanella72d333b2017-03-23 21:26:07 +010027 <version>04.2017</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060028 <packaging>bundle</packaging>
29
30 <description>Application for installing MEF services in ONOS</description>
31 <url>http://onosproject.org</url>
32
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Andrea Campanella04aad1c2018-02-20 17:20:04 +010035 <onos.version>1.12.0</onos.version>
Andrea Campanella72d333b2017-03-23 21:26:07 +010036 <api.version>1.0.0</api.version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060037 <onos.app.name>org.onosproject.ecord.carrierethernet</onos.app.name>
Marc De Leenheer6dba4332016-06-06 16:54:30 -070038 <onos.app.origin>ON.Lab</onos.app.origin>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060039 <onos.app.requires>org.onosproject.newoptical</onos.app.requires>
Andrea Campanella72d333b2017-03-23 21:26:07 +010040 <api.description>Carrier Ethernet REST APIs</api.description>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060041 <onos.app.category>Traffic Steering</onos.app.category>
Andrea Campanella72d333b2017-03-23 21:26:07 +010042 <web.context>/onos</web.context>
43 <api.title>Carrier Ethernet REST APIs</api.title>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060044 <onos.app.title>Carrier Ethernet</onos.app.title>
Andrea Campanella72d333b2017-03-23 21:26:07 +010045 <api.package>org.onosproject.ecord.carrierethernet.rest</api.package>
Konstantinos Kanonakisb9486942016-11-17 15:47:02 -060046 <onos.app.url>https://wiki.onosproject.org/display/ONOS/Carrier+Ethernet+Application</onos.app.url>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060047 </properties>
48
49 <dependencies>
50 <dependency>
51 <groupId>org.onosproject</groupId>
52 <artifactId>onos-api</artifactId>
53 <version>${onos.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>org.onosproject</groupId>
57 <artifactId>onos-cli</artifactId>
58 <version>${onos.version}</version>
59 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080060
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060061 <dependency>
62 <groupId>org.onosproject</groupId>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080063 <artifactId>onos-protocols-openflow-api</artifactId>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060064 <version>${onos.version}</version>
65 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080066
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060067 <dependency>
68 <groupId>org.onosproject</groupId>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080069 <artifactId>onos-apps-newoptical</artifactId>
frabd6d83c2017-07-17 15:45:51 +020070 <version>${onos.version}</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060071 </dependency>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080072
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060073 <dependency>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -070074 <groupId>org.slf4j</groupId>
75 <artifactId>slf4j-api</artifactId>
76 <version>1.7.21</version>
77 <scope>provided</scope>
78 </dependency>
79 <dependency>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060080 <groupId>org.apache.karaf.shell</groupId>
81 <artifactId>org.apache.karaf.shell.console</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -070082 <version>3.0.5</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -060083 <scope>provided</scope>
84 </dependency>
85 <dependency>
86 <groupId>org.onosproject</groupId>
87 <artifactId>onlab-osgi</artifactId>
88 <version>${onos.version}</version>
89 </dependency>
90 <dependency>
91 <groupId>junit</groupId>
92 <artifactId>junit</artifactId>
93 <version>4.12</version>
94 <scope>test</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.onosproject</groupId>
98 <artifactId>onos-api</artifactId>
99 <version>${onos.version}</version>
100 <scope>test</scope>
101 <classifier>tests</classifier>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.felix</groupId>
105 <artifactId>org.apache.felix.scr.annotations</artifactId>
106 <version>1.9.12</version>
107 <scope>provided</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.osgi</groupId>
111 <artifactId>org.osgi.compendium</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700112 <version>5.0.0</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600113 <scope>provided</scope>
114 </dependency>
Andrea Campanella72d333b2017-03-23 21:26:07 +0100115 <dependency>
116 <groupId>javax.ws.rs</groupId>
117 <artifactId>javax.ws.rs-api</artifactId>
118 <version>2.0.1</version>
119 <scope>provided</scope>
120 </dependency>
121 <dependency>
122 <groupId>com.fasterxml.jackson.core</groupId>
123 <artifactId>jackson-databind</artifactId>
124 <version>2.8.6</version>
125 <scope>provided</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.onosproject</groupId>
129 <artifactId>onos-rest</artifactId>
130 <version>${onos.version}</version>
131 <scope>provided</scope>
132 </dependency>
133 <dependency>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-annotations</artifactId>
136 <version>2.8.6</version>
137 <scope>provided</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.glassfish.jersey.containers</groupId>
141 <artifactId>jersey-container-servlet</artifactId>
142 <version>2.25</version>
143 <scope>provided</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.osgi</groupId>
147 <artifactId>org.osgi.core</artifactId>
148 <version>5.0.0</version>
149 <scope>provided</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.onosproject</groupId>
153 <artifactId>onlab-rest</artifactId>
154 <version>${onos.version}</version>
155 <scope>provided</scope>
156 </dependency>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600157 </dependencies>
158
159 <build>
160 <pluginManagement>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.karaf.tooling</groupId>
164 <artifactId>karaf-maven-plugin</artifactId>
165 <version>3.0.5</version>
166 <extensions>true</extensions>
167 </plugin>
168 </plugins>
169 </pluginManagement>
170 <plugins>
171 <plugin>
172 <groupId>org.apache.felix</groupId>
173 <artifactId>maven-bundle-plugin</artifactId>
174 <version>2.5.3</version>
175 <extensions>true</extensions>
Andrea Campanella72d333b2017-03-23 21:26:07 +0100176 <configuration>
177 <instructions>
178 <_wab>src/main/webapp/</_wab>
179 <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
180 {maven-resources}</Include-Resource>
181 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
182 <Import-Package>*,org.glassfish.jersey.servlet</Import-Package>
183 <Web-ContextPath>${web.context}</Web-ContextPath>
184 </instructions>
185 </configuration>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600186 </plugin>
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-compiler-plugin</artifactId>
190 <version>2.5.1</version>
191 <configuration>
192 <source>1.8</source>
193 <target>1.8</target>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.felix</groupId>
198 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700199 <version>1.21.0</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600200 <executions>
201 <execution>
202 <id>generate-scr-srcdescriptor</id>
203 <goals>
204 <goal>scr</goal>
205 </goals>
206 </execution>
207 </executions>
208 <configuration>
209 <supportedProjectTypes>
210 <supportedProjectType>bundle</supportedProjectType>
211 <supportedProjectType>war</supportedProjectType>
212 </supportedProjectTypes>
213 </configuration>
214 </plugin>
215 <plugin>
216 <groupId>org.onosproject</groupId>
217 <artifactId>onos-maven-plugin</artifactId>
Yuta HIGUCHI00da8912016-07-06 11:34:29 -0700218 <version>1.9</version>
Konstantinos Kanonakisd9e06232016-03-02 16:14:31 -0600219 <executions>
220 <execution>
221 <id>cfg</id>
222 <phase>generate-resources</phase>
223 <goals>
224 <goal>cfg</goal>
225 </goals>
226 </execution>
227 <execution>
228 <id>swagger</id>
229 <phase>generate-sources</phase>
230 <goals>
231 <goal>swagger</goal>
232 </goals>
233 </execution>
234 <execution>
235 <id>app</id>
236 <phase>package</phase>
237 <goals>
238 <goal>app</goal>
239 </goals>
240 </execution>
241 </executions>
242 </plugin>
243 </plugins>
244 </build>
245
246</project>