blob: 8925c01c65a6d27406362523178719d6bcb5bdde [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska781d18b2014-10-27 10:31:25 -07002<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2014-present Open Networking Foundation
Thomas Vachuska781d18b2014-10-27 10:31:25 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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
Thomas Vachuska781d18b2014-10-27 10:31:25 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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.
Thomas Vachuska781d18b2014-10-27 10:31:25 -070016 -->
tom0eb04ca2014-08-25 14:34:51 -070017<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/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
Brian O'Connorabafb502014-12-02 22:26:20 -080023 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -070024 <artifactId>onos-web</artifactId>
ONOS Jenkins User9d1db1c2019-03-19 21:01:39 +000025 <version>1.13.9-SNAPSHOT</version>
tom0eb04ca2014-08-25 14:34:51 -070026 </parent>
27
28 <artifactId>onos-gui</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>ONOS Web GUI</description>
32
33 <properties>
34 <web.context>/onos/ui</web.context>
35 </properties>
36
Thomas Vachuska7d638d32014-11-07 10:24:43 -080037 <dependencies>
38 <dependency>
39 <groupId>org.eclipse.jetty</groupId>
40 <artifactId>jetty-websocket</artifactId>
Jian Li3276d152016-04-13 15:30:32 -070041 <version>8.1.19.v20160209</version>
Thomas Vachuska7d638d32014-11-07 10:24:43 -080042 </dependency>
43 <dependency>
44 <groupId>javax.servlet</groupId>
45 <artifactId>servlet-api</artifactId>
46 <version>2.5</version>
47 </dependency>
Bri Prebilic Cole09e464b2015-01-07 17:13:54 -080048 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onos-api</artifactId>
51 <scope>test</scope>
52 <classifier>tests</classifier>
53 </dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -070054 <dependency>
cheng fan35dc0f22015-06-10 06:02:47 +080055 <groupId>org.onosproject</groupId>
Thomas Vachuska0af26912016-03-21 21:37:30 -070056 <artifactId>onos-core-serializers</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>org.onosproject</groupId>
cheng fan35dc0f22015-06-10 06:02:47 +080061 <artifactId>onos-incubator-api</artifactId>
62 </dependency>
63 <dependency>
Jian Li9d616492016-03-09 10:52:49 -080064 <groupId>org.glassfish.jersey.media</groupId>
65 <artifactId>jersey-media-multipart</artifactId>
Thomas Vachuska530e52a2015-05-06 19:51:32 -070066 </dependency>
Simon Hunt10973dd2016-08-01 15:50:35 -070067 <dependency>
68 <groupId>org.onosproject</groupId>
69 <artifactId>onos-cli</artifactId>
70 <version>${project.version}</version>
71 </dependency>
72 <dependency>
73 <groupId>org.apache.karaf.shell</groupId>
74 <artifactId>org.apache.karaf.shell.console</artifactId>
75 </dependency>
Yuta HIGUCHI99010732017-08-28 13:13:26 -070076
77 <dependency>
78 <groupId>org.onosproject</groupId>
79 <artifactId>onos-drivers-default</artifactId>
80 <version>${project.version}</version>
81 <scope>test</scope>
82 </dependency>
83
Thomas Vachuska7d638d32014-11-07 10:24:43 -080084 </dependencies>
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -080085
86 <build>
87 <plugins>
88 <plugin>
Thomas Vachuskaa0509892015-02-21 22:18:41 -080089 <groupId>org.apache.felix</groupId>
90 <artifactId>maven-bundle-plugin</artifactId>
91 <extensions>true</extensions>
92 <configuration>
93 <instructions>
94 <_wab>src/main/webapp/</_wab>
Thomas Vachuskae95da772015-02-23 15:50:11 -080095 <Include-Resource>
Thomas Vachuska529db0a2015-02-23 16:42:14 -080096 WEB-INF/classes/index.html=src/main/webapp/index.html,
Thomas Vachuskaeff0e4e2015-08-11 00:26:24 -070097 WEB-INF/classes/login.html=src/main/webapp/login.html,
98 WEB-INF/classes/error.html=src/main/webapp/error.html,
Thomas Vachuska2a5ac752015-07-21 19:17:27 -070099 WEB-INF/classes/not-ready.html=src/main/webapp/not-ready.html,
Thomas Vachuska529db0a2015-02-23 16:42:14 -0800100 WEB-INF/classes/onos.js=src/main/webapp/onos.js,
101 WEB-INF/classes/nav.html=src/main/webapp/nav.html,
102 WEB-INF/classes/app/view=src/main/webapp/app/view,
Simon Hunta8346602016-01-30 14:34:42 -0800103 WEB-INF/classes/raw=src/main/webapp/raw,
Thomas Vachuskae95da772015-02-23 15:50:11 -0800104 {maven-resources}
105 </Include-Resource>
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800106 <Bundle-SymbolicName>
107 ${project.groupId}.${project.artifactId}
108 </Bundle-SymbolicName>
109 <Import-Package>
Brian O'Connora450bd02016-04-04 14:00:37 -0700110 *,
Jian Li9d616492016-03-09 10:52:49 -0800111 org.glassfish.jersey.servlet,
Brian O'Connora450bd02016-04-04 14:00:37 -0700112 org.jvnet.mimepull
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800113 </Import-Package>
114 <Web-ContextPath>${web.context}</Web-ContextPath>
115 </instructions>
116 </configuration>
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -0800117 </plugin>
118 </plugins>
119 </build>
tom0eb04ca2014-08-25 14:34:51 -0700120</project>