blob: 9c29d480f549b86f2b8485c7fbd4a17756353a54 [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>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080022 <version>1.9.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>
Yuta HIGUCHI4d474072016-12-13 18:17:45 -080028 <version>1.9.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>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090034 <onos.app.name>org.onosproject.ecord.co</onos.app.name>
Jian Li7f977082016-03-09 11:18:22 -080035 <onos.app.origin>ON.Lab</onos.app.origin>
36 <onos.app.title>Enterprise CORD App</onos.app.title>
37 <onos.app.category>Utility</onos.app.category>
38 <onos.app.url>http://onosproject.org</onos.app.url>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -080039 <!-- TODO App dependency not working? -->
fra3b9d3322016-08-04 14:27:23 +020040 <onos.app.requires>org.onosproject.incubator.rpc,org.onosproject.incubator.rpc.grpc,org.onosproject.optical-model</onos.app.requires>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090041 </properties>
42
43 <dependencies>
44 <dependency>
45 <groupId>org.onosproject</groupId>
Yuta HIGUCHI7805c5e2016-12-15 19:12:59 -080046 <artifactId>onos-apps-optical</artifactId>
fra3b9d3322016-08-04 14:27:23 +020047 <version>${onos.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>org.onosproject</groupId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090051 <artifactId>onos-api</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090052 </dependency>
53
54 <dependency>
55 <groupId>org.onosproject</groupId>
56 <artifactId>onlab-osgi</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090057 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-core-dist</artifactId>
62 <version>${onos.version}</version>
63 </dependency>
64
65 <dependency>
66 <groupId>junit</groupId>
67 <artifactId>junit</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090068 <scope>test</scope>
69 </dependency>
70
71 <dependency>
72 <groupId>org.onosproject</groupId>
73 <artifactId>onos-api</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090074 <scope>test</scope>
75 <classifier>tests</classifier>
76 </dependency>
77
78 <dependency>
79 <groupId>org.apache.felix</groupId>
80 <artifactId>org.apache.felix.scr.annotations</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +090081 <scope>provided</scope>
82 </dependency>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -080083
84 <dependency>
85 <groupId>org.apache.commons</groupId>
86 <artifactId>commons-lang3</artifactId>
87 </dependency>
88
89 <dependency>
90 <groupId>org.onosproject</groupId>
91 <artifactId>onlab-misc</artifactId>
92 </dependency>
93
94 <dependency>
95 <groupId>com.google.guava</groupId>
96 <artifactId>guava</artifactId>
97 </dependency>
98
99 <dependency>
100 <groupId>org.glassfish.jersey.core</groupId>
101 <artifactId>jersey-client</artifactId>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -0800102 </dependency>
Naoki Shiotaf16fb6d2015-12-17 14:19:36 -0800103
104 <dependency>
105 <groupId>org.osgi</groupId>
106 <artifactId>org.osgi.compendium</artifactId>
Naoki Shiotaf16fb6d2015-12-17 14:19:36 -0800107 <scope>provided</scope>
108 </dependency>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900109 </dependencies>
110
111 <build>
HIGUCHI Yuta1ed0da22015-12-15 15:11:13 -0800112 <pluginManagement>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.karaf.tooling</groupId>
116 <artifactId>karaf-maven-plugin</artifactId>
117 <version>3.0.5</version>
118 <extensions>true</extensions>
119 </plugin>
120 </plugins>
121 </pluginManagement>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900122 <plugins>
123 <plugin>
124 <groupId>org.apache.felix</groupId>
125 <artifactId>maven-bundle-plugin</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900126 <extensions>true</extensions>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-compiler-plugin</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900131 <configuration>
132 <source>1.8</source>
133 <target>1.8</target>
134 </configuration>
135 </plugin>
136 <plugin>
137 <groupId>org.apache.felix</groupId>
138 <artifactId>maven-scr-plugin</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900139 <executions>
140 <execution>
141 <id>generate-scr-srcdescriptor</id>
142 <goals>
143 <goal>scr</goal>
144 </goals>
145 </execution>
146 </executions>
147 <configuration>
148 <supportedProjectTypes>
149 <supportedProjectType>bundle</supportedProjectType>
150 <supportedProjectType>war</supportedProjectType>
151 </supportedProjectTypes>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.onosproject</groupId>
156 <artifactId>onos-maven-plugin</artifactId>
Marc De Leenheercaf9eb92015-11-10 16:36:09 +0900157 <executions>
158 <execution>
159 <id>cfg</id>
160 <phase>generate-resources</phase>
161 <goals>
162 <goal>cfg</goal>
163 </goals>
164 </execution>
165 <execution>
166 <id>swagger</id>
167 <phase>generate-sources</phase>
168 <goals>
169 <goal>swagger</goal>
170 </goals>
171 </execution>
172 <execution>
173 <id>app</id>
174 <phase>package</phase>
175 <goals>
176 <goal>app</goal>
177 </goals>
178 </execution>
179 </executions>
180 </plugin>
181 </plugins>
182 </build>
183
184</project>