blob: 944d373e621f53c615f37187fceaf430b40aba9c [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>
34 -->
35 </properties>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.onosproject</groupId>
40 <artifactId>onos-api</artifactId>
41 <version>${onos.version}</version>
42 </dependency>
43
44 <dependency>
45 <groupId>org.onosproject</groupId>
46 <artifactId>onlab-osgi</artifactId>
47 <version>${onos.version}</version>
48 </dependency>
49
50 <dependency>
51 <groupId>junit</groupId>
52 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080053 <version>4.12</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070054 <scope>test</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.onosproject</groupId>
59 <artifactId>onos-api</artifactId>
60 <version>${onos.version}</version>
61 <scope>test</scope>
62 <classifier>tests</classifier>
63 </dependency>
64
65 <dependency>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>org.apache.felix.scr.annotations</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080068 <version>1.9.12</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070069 <scope>provided</scope>
70 </dependency>
71 </dependencies>
72
73 <build>
74 <plugins>
75 <plugin>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080078 <version>3.0.1</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070079 <extensions>true</extensions>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-compiler-plugin</artifactId>
84 <version>2.5.1</version>
85 <configuration>
86 <source>1.8</source>
87 <target>1.8</target>
88 </configuration>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080093 <version>1.21.0</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070094 <executions>
95 <execution>
96 <id>generate-scr-srcdescriptor</id>
97 <goals>
98 <goal>scr</goal>
99 </goals>
100 </execution>
101 </executions>
102 <configuration>
103 <supportedProjectTypes>
104 <supportedProjectType>bundle</supportedProjectType>
105 <supportedProjectType>war</supportedProjectType>
106 </supportedProjectTypes>
107 </configuration>
108 </plugin>
109 <plugin>
110 <groupId>org.onosproject</groupId>
111 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorbd60cfd2015-09-05 00:06:28 -0700112 <version>1.5</version>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700113 <executions>
114 <execution>
115 <id>cfg</id>
116 <phase>generate-resources</phase>
117 <goals>
118 <goal>cfg</goal>
119 </goals>
120 </execution>
121 <execution>
Thomas Vachuska8f2d6e02015-08-28 10:29:15 -0700122 <id>swagger</id>
123 <phase>generate-sources</phase>
124 <goals>
125 <goal>swagger</goal>
126 </goals>
127 </execution>
128 <execution>
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -0700129 <id>app</id>
130 <phase>package</phase>
131 <goals>
132 <goal>app</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
139
140</project>