Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 1 | <?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'Connor | 372658e | 2015-12-04 23:17:41 -0800 | [diff] [blame] | 25 | <artifactId>onos-base</artifactId> |
| 26 | <version>1</version> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 27 | </parent> |
| 28 | |
Brian O'Connor | 372658e | 2015-12-04 23:17:41 -0800 | [diff] [blame] | 29 | <groupId>org.onosproject</groupId> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 30 | <artifactId>onos-assembly</artifactId> |
Brian O'Connor | 372658e | 2015-12-04 23:17:41 -0800 | [diff] [blame] | 31 | <version>1.0</version> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 32 | <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'Connor | e6ff7f0 | 2015-12-02 15:01:12 -0800 | [diff] [blame] | 46 | <exec executable="python"> |
| 47 | <arg value="${basedir}/onos-assembly.py"/> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 48 | </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'Connor | e6ff7f0 | 2015-12-02 15:01:12 -0800 | [diff] [blame] | 74 | <feature>onos-uber-synthetic</feature> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 75 | </features> |
| 76 | <repository>target/repo</repository> |
| 77 | </configuration> |
| 78 | </execution> |
| 79 | </executions> |
| 80 | </plugin> |
| 81 | </plugins> |
| 82 | </build> |
| 83 | |
| 84 | </project> |