blob: b9ea3b7d8a384716c7a3c11771fcf7851825d133 [file] [log] [blame]
kdarapu97843dc2018-05-10 12:46:32 +05301<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2018 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"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <parent>
22 <groupId>org.onosproject</groupId>
23 <artifactId>onos-apps-nodemetrics</artifactId>
24 <version>1.14.0-SNAPSHOT</version>
25 </parent>
26
27
28 <artifactId>onos-apps-nodemetrics-mgr</artifactId>
29 <packaging>bundle</packaging>
30
31 <description>ONOS nodemetrics API</description>
32 <url>http://onosproject.org</url>
33
34 <properties>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <onos.version>${project.version}</onos.version>
37 </properties>
38
39 <dependencies>
40
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onos-models-openconfig</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46
47
48
49
50 <dependency>
51 <groupId>org.onosproject</groupId>
52 <artifactId>onos-api</artifactId>
53 <scope>test</scope>
54 <classifier>tests</classifier>
55 </dependency>
56 <dependency>
57 <groupId>org.onosproject</groupId>
58 <artifactId>onos-apps-nodemetrics-api</artifactId>
59 <version>1.14.0-SNAPSHOT</version>
60 </dependency>
61 <dependency>
62 <groupId>org.knowhowlab.osgi</groupId>
63 <artifactId>sigar</artifactId>
64 <version>1.6.5_01</version>
65 </dependency>
66 <dependency>
67 <groupId>org.onosproject</groupId>
68 <artifactId>onos-core-serializers</artifactId>
69 <version>1.14.0-SNAPSHOT</version>
70 </dependency>
71 <dependency>
72 <groupId>biz.aQute.bnd</groupId>
73 <artifactId>biz.aQute.bndlib</artifactId>
74 <version>3.5.0</version>
75 </dependency>
76 <dependency>
77 <groupId>org.apache.karaf.shell</groupId>
78 <artifactId>org.apache.karaf.shell.console</artifactId>
79 <version>3.0.8</version>
80 </dependency>
81
82
83 </dependencies>
84
85 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.apache.felix</groupId>
89 <artifactId>maven-bundle-plugin</artifactId>
90 <extensions>true</extensions>
91 </plugin>
92
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 </plugin>
97
98 <plugin>
99 <groupId>org.apache.felix</groupId>
100 <artifactId>maven-scr-plugin</artifactId>
101 <executions>
102 <execution>
103 <id>generate-scr-srcdescriptor</id>
104 <goals>
105 <goal>scr</goal>
106 </goals>
107 </execution>
108 </executions>
109 <configuration>
110 <supportedProjectTypes>
111 <supportedProjectType>bundle</supportedProjectType>
112 <supportedProjectType>war</supportedProjectType>
113 </supportedProjectTypes>
114 </configuration>
115 </plugin>
116
117 <plugin>
118 <groupId>org.onosproject</groupId>
119 <artifactId>onos-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>cfg</id>
123 <phase>generate-resources</phase>
124 <goals>
125 <goal>cfg</goal>
126 </goals>
127 </execution>
128 <execution>
129 <id>swagger</id>
130 <phase>generate-sources</phase>
131 <goals>
132 <goal>swagger</goal>
133 </goals>
134 </execution>
135 <execution>
136 <id>app</id>
137 <phase>package</phase>
138 <goals>
139 <goal>app</goal>
140 </goals>
141 </execution>
142 </executions>
143 </plugin>
144 </plugins>
145 </build>
146
147</project>