blob: fbc7f910ed8daf569ca87c9d9e6c7ea9c16b0c3e [file] [log] [blame]
alshabibfd23d312014-11-11 18:14:47 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2014 Open Networking Laboratory
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.onlab.onos</groupId>
24 <artifactId>onos-apps</artifactId>
25 <version>1.0.0-SNAPSHOT</version>
26 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-app-demo</artifactId>
30 <packaging>bundle</packaging>
31
32 <description>ONOS demo app bundle</description>
33
34 <properties>
35 <web.context>/onos/demo</web.context>
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>org.osgi</groupId>
41 <artifactId>org.osgi.compendium</artifactId>
42 </dependency>
43 <dependency>
44 <groupId>org.onlab.onos</groupId>
45 <artifactId>onlab-rest</artifactId>
46 <version>${project.version}</version>
47 </dependency>
48
49 <dependency>
50 <groupId>org.onlab.onos</groupId>
51 <artifactId>onos-rest</artifactId>
52 <version>${project.version}</version>
53 </dependency>
54
55 <dependency>
56 <groupId>com.sun.jersey</groupId>
57 <artifactId>jersey-servlet</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>com.sun.jersey.jersey-test-framework</groupId>
61 <artifactId>jersey-test-framework-core</artifactId>
62 <version>1.18.1</version>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
66 <groupId>com.sun.jersey.jersey-test-framework</groupId>
67 <artifactId>jersey-test-framework-grizzly2</artifactId>
68 <version>1.18.1</version>
69 <scope>test</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>com.fasterxml.jackson.core</groupId>
74 <artifactId>jackson-databind</artifactId>
75 </dependency>
76
77 <dependency>
78 <groupId>com.fasterxml.jackson.core</groupId>
79 <artifactId>jackson-annotations</artifactId>
80 </dependency>
81
82 <dependency>
83 <groupId>org.osgi</groupId>
84 <artifactId>org.osgi.core</artifactId>
85 </dependency>
86 </dependencies>
87
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-bundle-plugin</artifactId>
93 <extensions>true</extensions>
94 <configuration>
95 <instructions>
96 <_wab>src/main/webapp/</_wab>
97 <Bundle-SymbolicName>
98 ${project.groupId}.${project.artifactId}
99 </Bundle-SymbolicName>
100 <Import-Package>
101 org.slf4j,
102 org.osgi.framework,
103 javax.ws.rs,javax.ws.rs.core,
104 com.sun.jersey.api.core,
105 com.sun.jersey.spi.container.servlet,
106 com.sun.jersey.server.impl.container.servlet,
107 com.fasterxml.jackson.databind,
108 com.fasterxml.jackson.databind.node,
109 com.google.common.*,
110 org.onlab.packet.*,
111 org.onlab.rest.*,
112 org.onlab.onos.*
113 </Import-Package>
114 <Web-ContextPath>${web.context}</Web-ContextPath>
115 </instructions>
116 </configuration>
117 </plugin>
118 </plugins>
119 </build>
120
121</project>