blob: 1d971fccd728376a715f01f8173592bab39676cb [file] [log] [blame]
Yuta HIGUCHIe9df0c42018-05-07 16:24:42 -07001<?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-odtn</artifactId>
23 <version>1.14.0-SNAPSHOT</version>
24 </parent>
25
26
27 <artifactId>onos-apps-odtn-api</artifactId>
28 <packaging>bundle</packaging>
29
30 <description>ONOS ODTN 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
40 <dependency>
41 <groupId>org.onosproject</groupId>
42 <artifactId>onos-yang-runtime</artifactId>
43 </dependency>
44
45 <dependency>
46 <groupId>org.onosproject</groupId>
47 <artifactId>onos-models-tapi</artifactId>
48 <version>${project.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onos-models-openconfig</artifactId>
54 <version>${project.version}</version>
55 </dependency>
56
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onos-api</artifactId>
60 </dependency>
61
62 <dependency>
63 <groupId>org.onosproject</groupId>
64 <artifactId>onlab-osgi</artifactId>
65 </dependency>
66
67 <dependency>
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
70 <scope>test</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>org.onosproject</groupId>
75 <artifactId>onos-api</artifactId>
76 <scope>test</scope>
77 <classifier>tests</classifier>
78 </dependency>
79
80 </dependencies>
81
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.felix</groupId>
86 <artifactId>maven-bundle-plugin</artifactId>
87 <extensions>true</extensions>
88 </plugin>
89
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-compiler-plugin</artifactId>
93 </plugin>
94
95 <plugin>
96 <groupId>org.apache.felix</groupId>
97 <artifactId>maven-scr-plugin</artifactId>
98 <executions>
99 <execution>
100 <id>generate-scr-srcdescriptor</id>
101 <goals>
102 <goal>scr</goal>
103 </goals>
104 </execution>
105 </executions>
106 <configuration>
107 <supportedProjectTypes>
108 <supportedProjectType>bundle</supportedProjectType>
109 <supportedProjectType>war</supportedProjectType>
110 </supportedProjectTypes>
111 </configuration>
112 </plugin>
113
114 <plugin>
115 <groupId>org.onosproject</groupId>
116 <artifactId>onos-maven-plugin</artifactId>
117 <executions>
118 <execution>
119 <id>cfg</id>
120 <phase>generate-resources</phase>
121 <goals>
122 <goal>cfg</goal>
123 </goals>
124 </execution>
125 <execution>
126 <id>swagger</id>
127 <phase>generate-sources</phase>
128 <goals>
129 <goal>swagger</goal>
130 </goals>
131 </execution>
132 <execution>
133 <id>app</id>
134 <phase>package</phase>
135 <goals>
136 <goal>app</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143
144</project>