blob: 38a3df4e8c620c698604f640b83e6cdbeb398040 [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>
25 <artifactId>onos</artifactId>
26 <version>1.4.0-SNAPSHOT</version>
27 <relativePath>../../../pom.xml</relativePath>
28 </parent>
29
30 <artifactId>onos-assembly</artifactId>
31 <packaging>pom</packaging>
32
33 <description>ONOS Apache Karaf assembly definitions</description>
34
35 <build>
36 <plugins>
37 <plugin>
38 <artifactId>maven-antrun-plugin</artifactId>
39 <version>1.8</version>
40 <executions>
41 <execution>
42 <phase>generate-sources</phase>
43 <configuration>
44 <target>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080045 <exec executable="python">
46 <arg value="${basedir}/onos-assembly.py"/>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080047 </exec>
48 </target>
49 </configuration>
50 <goals>
51 <goal>run</goal>
52 </goals>
53 </execution>
54 </executions>
55 </plugin>
56 <plugin>
57 <groupId>org.apache.karaf.tooling</groupId>
58 <artifactId>karaf-maven-plugin</artifactId>
59 <version>3.0.3</version>
60
61 <executions>
62 <execution>
63 <id>features-add-to-repo</id>
64 <phase>generate-resources</phase>
65 <goals>
66 <goal>features-add-to-repository</goal>
67 </goals>
68 <configuration>
69 <descriptors>
70 <descriptor>file:${basedir}/target/staged-repos.xml</descriptor>
71 </descriptors>
72 <features>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080073 <feature>onos-uber-synthetic</feature>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080074 </features>
75 <repository>target/repo</repository>
76 </configuration>
77 </execution>
78 </executions>
79 </plugin>
80 </plugins>
81 </build>
82
83</project>