blob: efa8520193e22ae969895d3bf1708177cb886a79 [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<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 ~ Copyright 2014 Open Networking Laboratory
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>
Brian O'Connor955c3162016-03-10 15:27:19 -080025 <version>1.6.0-SNAPSHOT</version>
tom0eb04ca2014-08-25 14:34:51 -070026 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-gui</artifactId>
30 <packaging>bundle</packaging>
31
32 <description>ONOS Web GUI</description>
33
34 <properties>
35 <web.context>/onos/ui</web.context>
36 </properties>
37
Thomas Vachuska7d638d32014-11-07 10:24:43 -080038 <dependencies>
39 <dependency>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-websocket</artifactId>
Jian Li11599162016-01-15 15:46:16 -080042 <version>8.1.18.v20150929</version>
Thomas Vachuska7d638d32014-11-07 10:24:43 -080043 </dependency>
44 <dependency>
45 <groupId>javax.servlet</groupId>
46 <artifactId>servlet-api</artifactId>
47 <version>2.5</version>
48 </dependency>
Bri Prebilic Cole09e464b2015-01-07 17:13:54 -080049 <dependency>
50 <groupId>org.onosproject</groupId>
51 <artifactId>onos-api</artifactId>
52 <scope>test</scope>
53 <classifier>tests</classifier>
54 </dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -070055 <dependency>
cheng fan35dc0f22015-06-10 06:02:47 +080056 <groupId>org.onosproject</groupId>
57 <artifactId>onos-incubator-api</artifactId>
58 </dependency>
59 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -070060 <groupId>com.sun.jersey.contribs</groupId>
61 <artifactId>jersey-multipart</artifactId>
62 </dependency>
Thomas Vachuska7d638d32014-11-07 10:24:43 -080063 </dependencies>
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -080064
65 <build>
66 <plugins>
67 <plugin>
Thomas Vachuskaa0509892015-02-21 22:18:41 -080068 <groupId>org.apache.felix</groupId>
69 <artifactId>maven-bundle-plugin</artifactId>
70 <extensions>true</extensions>
71 <configuration>
72 <instructions>
73 <_wab>src/main/webapp/</_wab>
Thomas Vachuskae95da772015-02-23 15:50:11 -080074 <Include-Resource>
Thomas Vachuska529db0a2015-02-23 16:42:14 -080075 WEB-INF/classes/index.html=src/main/webapp/index.html,
Thomas Vachuskaeff0e4e2015-08-11 00:26:24 -070076 WEB-INF/classes/login.html=src/main/webapp/login.html,
77 WEB-INF/classes/error.html=src/main/webapp/error.html,
Thomas Vachuska2a5ac752015-07-21 19:17:27 -070078 WEB-INF/classes/not-ready.html=src/main/webapp/not-ready.html,
Thomas Vachuska529db0a2015-02-23 16:42:14 -080079 WEB-INF/classes/onos.js=src/main/webapp/onos.js,
80 WEB-INF/classes/nav.html=src/main/webapp/nav.html,
81 WEB-INF/classes/app/view=src/main/webapp/app/view,
Simon Hunta8346602016-01-30 14:34:42 -080082 WEB-INF/classes/raw=src/main/webapp/raw,
Thomas Vachuskae95da772015-02-23 15:50:11 -080083 {maven-resources}
84 </Include-Resource>
Thomas Vachuskaa0509892015-02-21 22:18:41 -080085 <Bundle-SymbolicName>
86 ${project.groupId}.${project.artifactId}
87 </Bundle-SymbolicName>
88 <Import-Package>
89 org.slf4j,
90 org.osgi.framework,
Simon Hunta8346602016-01-30 14:34:42 -080091 javax.imageio.*,
Thomas Vachuskaa0509892015-02-21 22:18:41 -080092 javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext,
Thomas Vachuskaa7a0f562015-04-14 23:27:44 -070093 javax.servlet.*,
Thomas Vachuskaa0509892015-02-21 22:18:41 -080094 com.sun.jersey.api,
95 com.sun.jersey.spi.container.servlet,
96 com.sun.jersey.server.impl.container.servlet,
Thomas Vachuska530e52a2015-05-06 19:51:32 -070097 com.sun.jersey.multipart,
98 com.sun.jersey.core.header,
99 org.jvnet.mimepull,
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800100 com.fasterxml.jackson.databind,
101 com.fasterxml.jackson.databind.node,
102 com.google.common.base.*,
103 com.google.common.collect.*,
104 com.google.common.io.*,
105 org.eclipse.jetty.websocket.*,
106 org.onlab.util.*,
107 org.onlab.osgi.*,
108 org.onlab.packet.*,
109 org.onlab.rest.*,
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -0700110 org.onosproject.*,
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -0700111 org.joda.time.*,
112 org.apache.commons.*
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>
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800118
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -0800119 </plugins>
120 </build>
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800121 <!--
122
123-->
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -0800124
tom0eb04ca2014-08-25 14:34:51 -0700125</project>