blob: bc9fc318493d8431826c2f3dd0ea899620b344eb [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2014-present Open Networking Foundation
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.
16 -->
17<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>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-web</artifactId>
25 <version>1.14.0-SNAPSHOT</version>
26 </parent>
27
28 <artifactId>onos-gui2</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>ONOS Web GUI v2</description>
32
33 <properties>
34 <web.context>/onos/ui2</web.context>
35 </properties>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.eclipse.jetty</groupId>
40 <artifactId>jetty-websocket</artifactId>
41 <version>8.1.19.v20160209</version>
42 </dependency>
43 <dependency>
44 <groupId>javax.servlet</groupId>
45 <artifactId>servlet-api</artifactId>
46 <version>2.5</version>
47 </dependency>
48 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onos-api</artifactId>
51 <scope>test</scope>
52 <classifier>tests</classifier>
53 </dependency>
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-core-serializers</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-incubator-api</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.glassfish.jersey.media</groupId>
65 <artifactId>jersey-media-multipart</artifactId>
66 </dependency>
67 <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>
76
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
84 </dependencies>
85
86 <build>
87 <plugins>
88 <plugin>
89 <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>
95 <Include-Resource>
96 WEB-INF/classes/index.html=src/main/webapp/index.html,
97 WEB-INF/classes/login.html=src/main/webapp/login.html,
98 WEB-INF/classes/error.html=src/main/webapp/error.html,
99 WEB-INF/classes/not-ready.html=src/main/webapp/not-ready.html,
100 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,
103 WEB-INF/classes/raw=src/main/webapp/raw,
104 {maven-resources}
105 </Include-Resource>
106 <Bundle-SymbolicName>
107 ${project.groupId}.${project.artifactId}
108 </Bundle-SymbolicName>
109 <Import-Package>
110 *,
111 org.glassfish.jersey.servlet,
112 org.jvnet.mimepull
113 </Import-Package>
114 <Web-ContextPath>${web.context}</Web-ContextPath>
115 </instructions>
116 </configuration>
117 </plugin>
118 </plugins>
119 </build>
120</project>