blob: 1ffc6130f120cb4ff142638ccb0848c9a46f3850 [file] [log] [blame]
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
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>
29 <onos.version>1.0.0-SNAPSHOT</onos.version>
30 </properties>
31
32 <dependencies>
33 <dependency>
34 <groupId>org.onosproject</groupId>
35 <artifactId>onos-api</artifactId>
36 <version>${onos.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>org.onosproject</groupId>
41 <artifactId>onlab-osgi</artifactId>
42 <version>${onos.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>junit</groupId>
47 <artifactId>junit</artifactId>
48 <version>4.11</version>
49 <scope>test</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.onosproject</groupId>
54 <artifactId>onos-cli</artifactId>
55 <version>${onos.version}</version>
56 <scope>provided</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>org.onosproject</groupId>
61 <artifactId>onos-api</artifactId>
62 <version>${onos.version}</version>
63 <scope>test</scope>
64 <classifier>tests</classifier>
65 </dependency>
66
67 <dependency>
68 <groupId>org.osgi</groupId>
69 <artifactId>org.osgi.core</artifactId>
70 <version>4.3.1</version>
71 <scope>provided</scope>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>org.apache.felix.scr.annotations</artifactId>
76 <version>1.9.8</version>
77 <scope>provided</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.karaf.shell</groupId>
81 <artifactId>org.apache.karaf.shell.console</artifactId>
82 <version>3.0.2</version>
83 <scope>provided</scope>
84 </dependency>
85 </dependencies>
86
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.apache.felix</groupId>
91 <artifactId>maven-bundle-plugin</artifactId>
92 <version>2.5.3</version>
93 <extensions>true</extensions>
94 </plugin>
95
96 <plugin>
97 <groupId>org.apache.felix</groupId>
98 <artifactId>maven-scr-plugin</artifactId>
99 <version>1.20.0</version>
100 <executions>
101 <execution>
102 <id>generate-scr-srcdescriptor</id>
103 <goals>
104 <goal>scr</goal>
105 </goals>
106 </execution>
107 </executions>
108 <configuration>
109 <supportedProjectTypes>
110 <supportedProjectType>bundle</supportedProjectType>
111 <supportedProjectType>war</supportedProjectType>
112 </supportedProjectTypes>
113 </configuration>
114 </plugin>
115 </plugins>
116 </build>
117
118</project>