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> |
| 47 | <groupId>org.onosproject</groupId> |
| 48 | <artifactId>onos-cli</artifactId> |
| 49 | <version>${onos.version}</version> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.onosproject</groupId> |
| 53 | <artifactId>onos-core-serializers</artifactId> |
| 54 | <version>${onos.version}</version> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.apache.karaf.shell</groupId> |
| 58 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.onosproject</groupId> |
| 62 | <artifactId>onos-api</artifactId> |
| 63 | <version>${onos.version}</version> |
| 64 | <scope>test</scope> |
| 65 | <classifier>tests</classifier> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.onosproject</groupId> |
| 69 | <artifactId>onlab-junit</artifactId> |
| 70 | <version>2.2.2</version> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | </dependencies> |
| 74 | |
| 75 | <build> |
| 76 | <plugins> |
| 77 | <plugin> |
| 78 | <groupId>org.onosproject</groupId> |
| 79 | <artifactId>onos-maven-plugin</artifactId> |
| 80 | </plugin> |
| 81 | <!--For REST--> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.felix</groupId> |
| 84 | <artifactId>maven-bundle-plugin</artifactId> |
| 85 | <extensions>true</extensions> |
| 86 | <configuration> |
| 87 | <instructions> |
| 88 | <_wab>src/main/webapp/</_wab> |
| 89 | <Include-Resource> |
| 90 | WEB-INF/classes/apidoc/swagger.json=target/swagger.json, |
| 91 | {maven-resources} |
| 92 | </Include-Resource> |
| 93 | <Bundle-SymbolicName> |
| 94 | ${project.groupId}.${project.artifactId} |
| 95 | </Bundle-SymbolicName> |
| 96 | <Import-Package> |
| 97 | *,org.glassfish.jersey.servlet |
| 98 | </Import-Package> |
| 99 | <Web-ContextPath>${web.context}</Web-ContextPath> |
| 100 | <!--For Command--> |
| 101 | <Karaf-Commands>org.opencord.maclearner.app.cli</Karaf-Commands> |
| 102 | <!--For Command--> |
| 103 | </instructions> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <!--For REST--> |
| 107 | </plugins> |
| 108 | </build> |
| 109 | |
| 110 | </project> |