blob: e6be4e661822234501f91b140f683145abe98d08 [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
Brian O'Connor68498e22016-01-04 14:02:03 -080036 <!-- FIXME this is necessary until snmp moves to release artifacts ONOS-3646 -->
37 <repositories>
38 <repository>
39 <id>snapshot</id>
40 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
41 </repository>
42 </repositories>
43
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080044 <build>
45 <plugins>
46 <plugin>
47 <artifactId>maven-antrun-plugin</artifactId>
48 <version>1.8</version>
49 <executions>
50 <execution>
51 <phase>generate-sources</phase>
52 <configuration>
53 <target>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080054 <exec executable="python">
55 <arg value="${basedir}/onos-assembly.py"/>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080056 </exec>
57 </target>
58 </configuration>
59 <goals>
60 <goal>run</goal>
61 </goals>
62 </execution>
63 </executions>
64 </plugin>
65 <plugin>
66 <groupId>org.apache.karaf.tooling</groupId>
67 <artifactId>karaf-maven-plugin</artifactId>
68 <version>3.0.3</version>
69
70 <executions>
71 <execution>
72 <id>features-add-to-repo</id>
73 <phase>generate-resources</phase>
74 <goals>
75 <goal>features-add-to-repository</goal>
76 </goals>
77 <configuration>
78 <descriptors>
79 <descriptor>file:${basedir}/target/staged-repos.xml</descriptor>
80 </descriptors>
81 <features>
Brian O'Connore6ff7f02015-12-02 15:01:12 -080082 <feature>onos-uber-synthetic</feature>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080083 </features>
84 <repository>target/repo</repository>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 </plugins>
90 </build>
91
92</project>