blob: fcfa8b520a0255e418904b7488706c6b76f48615 [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>
Brian O'Connor6ea48a22015-03-17 20:07:20 -070029 <onos.version>1.2.0-SNAPSHOT</onos.version>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080030 </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>
Brian O'Connor0b351912014-12-11 14:40:31 -080076 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <version>2.5.1</version>
80 <configuration>
81 <source>1.8</source>
82 <target>1.8</target>
83 </configuration>
84 </plugin>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080085 <plugin>
86 <groupId>org.apache.felix</groupId>
87 <artifactId>maven-scr-plugin</artifactId>
88 <version>1.20.0</version>
89 <executions>
90 <execution>
91 <id>generate-scr-srcdescriptor</id>
92 <goals>
93 <goal>scr</goal>
94 </goals>
95 </execution>
96 </executions>
97 <configuration>
98 <supportedProjectTypes>
99 <supportedProjectType>bundle</supportedProjectType>
100 <supportedProjectType>war</supportedProjectType>
101 </supportedProjectTypes>
102 </configuration>
103 </plugin>
Thomas Vachuska3ad8d4b2015-04-27 10:52:08 -0700104 <plugin>
105 <groupId>org.onosproject</groupId>
106 <artifactId>onos-maven-plugin</artifactId>
107 <version>1.4-SNAPSHOT</version>
108 <executions>
109 <execution>
110 <id>cfg</id>
111 <phase>generate-resources</phase>
112 <goals>
113 <goal>cfg</goal>
114 </goals>
115 </execution>
116 <execution>
117 <id>app</id>
118 <phase>package</phase>
119 <goals>
120 <goal>app</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -0800125 </plugins>
126 </build>
127
128</project>