blob: 8a5401a86bff7e6f82a68bd00f7a1b2173a0048d [file] [log] [blame]
jcc3d4e14a2015-04-21 11:32:05 +08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07003 ~ Copyright 2015-present Open Networking Laboratory
jcc3d4e14a2015-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>
Thomas Vachuska389f1082016-06-08 17:57:28 -070024 <version>1.6.0-SNAPSHOT</version>
jcc3d4e14a2015-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>
sangho1e575652015-05-14 00:39:53 -070033 <web.context>/onos/segmentrouting</web.context>
Thomas Vachuska0fa2aa12015-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>
jcc3d4e14a2015-04-21 11:32:05 +080040 </properties>
41
sangho1e575652015-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 Chand55e84d2016-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>
sangho1e575652015-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>
Charles Chan70fec422016-06-13 18:54:31 -070068 <groupId>org.opencord</groupId>
69 <artifactId>cord-config</artifactId>
70 <!-- TODO: Replace this with variable -->
71 <version>1.0-SNAPSHOT</version>
72 </dependency>
73 <dependency>
sangho1e575652015-05-14 00:39:53 -070074 <groupId>javax.ws.rs</groupId>
Jian Li9d616492016-03-09 10:52:49 -080075 <artifactId>javax.ws.rs-api</artifactId>
76 <version>2.0.1</version>
sangho1e575652015-05-14 00:39:53 -070077 </dependency>
78 <dependency>
Jian Li9d616492016-03-09 10:52:49 -080079 <groupId>org.glassfish.jersey.containers</groupId>
80 <artifactId>jersey-container-servlet</artifactId>
sangho1e575652015-05-14 00:39:53 -070081 </dependency>
82 <dependency>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-databind</artifactId>
85 </dependency>
sangho1e575652015-05-14 00:39:53 -070086 <dependency>
87 <groupId>com.fasterxml.jackson.core</groupId>
88 <artifactId>jackson-annotations</artifactId>
89 </dependency>
sangho1e575652015-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 Chan531a78b2015-12-01 10:00:51 -080098 <dependency>
99 <groupId>org.onosproject</groupId>
100 <artifactId>onlab-junit</artifactId>
101 <scope>test</scope>
102 </dependency>
Charles Chan5270ed02016-01-30 23:22:37 -0800103 <dependency>
104 <groupId>org.onosproject</groupId>
105 <artifactId>onos-api</artifactId>
106 <version>${project.version}</version>
107 <scope>test</scope>
108 <classifier>tests</classifier>
109 </dependency>
sangho1e575652015-05-14 00:39:53 -0700110 </dependencies>
111
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-bundle-plugin</artifactId>
117 <extensions>true</extensions>
118 <configuration>
119 <instructions>
120 <_wab>src/main/webapp/</_wab>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700121 <Include-Resource>
122 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
123 {maven-resources}
124 </Include-Resource>
sangho1e575652015-05-14 00:39:53 -0700125 <Bundle-SymbolicName>
126 ${project.groupId}.${project.artifactId}
127 </Bundle-SymbolicName>
128 <Import-Package>
Brian O'Connora450bd02016-04-04 14:00:37 -0700129 *,org.glassfish.jersey.servlet
sangho1e575652015-05-14 00:39:53 -0700130 </Import-Package>
131 <Web-ContextPath>${web.context}</Web-ContextPath>
132 </instructions>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137
jcc3d4e14a2015-04-21 11:32:05 +0800138</project>