blob: d78981d272a0edb58d17a8f1367a00e2fddd2c26 [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>
Brian O'Connore642f7c2016-05-23 18:33:04 -070024 <version>1.7.0-SNAPSHOT</version>
jcc3d4e14a2015-04-21 11:32:05 +080025 <relativePath>../pom.xml</relativePath>
26 </parent>
27
28 <artifactId>onos-app-segmentrouting</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>Segment routing application</description>
32
33 <properties>
sangho1e575652015-05-14 00:39:53 -070034 <web.context>/onos/segmentrouting</web.context>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070035 <api.version>1.0.0</api.version>
36 <api.title>ONOS Segment Routing REST API</api.title>
37 <api.description>
38 APIs for interacting with the Segment Routing application.
39 </api.description>
40 <api.package>org.onosproject.segmentrouting.web</api.package>
jcc3d4e14a2015-04-21 11:32:05 +080041 </properties>
42
sangho1e575652015-05-14 00:39:53 -070043 <dependencies>
44 <dependency>
45 <groupId>org.onosproject</groupId>
46 <artifactId>onos-cli</artifactId>
47 <version>${project.version}</version>
48 </dependency>
Charles Chand55e84d2016-03-30 17:54:24 -070049 <dependency>
50 <groupId>org.onosproject</groupId>
51 <artifactId>onos-core-serializers</artifactId>
52 <version>${project.version}</version>
53 </dependency>
sangho1e575652015-05-14 00:39:53 -070054 <dependency>
55 <groupId>org.apache.karaf.shell</groupId>
56 <artifactId>org.apache.karaf.shell.console</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onos-rest</artifactId>
61 <version>${project.version}</version>
62 </dependency>
63 <dependency>
64 <groupId>org.onosproject</groupId>
65 <artifactId>onlab-rest</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68 <dependency>
Charles Chan35fd1a72016-06-13 18:54:31 -070069 <groupId>org.opencord</groupId>
70 <artifactId>cord-config</artifactId>
71 <!-- TODO: Replace this with variable -->
72 <version>1.0-SNAPSHOT</version>
73 </dependency>
74 <dependency>
sangho1e575652015-05-14 00:39:53 -070075 <groupId>javax.ws.rs</groupId>
Jian Li9d616492016-03-09 10:52:49 -080076 <artifactId>javax.ws.rs-api</artifactId>
77 <version>2.0.1</version>
sangho1e575652015-05-14 00:39:53 -070078 </dependency>
79 <dependency>
Jian Li9d616492016-03-09 10:52:49 -080080 <groupId>org.glassfish.jersey.containers</groupId>
81 <artifactId>jersey-container-servlet</artifactId>
sangho1e575652015-05-14 00:39:53 -070082 </dependency>
83 <dependency>
84 <groupId>com.fasterxml.jackson.core</groupId>
85 <artifactId>jackson-databind</artifactId>
86 </dependency>
sangho1e575652015-05-14 00:39:53 -070087 <dependency>
88 <groupId>com.fasterxml.jackson.core</groupId>
89 <artifactId>jackson-annotations</artifactId>
90 </dependency>
sangho1e575652015-05-14 00:39:53 -070091 <dependency>
92 <groupId>org.osgi</groupId>
93 <artifactId>org.osgi.compendium</artifactId>
94 </dependency>
95 <dependency>
96 <groupId>org.osgi</groupId>
97 <artifactId>org.osgi.core</artifactId>
98 </dependency>
Charles Chan531a78b2015-12-01 10:00:51 -080099 <dependency>
100 <groupId>org.onosproject</groupId>
101 <artifactId>onlab-junit</artifactId>
102 <scope>test</scope>
103 </dependency>
Charles Chan5270ed02016-01-30 23:22:37 -0800104 <dependency>
105 <groupId>org.onosproject</groupId>
106 <artifactId>onos-api</artifactId>
107 <version>${project.version}</version>
108 <scope>test</scope>
109 <classifier>tests</classifier>
110 </dependency>
sangho1e575652015-05-14 00:39:53 -0700111 </dependencies>
112
113 <build>
114 <plugins>
115 <plugin>
116 <groupId>org.apache.felix</groupId>
117 <artifactId>maven-bundle-plugin</artifactId>
118 <extensions>true</extensions>
119 <configuration>
120 <instructions>
121 <_wab>src/main/webapp/</_wab>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700122 <Include-Resource>
123 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
124 {maven-resources}
125 </Include-Resource>
sangho1e575652015-05-14 00:39:53 -0700126 <Bundle-SymbolicName>
127 ${project.groupId}.${project.artifactId}
128 </Bundle-SymbolicName>
129 <Import-Package>
Brian O'Connora450bd02016-04-04 14:00:37 -0700130 *,org.glassfish.jersey.servlet
sangho1e575652015-05-14 00:39:53 -0700131 </Import-Package>
132 <Web-ContextPath>${web.context}</Web-ContextPath>
133 </instructions>
134 </configuration>
135 </plugin>
136 </plugins>
137 </build>
138
jcc3d4e14a2015-04-21 11:32:05 +0800139</project>