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