blob: 5656c0658c01d15f348194c9bc942813d5380ac4 [file] [log] [blame]
Andreas Pantelopoulosa5f837f2018-02-24 16:35:59 -08001<?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>onos-apps-segmentrouting</artifactId>
25 <version>1.12.1-SNAPSHOT</version>
26 </parent>
27
28 <artifactId>onos-apps-segmentrouting-web</artifactId>
29 <packaging>bundle</packaging>
30
31 <url>http://onosproject.org</url>
32
33 <description>Segment Routing REST Server</description>
34
35 <properties>
36 <web.context>/onos/segmentrouting</web.context>
37 <api.version>1.0</api.version>
38 <api.title>Segment Routing Rest Server</api.title>
39 <api.description>
40 REST API for Segment Routing Application
41 </api.description>
42 <api.package>org.onosproject.segmentrouting.web</api.package>
43 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.onosproject</groupId>
48 <artifactId>onos-apps-segmentrouting-app</artifactId>
49 <version>${project.version}</version>
50 </dependency>
51
52 <dependency>
53 <groupId>org.apache.karaf.shell</groupId>
54 <artifactId>org.apache.karaf.shell.console</artifactId>
55 <scope>compile</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onlab-junit</artifactId>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.onosproject</groupId>
65 <artifactId>onos-core-serializers</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68
69 <dependency>
70 <groupId>org.onosproject</groupId>
71 <artifactId>onos-rest</artifactId>
72 <version>${project.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>org.onosproject</groupId>
76 <artifactId>onlab-rest</artifactId>
77 <version>${project.version}</version>
78 </dependency>
79 <dependency>
80 <groupId>javax.ws.rs</groupId>
81 <artifactId>javax.ws.rs-api</artifactId>
82 <version>2.0.1</version>
83 </dependency>
84 <dependency>
85 <groupId>org.glassfish.jersey.containers</groupId>
86 <artifactId>jersey-container-servlet</artifactId>
87 </dependency>
88 <dependency>
89 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-databind</artifactId>
91 </dependency>
92
93 <dependency>
94 <groupId>com.fasterxml.jackson.core</groupId>
95 <artifactId>jackson-annotations</artifactId>
96 </dependency>
97 </dependencies>
98
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
104 <extensions>true</extensions>
105 <configuration>
106 <instructions>
107 <_wab>src/main/webapp/</_wab>
108 <Include-Resource>
109 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
110 {maven-resources}
111 </Include-Resource>
112 <Bundle-SymbolicName>
113 ${project.groupId}.${project.artifactId}
114 </Bundle-SymbolicName>
115 <Import-Package>
116 *,org.glassfish.jersey.servlet
117 </Import-Package>
118 <Web-ContextPath>${web.context}</Web-ContextPath>
119 </instructions>
120 </configuration>
121 </plugin>
122 </plugins>
123 </build>
124
125</project>