blob: c3f2dfb0db274cc645f23f971fa34bd9209a7591 [file] [log] [blame]
Naoki Shiota16b7abf2016-02-22 20:50:02 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016 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 --><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">
17 <modelVersion>4.0.0</modelVersion>
18
19 <parent>
20 <artifactId>onos-app-samples</artifactId>
21 <groupId>org.onosproject</groupId>
22 <version>1.6.0-SNAPSHOT</version>
23 <relativePath>../../pom.xml</relativePath>
24 </parent>
25
26 <artifactId>onos-app-ecord-metro</artifactId>
27 <version>1.6.0-SNAPSHOT</version>
28 <packaging>bundle</packaging>
29
30 <description>Enterprise CORD for metro network</description>
31 <url>http://onosproject.org</url>
32
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <onos.version>1.6.0-SNAPSHOT</onos.version>
36 <onos.app.name>org.onosproject.ecord.metro</onos.app.name>
37 <!-- TODO App dependency not working? -->
38 <onos.app.requires>org.onosproject.incubator.rpc,org.onosproject.incubator.rpc.grpc</onos.app.requires>
39 <onos.app.origin>Open Networking Lab</onos.app.origin>
40 </properties>
41
42 <dependencies>
43 <dependency>
44 <groupId>org.onosproject</groupId>
45 <artifactId>onos-api</artifactId>
46 <version>${onos.version}</version>
47 </dependency>
48
49 <dependency>
50 <groupId>org.onosproject</groupId>
51 <artifactId>onos-core-dist</artifactId>
52 <version>${onos.version}</version>
53 </dependency>
54
55 <dependency>
56 <groupId>junit</groupId>
57 <artifactId>junit</artifactId>
58 <version>4.12</version>
59 <scope>test</scope>
60 </dependency>
61
62 <dependency>
63 <groupId>org.onosproject</groupId>
64 <artifactId>onos-api</artifactId>
65 <version>${onos.version}</version>
66 <scope>test</scope>
67 <classifier>tests</classifier>
68 </dependency>
69
70 <dependency>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>org.apache.felix.scr.annotations</artifactId>
73 <version>1.9.12</version>
74 <scope>provided</scope>
75 </dependency>
76
77 <dependency>
78 <groupId>org.osgi</groupId>
79 <artifactId>org.osgi.compendium</artifactId>
80 <version>4.3.1</version>
81 <scope>provided</scope>
82 </dependency>
83
84 <dependency>
85 <groupId>org.apache.karaf.shell</groupId>
86 <artifactId>org.apache.karaf.shell.console</artifactId>
87 <scope>provided</scope>
88 </dependency>
89
90 <dependency>
91 <groupId>org.onosproject</groupId>
92 <artifactId>onos-cli</artifactId>
93 <version>${onos.version}</version>
94 </dependency>
95
96 </dependencies>
97
98 <build>
99 <pluginManagement>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.karaf.tooling</groupId>
103 <artifactId>karaf-maven-plugin</artifactId>
104 <version>3.0.5</version>
105 <extensions>true</extensions>
106 </plugin>
107 </plugins>
108 </pluginManagement>
109 <plugins>
110 <plugin>
111 <groupId>org.apache.felix</groupId>
112 <artifactId>maven-bundle-plugin</artifactId>
113 <version>2.5.3</version>
114 <extensions>true</extensions>
115 </plugin>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-compiler-plugin</artifactId>
119 <version>2.5.1</version>
120 <configuration>
121 <source>1.8</source>
122 <target>1.8</target>
123 </configuration>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.felix</groupId>
127 <artifactId>maven-scr-plugin</artifactId>
128 <version>1.20.0</version>
129 <executions>
130 <execution>
131 <id>generate-scr-srcdescriptor</id>
132 <goals>
133 <goal>scr</goal>
134 </goals>
135 </execution>
136 </executions>
137 <configuration>
138 <supportedProjectTypes>
139 <supportedProjectType>bundle</supportedProjectType>
140 <supportedProjectType>war</supportedProjectType>
141 </supportedProjectTypes>
142 </configuration>
143 </plugin>
144 <plugin>
145 <groupId>org.onosproject</groupId>
146 <artifactId>onos-maven-plugin</artifactId>
147 <version>1.5</version>
148 <executions>
149 <execution>
150 <id>cfg</id>
151 <phase>generate-resources</phase>
152 <goals>
153 <goal>cfg</goal>
154 </goals>
155 </execution>
156 <execution>
157 <id>swagger</id>
158 <phase>generate-sources</phase>
159 <goals>
160 <goal>swagger</goal>
161 </goals>
162 </execution>
163 <execution>
164 <id>app</id>
165 <phase>package</phase>
166 <goals>
167 <goal>app</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
172 </plugins>
173 </build>
174
175</project>