blob: 283a961fc0656bd19721b7aa36ce9cb4d896f2ea [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'Connor6ea48a22015-03-17 20:07:20 -070025 <version>1.2.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>
42 <version>8.1.15.v20140411</version>
43 </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 Vachuska7d638d32014-11-07 10:24:43 -080055 </dependencies>
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -080056
57 <build>
58 <plugins>
59 <plugin>
Thomas Vachuskaa0509892015-02-21 22:18:41 -080060 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
62 <extensions>true</extensions>
63 <configuration>
64 <instructions>
65 <_wab>src/main/webapp/</_wab>
Thomas Vachuskae95da772015-02-23 15:50:11 -080066 <Include-Resource>
Thomas Vachuska529db0a2015-02-23 16:42:14 -080067 WEB-INF/classes/index.html=src/main/webapp/index.html,
68 WEB-INF/classes/onos.js=src/main/webapp/onos.js,
69 WEB-INF/classes/nav.html=src/main/webapp/nav.html,
70 WEB-INF/classes/app/view=src/main/webapp/app/view,
Thomas Vachuskae95da772015-02-23 15:50:11 -080071 {maven-resources}
72 </Include-Resource>
Thomas Vachuskaa0509892015-02-21 22:18:41 -080073 <Bundle-SymbolicName>
74 ${project.groupId}.${project.artifactId}
75 </Bundle-SymbolicName>
76 <Import-Package>
77 org.slf4j,
78 org.osgi.framework,
79 javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext,
80 com.sun.jersey.api,
81 com.sun.jersey.spi.container.servlet,
82 com.sun.jersey.server.impl.container.servlet,
83 com.fasterxml.jackson.databind,
84 com.fasterxml.jackson.databind.node,
85 com.google.common.base.*,
86 com.google.common.collect.*,
87 com.google.common.io.*,
88 org.eclipse.jetty.websocket.*,
89 org.onlab.util.*,
90 org.onlab.osgi.*,
91 org.onlab.packet.*,
92 org.onlab.rest.*,
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -070093 org.onosproject.*,
94 org.joda.time.*
Thomas Vachuskaa0509892015-02-21 22:18:41 -080095 </Import-Package>
96 <Web-ContextPath>${web.context}</Web-ContextPath>
97 </instructions>
98 </configuration>
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -080099 </plugin>
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800100
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -0800101 </plugins>
102 </build>
Thomas Vachuskaa0509892015-02-21 22:18:41 -0800103 <!--
104
105-->
Thomas Vachuskafe8c98a2015-02-04 01:24:32 -0800106
tom0eb04ca2014-08-25 14:34:51 -0700107</project>