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