blob: 8619f92e0958d05e4019c62f35abbb829d9d971b [file] [log] [blame]
HIGUCHI Yuta279b8d12015-11-04 10:58:06 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2015 Open Networking Laboratory
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 <parent>
20 <artifactId>onos-incubator</artifactId>
21 <groupId>org.onosproject</groupId>
Brian O'Connor905ea222015-12-04 23:59:23 -080022 <version>1.4.0-SNAPSHOT</version>
HIGUCHI Yuta279b8d12015-11-04 10:58:06 -080023 </parent>
24
25 <artifactId>onos-incubator-rpc</artifactId>
26 <packaging>bundle</packaging>
27
28 <description>ONOS inter-cluster RPC service</description>
29 <url>http://onosproject.org</url>
30
31 <properties>
32 <onos.app.name>org.onosproject.incubator.rpc</onos.app.name>
33 </properties>
34
35 <dependencies>
36 <dependency>
37 <groupId>org.onosproject</groupId>
38 <artifactId>onos-api</artifactId>
39 </dependency>
40
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onlab-osgi</artifactId>
44 </dependency>
45
46 <dependency>
47 <groupId>junit</groupId>
48 <artifactId>junit</artifactId>
49 <scope>test</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onos-api</artifactId>
55 <scope>test</scope>
56 <classifier>tests</classifier>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-incubator-api</artifactId>
62 </dependency>
63
64 <dependency>
65 <groupId>org.apache.felix</groupId>
66 <artifactId>org.apache.felix.scr.annotations</artifactId>
67 <scope>provided</scope>
68 </dependency>
69
70 </dependencies>
71
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <extensions>true</extensions>
78 </plugin>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <configuration>
83 <source>1.8</source>
84 <target>1.8</target>
85 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.apache.felix</groupId>
89 <artifactId>maven-scr-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>generate-scr-srcdescriptor</id>
93 <goals>
94 <goal>scr</goal>
95 </goals>
96 </execution>
97 </executions>
98 <configuration>
99 <supportedProjectTypes>
100 <supportedProjectType>bundle</supportedProjectType>
101 <supportedProjectType>war</supportedProjectType>
102 </supportedProjectTypes>
103 </configuration>
104 </plugin>
105 <plugin>
106 <groupId>org.onosproject</groupId>
107 <artifactId>onos-maven-plugin</artifactId>
108 <executions>
109 <execution>
110 <id>cfg</id>
111 <phase>generate-resources</phase>
112 <goals>
113 <goal>cfg</goal>
114 </goals>
115 </execution>
116 <execution>
117 <id>swagger</id>
118 <phase>generate-sources</phase>
119 <goals>
120 <goal>swagger</goal>
121 </goals>
122 </execution>
123 <execution>
124 <id>app</id>
125 <phase>package</phase>
126 <goals>
127 <goal>app</goal>
128 </goals>
129 </execution>
130 </executions>
131 </plugin>
132 </plugins>
133 </build>
134
135</project>