blob: 2859718bdcf6f2cc53abab7b076a801af8864c5e [file] [log] [blame]
jcc2832ca42015-04-21 11:32:05 +08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connor43b53542016-04-09 01:19:45 -07003 ~ Copyright 2015-present Open Networking Laboratory
jcc2832ca42015-04-21 11:32:05 +08004 ~
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>
Ray Milkey5fa4b382016-12-02 16:22:53 -080024 <version>1.9.0-SNAPSHOT</version>
jcc2832ca42015-04-21 11:32:05 +080025 </parent>
26
27 <artifactId>onos-app-segmentrouting</artifactId>
28 <packaging>bundle</packaging>
29
30 <description>Segment routing application</description>
31
32 <properties>
sangho27462c62015-05-14 00:39:53 -070033 <web.context>/onos/segmentrouting</web.context>
Thomas Vachuska7628b502015-08-18 12:53:04 -070034 <api.version>1.0.0</api.version>
35 <api.title>ONOS Segment Routing REST API</api.title>
36 <api.description>
37 APIs for interacting with the Segment Routing application.
38 </api.description>
39 <api.package>org.onosproject.segmentrouting.web</api.package>
jcc2832ca42015-04-21 11:32:05 +080040 </properties>
41
sangho27462c62015-05-14 00:39:53 -070042 <dependencies>
43 <dependency>
44 <groupId>org.onosproject</groupId>
45 <artifactId>onos-cli</artifactId>
46 <version>${project.version}</version>
47 </dependency>
Charles Chanc91c8782016-03-30 17:54:24 -070048 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onos-core-serializers</artifactId>
51 <version>${project.version}</version>
52 </dependency>
sangho27462c62015-05-14 00:39:53 -070053 <dependency>
54 <groupId>org.apache.karaf.shell</groupId>
55 <artifactId>org.apache.karaf.shell.console</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onos-rest</artifactId>
60 <version>${project.version}</version>
61 </dependency>
62 <dependency>
63 <groupId>org.onosproject</groupId>
64 <artifactId>onlab-rest</artifactId>
65 <version>${project.version}</version>
66 </dependency>
67 <dependency>
Jon Hall5302f502016-06-29 17:21:46 -070068 <groupId>org.onosproject</groupId>
Charles Chan41f5ec02016-06-13 18:54:31 -070069 <artifactId>cord-config</artifactId>
70 <!-- TODO: Replace this with variable -->
Jon Hall5302f502016-06-29 17:21:46 -070071 <version>1.0-b1</version>
Charles Chan41f5ec02016-06-13 18:54:31 -070072 </dependency>
73 <dependency>
sangho27462c62015-05-14 00:39:53 -070074 <groupId>javax.ws.rs</groupId>
Jian Li0d835182016-03-09 10:52:49 -080075 <artifactId>javax.ws.rs-api</artifactId>
76 <version>2.0.1</version>
sangho27462c62015-05-14 00:39:53 -070077 </dependency>
78 <dependency>
Jian Li0d835182016-03-09 10:52:49 -080079 <groupId>org.glassfish.jersey.containers</groupId>
80 <artifactId>jersey-container-servlet</artifactId>
sangho27462c62015-05-14 00:39:53 -070081 </dependency>
82 <dependency>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-databind</artifactId>
85 </dependency>
sangho27462c62015-05-14 00:39:53 -070086 <dependency>
87 <groupId>com.fasterxml.jackson.core</groupId>
88 <artifactId>jackson-annotations</artifactId>
89 </dependency>
sangho27462c62015-05-14 00:39:53 -070090 <dependency>
91 <groupId>org.osgi</groupId>
92 <artifactId>org.osgi.compendium</artifactId>
93 </dependency>
94 <dependency>
95 <groupId>org.osgi</groupId>
96 <artifactId>org.osgi.core</artifactId>
97 </dependency>
Charles Chan9bec8a32015-12-01 10:00:51 -080098 <dependency>
99 <groupId>org.onosproject</groupId>
100 <artifactId>onlab-junit</artifactId>
101 <scope>test</scope>
102 </dependency>
Charles Chan82ab1932016-01-30 23:22:37 -0800103 <dependency>
104 <groupId>org.onosproject</groupId>
105 <artifactId>onos-api</artifactId>
Charles Chan82ab1932016-01-30 23:22:37 -0800106 <scope>test</scope>
107 <classifier>tests</classifier>
108 </dependency>
sangho27462c62015-05-14 00:39:53 -0700109 </dependencies>
110
111 <build>
112 <plugins>
113 <plugin>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-bundle-plugin</artifactId>
116 <extensions>true</extensions>
117 <configuration>
118 <instructions>
119 <_wab>src/main/webapp/</_wab>
Thomas Vachuska7628b502015-08-18 12:53:04 -0700120 <Include-Resource>
121 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
122 {maven-resources}
123 </Include-Resource>
sangho27462c62015-05-14 00:39:53 -0700124 <Bundle-SymbolicName>
125 ${project.groupId}.${project.artifactId}
126 </Bundle-SymbolicName>
127 <Import-Package>
Brian O'Connor351ceea2016-04-04 14:00:37 -0700128 *,org.glassfish.jersey.servlet
sangho27462c62015-05-14 00:39:53 -0700129 </Import-Package>
130 <Web-ContextPath>${web.context}</Web-ContextPath>
131 </instructions>
132 </configuration>
133 </plugin>
134 </plugins>
135 </build>
136
jcc2832ca42015-04-21 11:32:05 +0800137</project>