blob: 5ff9687481d1dbcf10d981116f50b16843195a41 [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'Connor4d08aa82016-06-18 00:45:34 -070023 <version>1.6.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>
36 <onos.app.url>http://onosproject.org</onos.app.url>
37 <onos.app.origin>Open Networking Lab</onos.app.origin>
38 </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>
Naoki Shiota5a056062016-05-05 18:43:59 -070049 <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
91 </dependencies>
92
93 <build>
94 <pluginManagement>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.karaf.tooling</groupId>
98 <artifactId>karaf-maven-plugin</artifactId>
99 <extensions>true</extensions>
100 </plugin>
101 </plugins>
102 </pluginManagement>
103 <plugins>
104 <plugin>
105 <groupId>org.apache.felix</groupId>
106 <artifactId>maven-bundle-plugin</artifactId>
107 <extensions>true</extensions>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <configuration>
113 <source>1.8</source>
114 <target>1.8</target>
115 </configuration>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>maven-scr-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>generate-scr-srcdescriptor</id>
123 <goals>
124 <goal>scr</goal>
125 </goals>
126 </execution>
127 </executions>
128 <configuration>
129 <supportedProjectTypes>
130 <supportedProjectType>bundle</supportedProjectType>
131 <supportedProjectType>war</supportedProjectType>
132 </supportedProjectTypes>
133 </configuration>
134 </plugin>
135 <plugin>
136 <groupId>org.onosproject</groupId>
137 <artifactId>onos-maven-plugin</artifactId>
138 <executions>
139 <execution>
140 <id>cfg</id>
141 <phase>generate-resources</phase>
142 <goals>
143 <goal>cfg</goal>
144 </goals>
145 </execution>
146 <execution>
147 <id>swagger</id>
148 <phase>generate-sources</phase>
149 <goals>
150 <goal>swagger</goal>
151 </goals>
152 </execution>
153 <execution>
154 <id>app</id>
155 <phase>package</phase>
156 <goals>
157 <goal>app</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162 </plugins>
163 </build>
164
165</project>