blob: 19b5101589016e1a967c6f477708b7f03228c963 [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>
hiroki684aa2f2018-05-19 20:48:49 -070079 <dependency>
80 <groupId>org.onosproject</groupId>
81 <artifactId>onos-apps-config</artifactId>
82 <version>${project.version}</version>
83 </dependency>
Yuta HIGUCHIe9df0c42018-05-07 16:24:42 -070084
85 </dependencies>
86
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.apache.felix</groupId>
91 <artifactId>maven-bundle-plugin</artifactId>
92 <extensions>true</extensions>
93 </plugin>
94
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-compiler-plugin</artifactId>
98 </plugin>
99
100 <plugin>
101 <groupId>org.apache.felix</groupId>
102 <artifactId>maven-scr-plugin</artifactId>
103 <executions>
104 <execution>
105 <id>generate-scr-srcdescriptor</id>
106 <goals>
107 <goal>scr</goal>
108 </goals>
109 </execution>
110 </executions>
111 <configuration>
112 <supportedProjectTypes>
113 <supportedProjectType>bundle</supportedProjectType>
114 <supportedProjectType>war</supportedProjectType>
115 </supportedProjectTypes>
116 </configuration>
117 </plugin>
118
119 <plugin>
120 <groupId>org.onosproject</groupId>
121 <artifactId>onos-maven-plugin</artifactId>
122 <executions>
123 <execution>
124 <id>cfg</id>
125 <phase>generate-resources</phase>
126 <goals>
127 <goal>cfg</goal>
128 </goals>
129 </execution>
130 <execution>
131 <id>swagger</id>
132 <phase>generate-sources</phase>
133 <goals>
134 <goal>swagger</goal>
135 </goals>
136 </execution>
137 <execution>
138 <id>app</id>
139 <phase>package</phase>
140 <goals>
141 <goal>app</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148
149</project>