blob: 4b47c0d1977e3887d9f33c8456293e7c27f0c778 [file] [log] [blame]
Thomas Vachuska8c9ee812015-11-24 17:29:37 -08001<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4 ~ Copyright 2014-2015 Open Networking Laboratory
5 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 -->
18<project xmlns="http://maven.apache.org/POM/4.0.0"
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
24 <groupId>org.onosproject</groupId>
Brian O'Connor372658e2015-12-04 23:17:41 -080025 <artifactId>onos-base</artifactId>
26 <version>1</version>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080027 </parent>
28
Brian O'Connor372658e2015-12-04 23:17:41 -080029 <groupId>org.onosproject</groupId>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080030 <artifactId>onos-assembly</artifactId>
Brian O'Connor372658e2015-12-04 23:17:41 -080031 <version>1.0</version>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080032 <packaging>pom</packaging>
33
34 <description>ONOS Apache Karaf assembly definitions</description>
35
36 <build>
37 <plugins>
38 <plugin>
39 <artifactId>maven-antrun-plugin</artifactId>
40 <version>1.8</version>
41 <executions>
42 <execution>
43 <phase>generate-sources</phase>
44 <configuration>
45 <target>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080046 <exec executable="python">
47 <arg value="${basedir}/onos-assembly.py"/>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080048 </exec>
49 </target>
50 </configuration>
51 <goals>
52 <goal>run</goal>
53 </goals>
54 </execution>
55 </executions>
56 </plugin>
57 <plugin>
58 <groupId>org.apache.karaf.tooling</groupId>
59 <artifactId>karaf-maven-plugin</artifactId>
60 <version>3.0.3</version>
61
62 <executions>
63 <execution>
64 <id>features-add-to-repo</id>
65 <phase>generate-resources</phase>
66 <goals>
67 <goal>features-add-to-repository</goal>
68 </goals>
69 <configuration>
70 <descriptors>
71 <descriptor>file:${basedir}/target/staged-repos.xml</descriptor>
72 </descriptors>
73 <features>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080074 <feature>onos-uber-synthetic</feature>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080075 </features>
76 <repository>target/repo</repository>
77 </configuration>
78 </execution>
79 </executions>
80 </plugin>
81 </plugins>
82 </build>
83
84</project>