blob: efc2348ffc260155c6c545f535912a4be5142dcb [file] [log] [blame]
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -08003 ~ Copyright 2016 Open Networking Laboratory
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -07004 ~
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 <groupId>${groupId}</groupId>
21 <artifactId>${artifactId}</artifactId>
22 <version>${version}</version>
23 <packaging>bundle</packaging>
24
Simon Hunt84f4c2a2015-09-23 17:52:45 -070025 <description>ONOS OSGi UI Custom-View bundle archetype</description>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070026 <url>http://onosproject.org</url>
27
28 <properties>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080029 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Brian O'Connor880dc20d2015-12-16 22:53:14 -080030 <onos.version>1.5.0-SNAPSHOT</onos.version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070031 <!-- Uncomment to generate ONOS app from this module.
32 <onos.app.name>org.foo.app</onos.app.name>
33 <onos.app.origin>Foo, Inc.</onos.app.origin>
Jian Lied627a52016-01-19 14:29:18 -080034 <onos.app.category>UI</onos.app.category>
35 <onos.app.url>http://onosproject.org</onos.app.url>
36 <onos.app.readme>ONOS OSGi UI Custom-View bundle archetype.</onos.app.readme>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070037 -->
38 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>org.onosproject</groupId>
43 <artifactId>onos-api</artifactId>
44 <version>${onos.version}</version>
45 </dependency>
46
47 <dependency>
48 <groupId>org.onosproject</groupId>
49 <artifactId>onlab-osgi</artifactId>
50 <version>${onos.version}</version>
51 </dependency>
52
53 <dependency>
54 <groupId>junit</groupId>
55 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080056 <version>4.12</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070057 <scope>test</scope>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onosproject</groupId>
62 <artifactId>onos-api</artifactId>
63 <version>${onos.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>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080071 <version>1.9.12</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070072 <scope>provided</scope>
73 </dependency>
74 </dependencies>
75
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.felix</groupId>
80 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080081 <version>3.0.1</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070082 <extensions>true</extensions>
83 </plugin>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>2.5.1</version>
88 <configuration>
89 <source>1.8</source>
90 <target>1.8</target>
91 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.felix</groupId>
95 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080096 <version>1.21.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070097 <executions>
98 <execution>
99 <id>generate-scr-srcdescriptor</id>
100 <goals>
101 <goal>scr</goal>
102 </goals>
103 </execution>
104 </executions>
105 <configuration>
106 <supportedProjectTypes>
107 <supportedProjectType>bundle</supportedProjectType>
108 <supportedProjectType>war</supportedProjectType>
109 </supportedProjectTypes>
110 </configuration>
111 </plugin>
112 <plugin>
113 <groupId>org.onosproject</groupId>
114 <artifactId>onos-maven-plugin</artifactId>
Jian Li11599162016-01-15 15:46:16 -0800115 <version>1.7</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700116 <executions>
117 <execution>
118 <id>cfg</id>
119 <phase>generate-resources</phase>
120 <goals>
121 <goal>cfg</goal>
122 </goals>
123 </execution>
124 <execution>
Thomas Vachuska8f2d6e02015-08-28 10:29:15 -0700125 <id>swagger</id>
126 <phase>generate-sources</phase>
127 <goals>
128 <goal>swagger</goal>
129 </goals>
130 </execution>
131 <execution>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700132 <id>app</id>
133 <phase>package</phase>
134 <goals>
135 <goal>app</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
140 </plugins>
141 </build>
142
143</project>