blob: d200a2f11b3997d02c1eb0c819c264278504c5c2 [file] [log] [blame]
Harshada Chaundkare1dc3552019-01-17 16:36:50 -05001<?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 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <artifactId>onos-apps-packet-stats</artifactId>
23 <groupId>org.onosproject</groupId>
24 <version>1.12.2-SNAPSHOT</version>
25 </parent>
26
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-apps-packet-stats-app</artifactId>
29 <version>1.12.2-SNAPSHOT</version>
30 <packaging>bundle</packaging>
31
32 <description>ONOS OSGi bundle archetype</description>
33 <url>http://onosproject.org</url>
34
35 <properties>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <onos.version>1.12.2-SNAPSHOT</onos.version>
38 <onos.app.name>org.onosproject.packetstats</onos.app.name>
39 <onos.app.title>onos-apps-packet-stats-app</onos.app.title>
40 <onos.app.origin>Raleigh, NC Comcast</onos.app.origin>
41 <onos.app.category>protocols</onos.app.category>
42 <onos.app.url>http://onosproject.org</onos.app.url>
43 <onos.app.readme>ONOS OSGi bundle archetype.</onos.app.readme>
44 </properties>
45
46 <dependencies>
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-incubator-api</artifactId>
50 <version>1.9.0</version>
51 </dependency>
52 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onlab-osgi</artifactId>
55 <version>${onos.version}</version>
56 </dependency>
57 <dependency>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <version>4.12</version>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.onosproject</groupId>
65 <artifactId>onos-cli</artifactId>
66 <version>${onos.version}</version>
67 <scope>provided</scope>
68 </dependency>
69 <dependency>
70 <groupId>org.onosproject</groupId>
71 <artifactId>onos-apps-route-service-app</artifactId>
72 <version>${onos.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>org.onosproject</groupId>
76 <artifactId>onlab-misc</artifactId>
77 <version>${onos.version}</version>
78 </dependency>
79
80 <dependency>
81 <groupId>org.osgi</groupId>
82 <artifactId>org.osgi.core</artifactId>
83 <version>5.0.0</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.karaf.shell</groupId>
88 <artifactId>org.apache.karaf.shell.console</artifactId>
89 <version>3.0.8</version>
90 <scope>provided</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.easymock</groupId>
94 <artifactId>easymock</artifactId>
95 <version>3.4</version>
96 </dependency>
97 <dependency>
98 <groupId>org.apache.felix</groupId>
99 <artifactId>org.apache.felix.scr.annotations</artifactId>
100 <version>1.9.12</version>
101 <scope>provided</scope>
102 </dependency>
103 <dependency>
104 <groupId>org.onosproject</groupId>
105 <artifactId>onos-core-serializers</artifactId>
106 <version>${project.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.onosproject</groupId>
110 <artifactId>onos-apps-route-service-api</artifactId>
111 <version>${project.version}</version>
112 </dependency>
113 </dependencies>
114
115 <build>
116 <plugins>
117 <plugin>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>maven-bundle-plugin</artifactId>
120 <version>3.0.1</version>
121 <extensions>true</extensions>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>2.5.1</version>
127 <configuration>
128 <source>1.8</source>
129 <target>1.8</target>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.felix</groupId>
134 <artifactId>maven-scr-plugin</artifactId>
135 <version>1.21.0</version>
136 <executions>
137 <execution>
138 <id>generate-scr-srcdescriptor</id>
139 <goals>
140 <goal>scr</goal>
141 </goals>
142 </execution>
143 </executions>
144 <configuration>
145 <supportedProjectTypes>
146 <supportedProjectType>bundle</supportedProjectType>
147 <supportedProjectType>war</supportedProjectType>
148 </supportedProjectTypes>
149 </configuration>
150 </plugin>
151 <plugin>
152 <groupId>org.onosproject</groupId>
153 <artifactId>onos-maven-plugin</artifactId>
154 <version>1.10</version>
155 <executions>
156 <execution>
157 <id>cfg</id>
158 <phase>generate-resources</phase>
159 <goals>
160 <goal>cfg</goal>
161 </goals>
162 </execution>
163 <execution>
164 <id>swagger</id>
165 <phase>generate-sources</phase>
166 <goals>
167 <goal>swagger</goal>
168 </goals>
169 </execution>
170 <execution>
171 <id>app</id>
172 <phase>package</phase>
173 <goals>
174 <goal>app</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179 </plugins>
180 </build>
181</project>