blob: 74da2e2efc475cc54fa0743c3fb0e9925fe6baf8 [file] [log] [blame]
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -08003 ~ Copyright 2016 Open Networking Laboratory
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -08004 ~
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
25 <description>ONOS OSGi bundle archetype</description>
26 <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 Vachuskafc7f22d2014-12-04 11:07:01 -080031 </properties>
32
33 <dependencies>
34 <dependency>
35 <groupId>org.onosproject</groupId>
36 <artifactId>onos-api</artifactId>
37 <version>${onos.version}</version>
38 </dependency>
39
40 <dependency>
41 <groupId>org.onosproject</groupId>
42 <artifactId>onlab-osgi</artifactId>
43 <version>${onos.version}</version>
44 </dependency>
45
46 <dependency>
47 <groupId>junit</groupId>
48 <artifactId>junit</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080049 <version>4.12</version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080050 <scope>test</scope>
51 </dependency>
52
53 <dependency>
54 <groupId>org.onosproject</groupId>
55 <artifactId>onos-cli</artifactId>
56 <version>${onos.version}</version>
57 <scope>provided</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.osgi</groupId>
70 <artifactId>org.osgi.core</artifactId>
71 <version>4.3.1</version>
72 <scope>provided</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>org.apache.felix.scr.annotations</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080077 <version>1.9.12</version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080078 <scope>provided</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.apache.karaf.shell</groupId>
82 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -070083 <version>3.0.3</version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080084 <scope>provided</scope>
85 </dependency>
86 </dependencies>
87
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-bundle-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -080093 <version>3.0.1</version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080094 <extensions>true</extensions>
95 </plugin>
Brian O'Connor0b351912014-12-11 14:40:31 -080096 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>2.5.1</version>
100 <configuration>
101 <source>1.8</source>
102 <target>1.8</target>
103 </configuration>
104 </plugin>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -0800105 <plugin>
106 <groupId>org.apache.felix</groupId>
107 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -0800108 <version>1.21.0</version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -0800109 <executions>
110 <execution>
111 <id>generate-scr-srcdescriptor</id>
112 <goals>
113 <goal>scr</goal>
114 </goals>
115 </execution>
116 </executions>
117 <configuration>
118 <supportedProjectTypes>
119 <supportedProjectType>bundle</supportedProjectType>
120 <supportedProjectType>war</supportedProjectType>
121 </supportedProjectTypes>
122 </configuration>
123 </plugin>
124 </plugins>
125 </build>
126
127</project>