blob: 96207426cf69ee10d998ef1e04ebb5c26c6442ca [file] [log] [blame]
Thomas Vachuska7399e482014-12-01 21:27:42 -08001<!--
2 ~ Copyright 2014 Open Networking Laboratory
3 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16<project xmlns="http://maven.apache.org/POM/4.0.0"
17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <groupId>org.onlab.onos</groupId>
22 <artifactId>onos-web-bundle</artifactId>
23 <version>1.0.0-SNAPSHOT</version>
24 <packaging>bundle</packaging>
25
26 <description>ONOS OSGi web bundle archetype</description>
27 <url>http://onosproject.org</url>
28
29 <properties>
30 <onos.version>1.0.0-SNAPSHOT</onos.version>
31 <jersey.version>1.18.1</jersey.version>
32 <jackson.version>2.4.2</jackson.version>
33 <guava.version>18.0</guava.version>
34
35 <web.context>sample</web.context>
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>org.onlab.onos</groupId>
41 <artifactId>onos-api</artifactId>
42 <version>${onos.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>org.onlab.onos</groupId>
47 <artifactId>onlab-osgi</artifactId>
48 <version>${onos.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>org.onlab.onos</groupId>
53 <artifactId>onlab-rest</artifactId>
54 <version>${onos.version}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.onlab.onos</groupId>
58 <artifactId>onlab-junit</artifactId>
59 <version>${onos.version}</version>
60 <scope>test</scope>
61 </dependency>
62
63 <dependency>
64 <groupId>com.google.guava</groupId>
65 <artifactId>guava</artifactId>
66 <version>${guava.version}</version>
67 </dependency>
68
69 <dependency>
70 <groupId>com.sun.jersey</groupId>
71 <artifactId>jersey-servlet</artifactId>
72 <version>${jersey.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>com.sun.jersey.jersey-test-framework</groupId>
76 <artifactId>jersey-test-framework-core</artifactId>
77 <version>${jersey.version}</version>
78 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>com.sun.jersey.jersey-test-framework</groupId>
82 <artifactId>jersey-test-framework-grizzly2</artifactId>
83 <version>${jersey.version}</version>
84 <scope>test</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>com.fasterxml.jackson.core</groupId>
89 <artifactId>jackson-databind</artifactId>
90 <version>${jackson.version}</version>
91 <scope>provided</scope>
92 </dependency>
93 <dependency>
94 <groupId>com.fasterxml.jackson.core</groupId>
95 <artifactId>jackson-annotations</artifactId>
96 <version>${jackson.version}</version>
97 <scope>provided</scope>
98 </dependency>
99
100 <dependency>
101 <groupId>org.osgi</groupId>
102 <artifactId>org.osgi.core</artifactId>
103 <version>4.3.1</version>
104 <scope>provided</scope>
105 </dependency>
106 <dependency>
107 <groupId>org.apache.felix</groupId>
108 <artifactId>org.apache.felix.scr.annotations</artifactId>
109 <version>1.9.8</version>
110 <scope>provided</scope>
111 </dependency>
112 </dependencies>
113
114 <build>
115 <plugins>
116 <plugin>
117 <groupId>org.apache.felix</groupId>
118 <artifactId>maven-scr-plugin</artifactId>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.felix</groupId>
122 <artifactId>maven-bundle-plugin</artifactId>
123 <extensions>true</extensions>
124 <configuration>
125 <instructions>
126 <_wab>src/main/webapp/</_wab>
127 <Bundle-SymbolicName>
128 ${project.groupId}.${project.artifactId}
129 </Bundle-SymbolicName>
130 <Import-Package>
131 org.slf4j,
132 org.osgi.framework,
133 javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext,
134 com.sun.jersey.api.core,
135 com.sun.jersey.spi.container.servlet,
136 com.sun.jersey.server.impl.container.servlet,
137 com.fasterxml.jackson.databind,
138 com.fasterxml.jackson.databind.node,
139 org.onlab.util.*,
140 org.onlab.osgi.*,
141 org.onlab.packet.*,
142 org.onlab.rest.*,
143 org.onlab.onos.*
144 </Import-Package>
145 <Web-ContextPath>${web.context}</Web-ContextPath>
146 </instructions>
147 </configuration>
148 </plugin>
149 </plugins>
150 </build>
151
152</project>