blob: 0d251acaf52dca63d730b06b8b9c8e71d88d752c [file] [log] [blame]
Marc De Leenheercaf9eb92015-11-10 16:36:09 +09001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Jian Li7f977082016-03-09 11:18:22 -08003 ~ Copyright 2015-2016 Open Networking Laboratory
Marc De Leenheercaf9eb92015-11-10 16:36:09 +09004 ~
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-app-samples</artifactId>
21 <groupId>org.onosproject</groupId>
Jonathan Hart63ddb742016-01-04 11:20:08 -080022 <version>1.5.0-SNAPSHOT</version>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090023 <relativePath>../../pom.xml</relativePath>
24 </parent>
25
26 <groupId>org.onosproject</groupId>
27 <artifactId>onos-app-ecord-co</artifactId>
Jonathan Hart63ddb742016-01-04 11:20:08 -080028 <version>1.5.0-SNAPSHOT</version>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090029 <packaging>bundle</packaging>
30
31 <description>Enterprise CORD for Central Office</description>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090032
33 <properties>
Jonathan Hart63ddb742016-01-04 11:20:08 -080034 <onos.version>1.5.0-SNAPSHOT</onos.version>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090035 <onos.app.name>org.onosproject.ecord.co</onos.app.name>
Jian Li7f977082016-03-09 11:18:22 -080036 <onos.app.origin>ON.Lab</onos.app.origin>
37 <onos.app.title>Enterprise CORD App</onos.app.title>
38 <onos.app.category>Utility</onos.app.category>
39 <onos.app.url>http://onosproject.org</onos.app.url>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -080040 <!-- TODO App dependency not working? -->
41 <onos.app.requires>org.onosproject.incubator.rpc,org.onosproject.incubator.rpc.grpc</onos.app.requires>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090042 </properties>
43
44 <dependencies>
45 <dependency>
46 <groupId>org.onosproject</groupId>
47 <artifactId>onos-api</artifactId>
48 <version>${onos.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>org.onosproject</groupId>
53 <artifactId>onlab-osgi</artifactId>
54 <version>${onos.version}</version>
55 </dependency>
56
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onos-core-dist</artifactId>
60 <version>${onos.version}</version>
61 </dependency>
62
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090066 <scope>test</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.onosproject</groupId>
71 <artifactId>onos-api</artifactId>
72 <version>${onos.version}</version>
73 <scope>test</scope>
74 <classifier>tests</classifier>
75 </dependency>
76
77 <dependency>
78 <groupId>org.apache.felix</groupId>
79 <artifactId>org.apache.felix.scr.annotations</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090080 <scope>provided</scope>
81 </dependency>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -080082
83 <dependency>
84 <groupId>org.apache.commons</groupId>
85 <artifactId>commons-lang3</artifactId>
86 </dependency>
87
88 <dependency>
89 <groupId>org.onosproject</groupId>
90 <artifactId>onlab-misc</artifactId>
91 </dependency>
92
93 <dependency>
94 <groupId>com.google.guava</groupId>
95 <artifactId>guava</artifactId>
96 </dependency>
97
98 <dependency>
99 <groupId>org.glassfish.jersey.core</groupId>
100 <artifactId>jersey-client</artifactId>
101 <version>2.22.1</version>
102 </dependency>
Naoki Shiotaf16fb6d2015-12-17 14:19:36 -0800103
104 <dependency>
105 <groupId>org.osgi</groupId>
106 <artifactId>org.osgi.compendium</artifactId>
107 <version>4.3.1</version>
108 <scope>provided</scope>
109 </dependency>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900110 </dependencies>
111
112 <build>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -0800113 <pluginManagement>
114 <plugins>
115 <plugin>
116 <groupId>org.apache.karaf.tooling</groupId>
117 <artifactId>karaf-maven-plugin</artifactId>
118 <version>3.0.5</version>
119 <extensions>true</extensions>
120 </plugin>
121 </plugins>
122 </pluginManagement>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900123 <plugins>
124 <plugin>
125 <groupId>org.apache.felix</groupId>
126 <artifactId>maven-bundle-plugin</artifactId>
127 <version>2.5.3</version>
128 <extensions>true</extensions>
129 </plugin>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-compiler-plugin</artifactId>
133 <version>2.5.1</version>
134 <configuration>
135 <source>1.8</source>
136 <target>1.8</target>
137 </configuration>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.felix</groupId>
141 <artifactId>maven-scr-plugin</artifactId>
142 <version>1.20.0</version>
143 <executions>
144 <execution>
145 <id>generate-scr-srcdescriptor</id>
146 <goals>
147 <goal>scr</goal>
148 </goals>
149 </execution>
150 </executions>
151 <configuration>
152 <supportedProjectTypes>
153 <supportedProjectType>bundle</supportedProjectType>
154 <supportedProjectType>war</supportedProjectType>
155 </supportedProjectTypes>
156 </configuration>
157 </plugin>
158 <plugin>
159 <groupId>org.onosproject</groupId>
160 <artifactId>onos-maven-plugin</artifactId>
Jian Li7f977082016-03-09 11:18:22 -0800161 <version>1.9</version>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900162 <executions>
163 <execution>
164 <id>cfg</id>
165 <phase>generate-resources</phase>
166 <goals>
167 <goal>cfg</goal>
168 </goals>
169 </execution>
170 <execution>
171 <id>swagger</id>
172 <phase>generate-sources</phase>
173 <goals>
174 <goal>swagger</goal>
175 </goals>
176 </execution>
177 <execution>
178 <id>app</id>
179 <phase>package</phase>
180 <goals>
181 <goal>app</goal>
182 </goals>
183 </execution>
184 </executions>
185 </plugin>
186 </plugins>
187 </build>
188
189</project>