blob: af0f8415556b972064c09ad13d0db83591588397 [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>
92 <groupId>com.google.guava</groupId>
93 <artifactId>guava-testlib</artifactId>
94 <scope>test</scope>
95 </dependency>
96
97 <dependency>
98 <groupId>org.onosproject</groupId>
99 <artifactId>onlab-junit</artifactId>
100 <scope>test</scope>
101 </dependency>
102
Naoki Shiota5a056062016-05-05 18:43:59 -0700103 </dependencies>
104
105 <build>
106 <pluginManagement>
107 <plugins>
108 <plugin>
109 <groupId>org.apache.karaf.tooling</groupId>
110 <artifactId>karaf-maven-plugin</artifactId>
111 <extensions>true</extensions>
112 </plugin>
113 </plugins>
114 </pluginManagement>
115 <plugins>
116 <plugin>
117 <groupId>org.apache.felix</groupId>
118 <artifactId>maven-bundle-plugin</artifactId>
119 <extensions>true</extensions>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-compiler-plugin</artifactId>
124 <configuration>
125 <source>1.8</source>
126 <target>1.8</target>
127 </configuration>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-scr-plugin</artifactId>
132 <executions>
133 <execution>
134 <id>generate-scr-srcdescriptor</id>
135 <goals>
136 <goal>scr</goal>
137 </goals>
138 </execution>
139 </executions>
140 <configuration>
141 <supportedProjectTypes>
142 <supportedProjectType>bundle</supportedProjectType>
143 <supportedProjectType>war</supportedProjectType>
144 </supportedProjectTypes>
145 </configuration>
146 </plugin>
147 <plugin>
148 <groupId>org.onosproject</groupId>
149 <artifactId>onos-maven-plugin</artifactId>
150 <executions>
151 <execution>
152 <id>cfg</id>
153 <phase>generate-resources</phase>
154 <goals>
155 <goal>cfg</goal>
156 </goals>
157 </execution>
158 <execution>
159 <id>swagger</id>
160 <phase>generate-sources</phase>
161 <goals>
162 <goal>swagger</goal>
163 </goals>
164 </execution>
165 <execution>
166 <id>app</id>
167 <phase>package</phase>
168 <goals>
169 <goal>app</goal>
170 </goals>
171 </execution>
172 </executions>
173 </plugin>
174 </plugins>
175 </build>
176
177</project>