blob: 53aa6b55205583dc75b347a85b30ac084de60ab6 [file] [log] [blame]
Matteo Scandolo57af5d12019-04-29 17:11:41 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016-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 <parent>
21 <artifactId>dhcpl2relay</artifactId>
22 <groupId>org.opencord</groupId>
Jenkinsb1a9f282023-01-04 17:58:13 +000023 <version>2.9.0-SNAPSHOT</version>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070024 </parent>
25 <modelVersion>4.0.0</modelVersion>
26
27 <artifactId>dhcpl2relay-app</artifactId>
28
29 <packaging>bundle</packaging>
Marcos Aurelio Carreroeaf02b82019-11-25 13:34:25 -030030 <description>DHCP L2 Relay application for CORD</description>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070031
32 <properties>
33 <onos.app.name>org.opencord.dhcpl2relay</onos.app.name>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070034 <onos.app.title>DHCP Relay Agent App</onos.app.title>
35 <onos.app.category>default</onos.app.category>
36 <onos.app.url>http://opencord.org</onos.app.url>
37 <onos.app.readme>DHCP L2 Relay Agent Application.</onos.app.readme>
38 <onos.app.requires>
39 org.opencord.sadis
40 </onos.app.requires>
Gustavo Silvade66bc72022-05-18 16:42:55 -030041
42 <web.context>/onos/dhcpl2relay</web.context>
43 <api.version>1.0.0</api.version>
44 <api.title>DhcpL2Relay REST API</api.title>
45 <api.description>REST API to query DhcpL2Relay allocation entries.</api.description>
46 <api.package>org.opencord.dhcpl2relay.rest</api.package>
47
Matteo Scandolo57af5d12019-04-29 17:11:41 -070048 </properties>
49
50 <dependencies>
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-api</artifactId>
54 <version>${onos.version}</version>
Carmelo Casconede1e6e32019-07-15 19:39:08 -070055 <scope>provided</scope>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070056 </dependency>
57
58 <dependency>
Jonathan Hart617bc3e2020-02-14 10:42:23 -080059 <groupId>org.onosproject</groupId>
60 <artifactId>onos-core-serializers</artifactId>
61 <version>${onos.version}</version>
62 <scope>provided</scope>
63 </dependency>
64
65 <dependency>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070066 <groupId>org.opencord</groupId>
67 <artifactId>sadis-api</artifactId>
68 <version>${sadis.api.version}</version>
Carmelo Casconede1e6e32019-07-15 19:39:08 -070069 <scope>provided</scope>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070070 </dependency>
71
72 <dependency>
73 <groupId>org.opencord</groupId>
74 <artifactId>dhcpl2relay-api</artifactId>
Ilayda Ozdemir6b623ea2021-02-23 21:06:38 +000075 <version>${dhcpl2relay.api.version}</version>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070076 <scope>compile</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.onosproject</groupId>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070081 <artifactId>onlab-junit</artifactId>
82 <version>${onos.version}</version>
83 <scope>test</scope>
84 </dependency>
Carmelo Casconede1e6e32019-07-15 19:39:08 -070085
Matteo Scandolo57af5d12019-04-29 17:11:41 -070086 <dependency>
87 <groupId>org.onosproject</groupId>
88 <artifactId>onos-cli</artifactId>
89 <version>${onos.version}</version>
Carmelo Casconede1e6e32019-07-15 19:39:08 -070090 <scope>provided</scope>
Matteo Scandolo57af5d12019-04-29 17:11:41 -070091 </dependency>
92
93 <dependency>
94 <groupId>org.onosproject</groupId>
95 <artifactId>onos-api</artifactId>
96 <version>${onos.version}</version>
97 <scope>test</scope>
98 <classifier>tests</classifier>
99 </dependency>
100
101 <dependency>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700102 <groupId>org.onosproject</groupId>
103 <artifactId>onlab-osgi</artifactId>
104 <version>${onos.version}</version>
105 <classifier>tests</classifier>
106 <scope>test</scope>
107 </dependency>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700108
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700109 <dependency>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700110 <groupId>org.apache.karaf.shell</groupId>
Marcos Aurelio Carreroeaf02b82019-11-25 13:34:25 -0300111 <artifactId>org.apache.karaf.shell.core</artifactId>
112 <scope>provided</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.apache.karaf.shell</groupId>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700117 <artifactId>org.apache.karaf.shell.console</artifactId>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700118 <scope>provided</scope>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700119 </dependency>
120
121 <dependency>
122 <groupId>org.onosproject</groupId>
123 <artifactId>onos-core-common</artifactId>
124 <version>${onos.version}</version>
125 <classifier>tests</classifier>
126 <scope>test</scope>
127 </dependency>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700128
129 <dependency>
130 <groupId>org.onosproject</groupId>
131 <artifactId>onlab-misc</artifactId>
132 <version>${onos.version}</version>
133 <scope>provided</scope>
134 </dependency>
135
136 <dependency>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700137 <groupId>com.fasterxml.jackson.core</groupId>
138 <artifactId>jackson-databind</artifactId>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700139 <scope>provided</scope>
140 </dependency>
141
Gustavo Silvade66bc72022-05-18 16:42:55 -0300142 <dependency>
143 <groupId>org.onosproject</groupId>
144 <artifactId>onlab-rest</artifactId>
145 <version>${onos.version}</version>
146 <scope>provided</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>javax.ws.rs</groupId>
151 <artifactId>javax.ws.rs-api</artifactId>
152 <scope>provided</scope>
153 </dependency>
154
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700155 </dependencies>
156
157 <build>
158 <plugins>
159 <plugin>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700160 <groupId>org.onosproject</groupId>
161 <artifactId>onos-maven-plugin</artifactId>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.felix</groupId>
166 <artifactId>maven-bundle-plugin</artifactId>
167 <configuration>
168 <instructions>
Gustavo Silvade66bc72022-05-18 16:42:55 -0300169 <_wab>src/main/webapp/</_wab>
170 <Include-Resource>
171 WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
172 {maven-resources}
173 </Include-Resource>
174 <Import-Package>
175 *,org.glassfish.jersey.servlet
176 </Import-Package>
177 <Web-ContextPath>${web.context}</Web-ContextPath>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700178 <Karaf-Commands>org.opencord.dhcpl2relay.cli</Karaf-Commands>
Carmelo Casconede1e6e32019-07-15 19:39:08 -0700179 </instructions>
180 </configuration>
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700181 </plugin>
182 </plugins>
183 </build>
184
Matteo Scandolo57af5d12019-04-29 17:11:41 -0700185</project>