blob: d99567d93dc74300dee1e415fa73639162de3c3f [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-api</artifactId>
55 <version>${onos.version}</version>
56 <scope>test</scope>
57 <classifier>tests</classifier>
58 </dependency>
59
60 <dependency>
61 <groupId>org.apache.felix</groupId>
62 <artifactId>org.apache.felix.scr.annotations</artifactId>
63 <version>1.9.8</version>
64 <scope>provided</scope>
65 </dependency>
66 </dependencies>
67
68 <build>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>maven-bundle-plugin</artifactId>
73 <version>2.5.3</version>
74 <extensions>true</extensions>
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.felix</groupId>
79 <artifactId>maven-scr-plugin</artifactId>
80 <version>1.20.0</version>
81 <executions>
82 <execution>
83 <id>generate-scr-srcdescriptor</id>
84 <goals>
85 <goal>scr</goal>
86 </goals>
87 </execution>
88 </executions>
89 <configuration>
90 <supportedProjectTypes>
91 <supportedProjectType>bundle</supportedProjectType>
92 <supportedProjectType>war</supportedProjectType>
93 </supportedProjectTypes>
94 </configuration>
95 </plugin>
96 </plugins>
97 </build>
98
99</project>