blob: 62a687a80beb1b51715b66d8eb0858f587c775ef [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" 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-nodemetrics</artifactId>
ONOS Jenkins Userf09ad742018-10-23 23:30:10 +000023 <version>1.14.2-SNAPSHOT</version>
kdarapu97843dc2018-05-10 12:46:32 +053024 </parent>
25
26
27 <artifactId>onos-apps-nodemetrics-api</artifactId>
28 <packaging>bundle</packaging>
29
30 <description>ONOS Nodemetrics API</description>
31 <url>http://onosproject.org</url>
32
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <onos.version>${project.version}</onos.version>
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>org.onosproject</groupId>
41 <artifactId>onos-api</artifactId>
42 <scope>test</scope>
43 <classifier>tests</classifier>
44 </dependency>
45
46 </dependencies>
47
48 <build>
49 <plugins>
50 <plugin>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>maven-bundle-plugin</artifactId>
53 <extensions>true</extensions>
54 </plugin>
55
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
59 </plugin>
60
61 <plugin>
62 <groupId>org.apache.felix</groupId>
63 <artifactId>maven-scr-plugin</artifactId>
64 <executions>
65 <execution>
66 <id>generate-scr-srcdescriptor</id>
67 <goals>
68 <goal>scr</goal>
69 </goals>
70 </execution>
71 </executions>
72 <configuration>
73 <supportedProjectTypes>
74 <supportedProjectType>bundle</supportedProjectType>
75 <supportedProjectType>war</supportedProjectType>
76 </supportedProjectTypes>
77 </configuration>
78 </plugin>
79
80 <plugin>
81 <groupId>org.onosproject</groupId>
82 <artifactId>onos-maven-plugin</artifactId>
83 <executions>
84 <execution>
85 <id>cfg</id>
86 <phase>generate-resources</phase>
87 <goals>
88 <goal>cfg</goal>
89 </goals>
90 </execution>
91 <execution>
92 <id>swagger</id>
93 <phase>generate-sources</phase>
94 <goals>
95 <goal>swagger</goal>
96 </goals>
97 </execution>
98 <execution>
99 <id>app</id>
100 <phase>package</phase>
101 <goals>
102 <goal>app</goal>
103 </goals>
104 </execution>
105 </executions>
106 </plugin>
107 </plugins>
108 </build>
109
110</project>