Tunahan Sezen | 03e5527 | 2020-04-18 09:18:53 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2017-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>maclearner</artifactId> |
| 22 | <groupId>org.opencord</groupId> |
Jenkins | 92bbfd3 | 2021-12-27 12:03:14 +0000 | [diff] [blame] | 23 | <version>1.2.1-SNAPSHOT</version> |
Tunahan Sezen | 03e5527 | 2020-04-18 09:18:53 +0000 | [diff] [blame] | 24 | </parent> |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | |
| 27 | <artifactId>maclearner-app</artifactId> |
| 28 | <packaging>bundle</packaging> |
| 29 | |
| 30 | <properties> |
| 31 | <!--For REST--> |
| 32 | <web.context>/onos/v2</web.context> |
| 33 | <api.version>2.0.0</api.version> |
| 34 | <api.title>MAC Learner REST API</api.title> |
| 35 | <api.description>MAC Learner REST API</api.description> |
| 36 | <api.package>org.opencord.maclearner.app.rest</api.package> |
| 37 | <!--For REST--> |
| 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.opencord</groupId> |
| 43 | <artifactId>maclearner-api</artifactId> |
Ilayda Ozdemir | 932d17b | 2021-02-24 10:11:21 +0000 | [diff] [blame] | 44 | <version>${maclearner.api.version}</version> |
Tunahan Sezen | 03e5527 | 2020-04-18 09:18:53 +0000 | [diff] [blame] | 45 | </dependency> |
| 46 | <dependency> |
Harsh Awasthi | 6bd7360 | 2022-01-31 18:40:25 +0530 | [diff] [blame] | 47 | <groupId>org.opencord</groupId> |
| 48 | <artifactId>sadis-api</artifactId> |
| 49 | <version>${sadis.api.version}</version> |
| 50 | <scope>provided</scope> |
| 51 | </dependency> |
| 52 | <dependency> |
Tunahan Sezen | 03e5527 | 2020-04-18 09:18:53 +0000 | [diff] [blame] | 53 | <groupId>org.onosproject</groupId> |
| 54 | <artifactId>onos-cli</artifactId> |
| 55 | <version>${onos.version}</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.onosproject</groupId> |
| 59 | <artifactId>onos-core-serializers</artifactId> |
| 60 | <version>${onos.version}</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.apache.karaf.shell</groupId> |
| 64 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.onosproject</groupId> |
| 68 | <artifactId>onos-api</artifactId> |
| 69 | <version>${onos.version}</version> |
| 70 | <scope>test</scope> |
| 71 | <classifier>tests</classifier> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.onosproject</groupId> |
| 75 | <artifactId>onlab-junit</artifactId> |
| 76 | <version>2.2.2</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
| 79 | </dependencies> |
| 80 | |
| 81 | <build> |
| 82 | <plugins> |
| 83 | <plugin> |
| 84 | <groupId>org.onosproject</groupId> |
| 85 | <artifactId>onos-maven-plugin</artifactId> |
| 86 | </plugin> |
| 87 | <!--For REST--> |
| 88 | <plugin> |
| 89 | <groupId>org.apache.felix</groupId> |
| 90 | <artifactId>maven-bundle-plugin</artifactId> |
| 91 | <extensions>true</extensions> |
| 92 | <configuration> |
| 93 | <instructions> |
| 94 | <_wab>src/main/webapp/</_wab> |
| 95 | <Include-Resource> |
| 96 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 97 | {maven-resources} |
| 98 | </Include-Resource> |
| 99 | <Bundle-SymbolicName> |
| 100 | ${project.groupId}.${project.artifactId} |
| 101 | </Bundle-SymbolicName> |
| 102 | <Import-Package> |
| 103 | *,org.glassfish.jersey.servlet |
| 104 | </Import-Package> |
| 105 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 106 | <!--For Command--> |
| 107 | <Karaf-Commands>org.opencord.maclearner.app.cli</Karaf-Commands> |
| 108 | <!--For Command--> |
| 109 | </instructions> |
| 110 | </configuration> |
| 111 | </plugin> |
| 112 | <!--For REST--> |
| 113 | </plugins> |
| 114 | </build> |
| 115 | |
| 116 | </project> |