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