blob: a6a73f92d2603d1bfe2ecd27fbac2afbc86664f1 [file] [log] [blame]
Charles Chan53606552020-06-24 22:33:56 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2015-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/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>segmentrouting</artifactId>
Jenkins4e43e772020-09-10 10:19:08 +000025 <version>3.0.0</version>
Charles Chan53606552020-06-24 22:33:56 -070026 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>segmentrouting-web</artifactId>
30 <packaging>bundle</packaging>
31 <url>http://trellisfabric.org</url>
32 <description>Trellis control REST API</description>
33
34 <properties>
35 <web.context>/onos/segmentrouting</web.context>
36 <api.version>3.0.0</api.version>
37 <api.title>Segment Routing REST API</api.title>
38 <api.description>
39 REST API for Segment Routing Application
40 </api.description>
41 <api.package>org.onosproject.segmentrouting.web</api.package>
42 </properties>
43
44 <dependencies>
Charles Chan1fdf4892020-09-04 14:38:06 -070045 <!-- Trellis impl -->
Charles Chan53606552020-06-24 22:33:56 -070046 <dependency>
47 <groupId>org.onosproject</groupId>
Charles Chan1fdf4892020-09-04 14:38:06 -070048 <artifactId>segmentrouting-impl</artifactId>
Charles Chan53606552020-06-24 22:33:56 -070049 <version>${project.parent.version}</version>
50 <scope>provided</scope>
51 </dependency>
52
53 <!-- ONOS core -->
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onos-api</artifactId>
57 <version>${onos.version}</version>
58 <scope>provided</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-core-net</artifactId>
63 <version>${onos.version}</version>
64 <scope>provided</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-core-serializers</artifactId>
69 <version>${onos.version}</version>
70 <scope>provided</scope>
71 </dependency>
72
73 <!-- Other Trellis apps -->
74 <dependency>
75 <groupId>org.onosproject</groupId>
76 <artifactId>onos-apps-portloadbalancer</artifactId>
77 <version>${onos.version}</version>
78 <scope>provided</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-apps-route-service-api</artifactId>
83 <version>${onos.version}</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.onosproject</groupId>
88 <artifactId>onos-apps-mcast-api</artifactId>
89 <version>${onos.version}</version>
90 <scope>provided</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.onosproject</groupId>
94 <artifactId>onos-apps-mcast-cli</artifactId>
95 <version>${onos.version}</version>
96 <scope>provided</scope>
97 </dependency>
98
99 <!-- Tests -->
100 <dependency>
101 <groupId>org.onosproject</groupId>
102 <artifactId>onos-api</artifactId>
103 <version>${onos.version}</version>
104 <classifier>tests</classifier>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.onosproject</groupId>
109 <artifactId>onos-core-common</artifactId>
110 <version>${onos.version}</version>
111 <classifier>tests</classifier>
112 <scope>test</scope>
113 </dependency>
114 <dependency>
115 <groupId>org.onosproject</groupId>
116 <artifactId>onos-apps-route-service-api</artifactId>
117 <version>${onos.version}</version>
118 <classifier>tests</classifier>
119 <scope>test</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.onosproject</groupId>
123 <artifactId>onlab-junit</artifactId>
124 <version>${onos.version}</version>
125 <scope>test</scope>
126 </dependency>
127
128 <!-- REST API -->
129 <dependency>
130 <groupId>org.onosproject</groupId>
131 <artifactId>onos-rest</artifactId>
132 <version>${onos.version}</version>
133 <scope>provided</scope>
134 </dependency>
135 <dependency>
136 <groupId>org.onosproject</groupId>
137 <artifactId>onlab-rest</artifactId>
138 <version>${onos.version}</version>
139 <scope>provided</scope>
140 </dependency>
141 <dependency>
142 <groupId>javax.ws.rs</groupId>
143 <artifactId>javax.ws.rs-api</artifactId>
144 <scope>provided</scope>
145 </dependency>
146 <dependency>
147 <groupId>org.glassfish.jersey.containers</groupId>
148 <artifactId>jersey-container-servlet</artifactId>
149 <scope>provided</scope>
150 </dependency>
151 <dependency>
152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-databind</artifactId>
154 <scope>provided</scope>
155 </dependency>
156 <dependency>
157 <groupId>com.fasterxml.jackson.core</groupId>
158 <artifactId>jackson-annotations</artifactId>
159 <scope>provided</scope>
160 </dependency>
161 </dependencies>
162
163 <build>
164 <plugins>
165 <plugin>
166 <groupId>org.onosproject</groupId>
167 <artifactId>onos-maven-plugin</artifactId>
168 </plugin>
169 <plugin>
170 <groupId>org.apache.felix</groupId>
171 <artifactId>maven-bundle-plugin</artifactId>
172 <extensions>true</extensions>
173 <configuration>
174 <instructions>
175 <_wab>src/main/webapp/</_wab>
176 <Include-Resource>
177 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
178 {maven-resources}
179 </Include-Resource>
180 <Bundle-SymbolicName>
181 ${project.groupId}.${project.artifactId}
182 </Bundle-SymbolicName>
183 <Import-Package>
184 *,org.glassfish.jersey.servlet
185 </Import-Package>
186 <Web-ContextPath>${web.context}</Web-ContextPath>
187 </instructions>
188 </configuration>
189 </plugin>
190 </plugins>
191 </build>
192</project>