blob: 861750ae1f7c54537b1d30667c45bb865d1bf239 [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>
Jian Lied627a52016-01-19 14:29:18 -080035 <onos.app.category>UI</onos.app.category>
36 <onos.app.url>http://onosproject.org</onos.app.url>
37 <onos.app.readme>ONOS OSGi UI Topology-View bundle archetype.</onos.app.readme>
Simon Hunt1ee09852015-09-29 12:28:14 -070038 -->
39 </properties>
40
41 <dependencies>
42 <dependency>
43 <groupId>org.onosproject</groupId>
44 <artifactId>onos-api</artifactId>
45 <version>${onos.version}</version>
46 </dependency>
47
48 <dependency>
49 <groupId>org.onosproject</groupId>
50 <artifactId>onlab-osgi</artifactId>
51 <version>${onos.version}</version>
52 </dependency>
53
54 <dependency>
55 <groupId>junit</groupId>
56 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080057 <version>4.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070058 <scope>test</scope>
59 </dependency>
60
61 <dependency>
62 <groupId>org.onosproject</groupId>
63 <artifactId>onos-api</artifactId>
64 <version>${onos.version}</version>
65 <scope>test</scope>
66 <classifier>tests</classifier>
67 </dependency>
68
69 <dependency>
70 <groupId>org.apache.felix</groupId>
71 <artifactId>org.apache.felix.scr.annotations</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080072 <version>1.9.12</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070073 <scope>provided</scope>
74 </dependency>
75 </dependencies>
76
77 <build>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.felix</groupId>
81 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080082 <version>3.0.1</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070083 <extensions>true</extensions>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>2.5.1</version>
89 <configuration>
90 <source>1.8</source>
91 <target>1.8</target>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.apache.felix</groupId>
96 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080097 <version>1.21.0</version>
Simon Hunt1ee09852015-09-29 12:28:14 -070098 <executions>
99 <execution>
100 <id>generate-scr-srcdescriptor</id>
101 <goals>
102 <goal>scr</goal>
103 </goals>
104 </execution>
105 </executions>
106 <configuration>
107 <supportedProjectTypes>
108 <supportedProjectType>bundle</supportedProjectType>
109 <supportedProjectType>war</supportedProjectType>
110 </supportedProjectTypes>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.onosproject</groupId>
115 <artifactId>onos-maven-plugin</artifactId>
116 <version>1.5</version>
117 <executions>
118 <execution>
119 <id>cfg</id>
120 <phase>generate-resources</phase>
121 <goals>
122 <goal>cfg</goal>
123 </goals>
124 </execution>
125 <execution>
126 <id>swagger</id>
127 <phase>generate-sources</phase>
128 <goals>
129 <goal>swagger</goal>
130 </goals>
131 </execution>
132 <execution>
133 <id>app</id>
134 <phase>package</phase>
135 <goals>
136 <goal>app</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143
144</project>