blob: 1a0e54a96c36572a2ae01df920b51c3e54316748 [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>
Jenkinsfe1274b2022-03-10 23:16:30 +000025 <version>3.3.0-SNAPSHOT</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>
Jenkins625f7fa2020-09-10 10:19:26 +000036 <api.version>3.0.1</api.version>
Charles Chan53606552020-06-24 22:33:56 -070037 <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>
pierventreb37a11a2021-03-18 16:50:04 +010045 <!-- Trellis -->
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>
pierventreb37a11a2021-03-18 16:50:04 +010052 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>segmentrouting-api</artifactId>
55 <version>${project.parent.version}</version>
56 <scope>provided</scope>
57 </dependency>
Charles Chan53606552020-06-24 22:33:56 -070058
59 <!-- ONOS core -->
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-api</artifactId>
63 <version>${onos.version}</version>
64 <scope>provided</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-core-net</artifactId>
69 <version>${onos.version}</version>
70 <scope>provided</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.onosproject</groupId>
74 <artifactId>onos-core-serializers</artifactId>
75 <version>${onos.version}</version>
76 <scope>provided</scope>
77 </dependency>
78
79 <!-- Other Trellis apps -->
80 <dependency>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-apps-portloadbalancer</artifactId>
83 <version>${onos.version}</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.onosproject</groupId>
88 <artifactId>onos-apps-route-service-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-api</artifactId>
95 <version>${onos.version}</version>
96 <scope>provided</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.onosproject</groupId>
100 <artifactId>onos-apps-mcast-cli</artifactId>
101 <version>${onos.version}</version>
102 <scope>provided</scope>
103 </dependency>
104
105 <!-- Tests -->
106 <dependency>
107 <groupId>org.onosproject</groupId>
108 <artifactId>onos-api</artifactId>
109 <version>${onos.version}</version>
110 <classifier>tests</classifier>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.onosproject</groupId>
115 <artifactId>onos-core-common</artifactId>
116 <version>${onos.version}</version>
117 <classifier>tests</classifier>
118 <scope>test</scope>
119 </dependency>
120 <dependency>
121 <groupId>org.onosproject</groupId>
122 <artifactId>onos-apps-route-service-api</artifactId>
123 <version>${onos.version}</version>
124 <classifier>tests</classifier>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.onosproject</groupId>
129 <artifactId>onlab-junit</artifactId>
130 <version>${onos.version}</version>
131 <scope>test</scope>
132 </dependency>
133
134 <!-- REST API -->
135 <dependency>
136 <groupId>org.onosproject</groupId>
137 <artifactId>onos-rest</artifactId>
138 <version>${onos.version}</version>
139 <scope>provided</scope>
140 </dependency>
141 <dependency>
142 <groupId>org.onosproject</groupId>
143 <artifactId>onlab-rest</artifactId>
144 <version>${onos.version}</version>
145 <scope>provided</scope>
146 </dependency>
147 <dependency>
148 <groupId>javax.ws.rs</groupId>
149 <artifactId>javax.ws.rs-api</artifactId>
150 <scope>provided</scope>
151 </dependency>
152 <dependency>
153 <groupId>org.glassfish.jersey.containers</groupId>
154 <artifactId>jersey-container-servlet</artifactId>
155 <scope>provided</scope>
156 </dependency>
157 <dependency>
158 <groupId>com.fasterxml.jackson.core</groupId>
159 <artifactId>jackson-databind</artifactId>
160 <scope>provided</scope>
161 </dependency>
162 <dependency>
163 <groupId>com.fasterxml.jackson.core</groupId>
164 <artifactId>jackson-annotations</artifactId>
165 <scope>provided</scope>
166 </dependency>
167 </dependencies>
168
169 <build>
170 <plugins>
171 <plugin>
172 <groupId>org.onosproject</groupId>
173 <artifactId>onos-maven-plugin</artifactId>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.felix</groupId>
177 <artifactId>maven-bundle-plugin</artifactId>
178 <extensions>true</extensions>
179 <configuration>
180 <instructions>
181 <_wab>src/main/webapp/</_wab>
182 <Include-Resource>
183 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
184 {maven-resources}
185 </Include-Resource>
186 <Bundle-SymbolicName>
187 ${project.groupId}.${project.artifactId}
188 </Bundle-SymbolicName>
189 <Import-Package>
190 *,org.glassfish.jersey.servlet
191 </Import-Package>
192 <Web-ContextPath>${web.context}</Web-ContextPath>
193 </instructions>
194 </configuration>
195 </plugin>
196 </plugins>
197 </build>
198</project>