tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 2 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 3 | ~ Copyright 2014-present Open Networking Foundation |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 4 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 8 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 16 | --> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 23 | <groupId>org.onosproject</groupId> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 24 | <artifactId>onos</artifactId> |
Ray Milkey | baa74b0 | 2017-08-16 15:04:45 -0700 | [diff] [blame^] | 25 | <version>1.11.0-rc1</version> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 26 | </parent> |
| 27 | |
| 28 | <artifactId>onos-features</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 29 | <packaging>pom</packaging> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 30 | |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 31 | <description>ONOS Apache Karaf feature definitions</description> |
| 32 | |
| 33 | <build> |
| 34 | <plugins> |
| 35 | <plugin> |
Brian O'Connor | 992741f | 2014-12-04 00:10:36 -0800 | [diff] [blame] | 36 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 37 | <artifactId>replacer</artifactId> |
| 38 | <version>1.5.3</version> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <phase>prepare-package</phase> |
| 42 | <goals> |
| 43 | <goal>replace</goal> |
| 44 | </goals> |
| 45 | </execution> |
| 46 | </executions> |
| 47 | <configuration> |
| 48 | <file>${pom.basedir}/features.xml</file> |
| 49 | <outputFile>${pom.basedir}/target/features.xml</outputFile> |
| 50 | <replacements> |
| 51 | <replacement> |
| 52 | <token>@ONOS-VERSION</token> |
| 53 | <value>${project.version}</value> |
| 54 | </replacement> |
| 55 | <replacement> |
| 56 | <token>@FEATURE-VERSION</token> |
| 57 | <value>${project.version}</value> |
| 58 | </replacement> |
| 59 | </replacements> |
| 60 | </configuration> |
| 61 | </plugin> |
| 62 | <plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 63 | <groupId>org.codehaus.mojo</groupId> |
| 64 | <artifactId>build-helper-maven-plugin</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 65 | <version>1.9</version> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 66 | <executions> |
| 67 | <execution> |
| 68 | <id>attach-artifacts</id> |
| 69 | <phase>package</phase> |
| 70 | <goals> |
| 71 | <goal>attach-artifact</goal> |
| 72 | </goals> |
| 73 | <configuration> |
| 74 | <artifacts> |
| 75 | <artifact> |
Brian O'Connor | 992741f | 2014-12-04 00:10:36 -0800 | [diff] [blame] | 76 | <file>target/features.xml</file> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 77 | <type>xml</type> |
| 78 | <classifier>features</classifier> |
| 79 | </artifact> |
| 80 | </artifacts> |
| 81 | </configuration> |
| 82 | </execution> |
| 83 | </executions> |
| 84 | </plugin> |
| 85 | </plugins> |
| 86 | </build> |
| 87 | |
| 88 | </project> |