Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 4 | ~ Copyright 2015-present Open Networking Laboratory |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 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 | |
Brian O'Connor | 68498e2 | 2016-01-04 14:02:03 -0800 | [diff] [blame] | 36 | <!-- 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 Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 44 | <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'Connor | e6ff7f0 | 2015-12-02 15:01:12 -0800 | [diff] [blame] | 54 | <exec executable="python"> |
| 55 | <arg value="${basedir}/onos-assembly.py"/> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 56 | </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> |
Jon Hall | b84df5d | 2017-01-31 11:19:48 -0800 | [diff] [blame] | 68 | <version>3.0.8</version> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 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'Connor | e6ff7f0 | 2015-12-02 15:01:12 -0800 | [diff] [blame] | 82 | <feature>onos-uber-synthetic</feature> |
Thomas Vachuska | 8c9ee81 | 2015-11-24 17:29:37 -0800 | [diff] [blame] | 83 | </features> |
| 84 | <repository>target/repo</repository> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | </plugins> |
| 90 | </build> |
| 91 | |
| 92 | </project> |