blob: 281f3a77b65abb0e76cb99af59f8e3af0f8a250b [file] [log] [blame]
Simon Hunt1ee09852015-09-29 12:28:14 -07001<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -08004 ~ Copyright 2016 Open Networking Laboratory
Simon Hunt1ee09852015-09-29 12:28:14 -07005 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 -->
18<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">
19 <modelVersion>4.0.0</modelVersion>
20
21 <groupId>${groupId}</groupId>
22 <artifactId>${artifactId}</artifactId>
23 <version>${version}</version>
24 <packaging>bundle</packaging>
25
26 <description>ONOS OSGi UI Topology-Overlay bundle archetype</description>
27 <url>http://onosproject.org</url>
28
29 <properties>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080030 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Brian O'Connor880dc20d2015-12-16 22:53:14 -080031 <onos.version>1.5.0-SNAPSHOT</onos.version>
Simon Hunt1ee09852015-09-29 12:28:14 -070032 <!-- Uncomment to generate ONOS app from this module.
33 <onos.app.name>org.foo.app</onos.app.name>
34 <onos.app.origin>Foo, Inc.</onos.app.origin>
35 -->
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>org.onosproject</groupId>
41 <artifactId>onos-api</artifactId>
42 <version>${onos.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>org.onosproject</groupId>
47 <artifactId>onlab-osgi</artifactId>
48 <version>${onos.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080054 <version>4.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070055 <scope>test</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>org.onosproject</groupId>
60 <artifactId>onos-api</artifactId>
61 <version>${onos.version}</version>
62 <scope>test</scope>
63 <classifier>tests</classifier>
64 </dependency>
65
66 <dependency>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>org.apache.felix.scr.annotations</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080069 <version>1.9.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070070 <scope>provided</scope>
71 </dependency>
72 </dependencies>
73
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080079 <version>3.0.1</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070080 <extensions>true</extensions>
81 </plugin>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-compiler-plugin</artifactId>
85 <version>2.5.1</version>
86 <configuration>
87 <source>1.8</source>
88 <target>1.8</target>
89 </configuration>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080094 <version>1.21.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070095 <executions>
96 <execution>
97 <id>generate-scr-srcdescriptor</id>
98 <goals>
99 <goal>scr</goal>
100 </goals>
101 </execution>
102 </executions>
103 <configuration>
104 <supportedProjectTypes>
105 <supportedProjectType>bundle</supportedProjectType>
106 <supportedProjectType>war</supportedProjectType>
107 </supportedProjectTypes>
108 </configuration>
109 </plugin>
110 <plugin>
111 <groupId>org.onosproject</groupId>
112 <artifactId>onos-maven-plugin</artifactId>
113 <version>1.5</version>
114 <executions>
115 <execution>
116 <id>cfg</id>
117 <phase>generate-resources</phase>
118 <goals>
119 <goal>cfg</goal>
120 </goals>
121 </execution>
122 <execution>
123 <id>swagger</id>
124 <phase>generate-sources</phase>
125 <goals>
126 <goal>swagger</goal>
127 </goals>
128 </execution>
129 <execution>
130 <id>app</id>
131 <phase>package</phase>
132 <goals>
133 <goal>app</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138 </plugins>
139 </build>
140
141</project>