blob: e0c541482c875b8b4ddc22a9be8acfbf839bfbc2 [file] [log] [blame]
psneha5221e8f2018-06-25 10:08:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017 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/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <artifactId>onos-apps</artifactId>
23 <groupId>org.onosproject</groupId>
24 <version>1.14.0-SNAPSHOT</version>
25 </parent>
26
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-apps-t3-web</artifactId>
29 <version>1.14.0-SNAPSHOT</version>
30 <packaging>bundle</packaging>
31
32 <description>T3 REST API</description>
33 <url>http://onosproject.org</url>
34
35 <properties>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <onos.version>1.14.0-SNAPSHOT</onos.version>
38 <web.context>/onos/v1/t3</web.context>
39 <api.version>1.0.0</api.version>
40 <api.title>ONOS T3 REST API</api.title>
41 <api.description>
42 APIs for interacting with the T3 application.
43 </api.description>
44 <api.package>org.onosproject.t3.rest</api.package>
45 </properties>
46
47 <dependencies>
48 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onos-api</artifactId>
51 <version>${onos.version}</version>
52 </dependency>
53
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-apps-t3-app</artifactId>
57 <version>${onos.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onlab-osgi</artifactId>
63 <version>${onos.version}</version>
64 </dependency>
65
66
67 <dependency>
68 <groupId>org.onosproject</groupId>
69 <artifactId>onlab-misc</artifactId>
70 <version>${onos.version}</version>
71 </dependency>
72
73 <dependency>
74 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
76 <version>4.12</version>
77 <scope>test</scope>
78 </dependency>
79
80 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-api</artifactId>
83 <version>${onos.version}</version>
84 <scope>test</scope>
85 <classifier>tests</classifier>
86 </dependency>
87
88 <dependency>
89 <groupId>org.apache.felix</groupId>
90 <artifactId>org.apache.felix.scr.annotations</artifactId>
91 <version>1.9.12</version>
92 <scope>provided</scope>
93 </dependency>
94 <dependency>
95 <groupId>javax.ws.rs</groupId>
96 <artifactId>javax.ws.rs-api</artifactId>
97 <version>2.1</version>
98 <scope>provided</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>org.onosproject</groupId>
103 <artifactId>onos-api</artifactId>
104 <version>${onos.version}</version>
105 <classifier>tests</classifier>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>org.onosproject</groupId>
111 <artifactId>onos-rest</artifactId>
112 <version>${onos.version}</version>
113 <scope>provided</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.glassfish.jersey.containers</groupId>
118 <artifactId>jersey-container-servlet</artifactId>
119 <version>2.25.1</version>
120 <scope>provided</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.onosproject</groupId>
125 <artifactId>onlab-rest</artifactId>
126 <version>${onos.version}</version>
127 <scope>provided</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.onosproject</groupId>
131 <artifactId>onos-cli</artifactId>
132 <version>${onos.version}</version>
133 <scope>provided</scope>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.karaf.shell</groupId>
137 <artifactId>org.apache.karaf.shell.console</artifactId>
138 <version>3.0.8</version>
139 <scope>provided</scope>
140 </dependency>
141 </dependencies>
142
143 <build>
144 <plugins>
145 <plugin>
146 <groupId>org.apache.felix</groupId>
147 <artifactId>maven-bundle-plugin</artifactId>
148 <version>3.0.1</version>
149 <extensions>true</extensions>
150 <configuration>
151 <instructions>
152 <_wab>src/main/webapp/</_wab>
153 <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
154 {maven-resources}
155 </Include-Resource>
156 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
157 <Import-Package>*,org.glassfish.jersey.servlet</Import-Package>
158 <Web-ContextPath>${web.context}</Web-ContextPath>
159 </instructions>
160 </configuration>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-compiler-plugin</artifactId>
165 <version>2.5.1</version>
166 <configuration>
167 <source>1.8</source>
168 <target>1.8</target>
169 </configuration>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.felix</groupId>
173 <artifactId>maven-scr-plugin</artifactId>
174 <version>1.21.0</version>
175 <executions>
176 <execution>
177 <id>generate-scr-srcdescriptor</id>
178 <goals>
179 <goal>scr</goal>
180 </goals>
181 </execution>
182 </executions>
183 <configuration>
184 <supportedProjectTypes>
185 <supportedProjectType>bundle</supportedProjectType>
186 <supportedProjectType>war</supportedProjectType>
187 </supportedProjectTypes>
188 </configuration>
189 </plugin>
190 <plugin>
191 <groupId>org.onosproject</groupId>
192 <artifactId>onos-maven-plugin</artifactId>
193 <version>1.10</version>
194 <executions>
195 <execution>
196 <id>cfg</id>
197 <phase>generate-resources</phase>
198 <goals>
199 <goal>cfg</goal>
200 </goals>
201 </execution>
202 <execution>
203 <id>swagger</id>
204 <phase>generate-sources</phase>
205 <goals>
206 <goal>swagger</goal>
207 </goals>
208 </execution>
209 <execution>
210 <id>app</id>
211 <phase>package</phase>
212 <goals>
213 <goal>app</goal>
214 </goals>
215 </execution>
216 </executions>
217 </plugin>
218 </plugins>
219 </build>
220
221</project>