blob: 13821f70a9b5aecef65834b8fcd897807f38f15e [file] [log] [blame]
Naoki Shiota5a056062016-05-05 18:43:59 -07001<?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 -->
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 <artifactId>onos-apps</artifactId>
22 <groupId>org.onosproject</groupId>
Brian O'Connore642f7c2016-05-23 18:33:04 -070023 <version>1.7.0-SNAPSHOT</version>
Naoki Shiota5a056062016-05-05 18:43:59 -070024 </parent>
25
26 <artifactId>onos-app-newoptical</artifactId>
27 <packaging>bundle</packaging>
28
29 <description>Application for setup optical network</description>
30 <url>http://onosproject.org</url>
31
32 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <onos.app.name>org.onosproject.newoptical</onos.app.name>
35 <onos.app.category>Traffic Steering</onos.app.category>
Marc De Leenheer051bd422016-06-06 16:51:31 -070036 <onos.app.url>https://wiki.onosproject.org/display/ONOS/Packet+Optical+Convergence</onos.app.url>
37 <onos.app.origin>ON.Lab</onos.app.origin>
Naoki Shiota5a056062016-05-05 18:43:59 -070038 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onos-api</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onos-core-dist</artifactId>
50 <version>${project.version}</version>
51 </dependency>
52
53 <dependency>
54 <groupId>junit</groupId>
55 <artifactId>junit</artifactId>
56 <scope>test</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-api</artifactId>
62 <version>${project.version}</version>
63 <scope>test</scope>
64 <classifier>tests</classifier>
65 </dependency>
66
67 <dependency>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>org.apache.felix.scr.annotations</artifactId>
70 <scope>provided</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>org.osgi</groupId>
75 <artifactId>org.osgi.compendium</artifactId>
76 <scope>provided</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.apache.karaf.shell</groupId>
81 <artifactId>org.apache.karaf.shell.console</artifactId>
82 <scope>provided</scope>
83 </dependency>
84
85 <dependency>
86 <groupId>org.onosproject</groupId>
87 <artifactId>onos-cli</artifactId>
88 <version>${project.version}</version>
89 </dependency>
90
Naoki Shiota03c29e12016-05-16 16:58:07 -070091 <dependency>
Naoki Shiota7c3111b2016-06-09 16:12:11 -070092 <groupId>org.onosproject</groupId>
93 <artifactId>onos-core-serializers</artifactId>
94 <version>${project.version}</version>
95 </dependency>
96
97 <dependency>
Naoki Shiota03c29e12016-05-16 16:58:07 -070098 <groupId>com.google.guava</groupId>
99 <artifactId>guava-testlib</artifactId>
100 <scope>test</scope>
101 </dependency>
102
103 <dependency>
104 <groupId>org.onosproject</groupId>
105 <artifactId>onlab-junit</artifactId>
106 <scope>test</scope>
107 </dependency>
108
Naoki Shiota5a056062016-05-05 18:43:59 -0700109 </dependencies>
110
111 <build>
112 <pluginManagement>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.karaf.tooling</groupId>
116 <artifactId>karaf-maven-plugin</artifactId>
117 <extensions>true</extensions>
118 </plugin>
119 </plugins>
120 </pluginManagement>
121 <plugins>
122 <plugin>
123 <groupId>org.apache.felix</groupId>
124 <artifactId>maven-bundle-plugin</artifactId>
125 <extensions>true</extensions>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-compiler-plugin</artifactId>
130 <configuration>
131 <source>1.8</source>
132 <target>1.8</target>
133 </configuration>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>maven-scr-plugin</artifactId>
138 <executions>
139 <execution>
140 <id>generate-scr-srcdescriptor</id>
141 <goals>
142 <goal>scr</goal>
143 </goals>
144 </execution>
145 </executions>
146 <configuration>
147 <supportedProjectTypes>
148 <supportedProjectType>bundle</supportedProjectType>
149 <supportedProjectType>war</supportedProjectType>
150 </supportedProjectTypes>
151 </configuration>
152 </plugin>
153 <plugin>
154 <groupId>org.onosproject</groupId>
155 <artifactId>onos-maven-plugin</artifactId>
156 <executions>
157 <execution>
158 <id>cfg</id>
159 <phase>generate-resources</phase>
160 <goals>
161 <goal>cfg</goal>
162 </goals>
163 </execution>
164 <execution>
165 <id>swagger</id>
166 <phase>generate-sources</phase>
167 <goals>
168 <goal>swagger</goal>
169 </goals>
170 </execution>
171 <execution>
172 <id>app</id>
173 <phase>package</phase>
174 <goals>
175 <goal>app</goal>
176 </goals>
177 </execution>
178 </executions>
179 </plugin>
180 </plugins>
181 </build>
182
183</project>