Sudhir Kumar Maurya | 9c2fee8 | 2019-01-30 07:20:42 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2018-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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | |
| 20 | <parent> |
| 21 | <groupId>org.onosproject</groupId> |
| 22 | <artifactId>onos-apps-packet-stats</artifactId> |
| 23 | <version>1.14.2-SNAPSHOT</version> |
| 24 | </parent> |
| 25 | |
| 26 | <artifactId>onos-apps-packet-stats-web</artifactId> |
| 27 | <packaging>bundle</packaging> |
| 28 | |
| 29 | <properties> |
| 30 | <web.context>/onos/v1/packet-stats</web.context> |
| 31 | <api.version>1.0.0</api.version> |
| 32 | <api.title>ONOS REST API for Packet Stats</api.title> |
| 33 | <api.description> |
| 34 | APIs for interacting with the Packet Stats. |
| 35 | </api.description> |
| 36 | <api.package>org.onosproject.packetstats.web</api.package> |
| 37 | </properties> |
| 38 | |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.onosproject</groupId> |
| 42 | <artifactId>onos-incubator-api</artifactId> |
| 43 | </dependency> |
| 44 | |
| 45 | <dependency> |
| 46 | <groupId>org.onosproject</groupId> |
| 47 | <artifactId>onos-apps-packet-stats-app</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.onosproject</groupId> |
| 52 | <artifactId>onlab-junit</artifactId> |
| 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.onosproject</groupId> |
| 58 | <artifactId>onos-api</artifactId> |
| 59 | <scope>test</scope> |
| 60 | <classifier>tests</classifier> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
| 64 | <groupId>org.apache.felix</groupId> |
| 65 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 66 | <scope>provided</scope> |
| 67 | </dependency> |
| 68 | |
| 69 | <dependency> |
| 70 | <groupId>org.apache.karaf.shell</groupId> |
| 71 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 72 | </dependency> |
| 73 | |
| 74 | <dependency> |
| 75 | <groupId>org.onosproject</groupId> |
| 76 | <artifactId>onos-core-serializers</artifactId> |
| 77 | <version>${project.version}</version> |
| 78 | </dependency> |
| 79 | |
| 80 | <dependency> |
| 81 | <groupId>org.onosproject</groupId> |
| 82 | <artifactId>onos-cli</artifactId> |
| 83 | <version>${project.version}</version> |
| 84 | </dependency> |
| 85 | |
| 86 | <dependency> |
| 87 | <groupId>org.onosproject</groupId> |
| 88 | <artifactId>onos-apps-route-service-api</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | </dependency> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>org.onosproject</groupId> |
| 94 | <artifactId>onos-apps-route-service-api</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | <scope>test</scope> |
| 97 | <classifier>tests</classifier> |
| 98 | </dependency> |
| 99 | </dependencies> |
| 100 | |
| 101 | <build> |
| 102 | <plugins> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.felix</groupId> |
| 105 | <artifactId>maven-bundle-plugin</artifactId> |
| 106 | <version>3.0.1</version> |
| 107 | <extensions>true</extensions> |
| 108 | </plugin> |
| 109 | <plugin> |
| 110 | <groupId>org.apache.maven.plugins</groupId> |
| 111 | <artifactId>maven-compiler-plugin</artifactId> |
| 112 | <version>2.5.1</version> |
| 113 | <configuration> |
| 114 | <source>1.8</source> |
| 115 | <target>1.8</target> |
| 116 | </configuration> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.felix</groupId> |
| 120 | <artifactId>maven-scr-plugin</artifactId> |
| 121 | <version>1.21.0</version> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <id>generate-scr-srcdescriptor</id> |
| 125 | <goals> |
| 126 | <goal>scr</goal> |
| 127 | </goals> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | <configuration> |
| 131 | <supportedProjectTypes> |
| 132 | <supportedProjectType>bundle</supportedProjectType> |
| 133 | <supportedProjectType>war</supportedProjectType> |
| 134 | </supportedProjectTypes> |
| 135 | </configuration> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.onosproject</groupId> |
| 139 | <artifactId>onos-maven-plugin</artifactId> |
| 140 | <version>1.10</version> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <id>cfg</id> |
| 144 | <phase>generate-resources</phase> |
| 145 | <goals> |
| 146 | <goal>cfg</goal> |
| 147 | </goals> |
| 148 | </execution> |
| 149 | <execution> |
| 150 | <id>swagger</id> |
| 151 | <phase>generate-sources</phase> |
| 152 | <goals> |
| 153 | <goal>swagger</goal> |
| 154 | </goals> |
| 155 | </execution> |
| 156 | <execution> |
| 157 | <id>app</id> |
| 158 | <phase>package</phase> |
| 159 | <goals> |
| 160 | <goal>app</goal> |
| 161 | </goals> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | </plugins> |
| 166 | </build> |
| 167 | </project> |