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 | <!-- |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | ~ Copyright 2014 Open Networking Laboratory |
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> |
Brian O'Connor | 1545b1e | 2015-03-11 16:38:23 -0700 | [diff] [blame] | 25 | <version>1.1.0-SNAPSHOT</version> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-features</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 30 | <packaging>pom</packaging> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 31 | |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 32 | <description>ONOS Apache Karaf feature definitions</description> |
| 33 | |
| 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
Brian O'Connor | 992741f | 2014-12-04 00:10:36 -0800 | [diff] [blame] | 37 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 38 | <artifactId>replacer</artifactId> |
| 39 | <version>1.5.3</version> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <phase>prepare-package</phase> |
| 43 | <goals> |
| 44 | <goal>replace</goal> |
| 45 | </goals> |
| 46 | </execution> |
| 47 | </executions> |
| 48 | <configuration> |
| 49 | <file>${pom.basedir}/features.xml</file> |
| 50 | <outputFile>${pom.basedir}/target/features.xml</outputFile> |
| 51 | <replacements> |
| 52 | <replacement> |
| 53 | <token>@ONOS-VERSION</token> |
| 54 | <value>${project.version}</value> |
| 55 | </replacement> |
| 56 | <replacement> |
| 57 | <token>@FEATURE-VERSION</token> |
| 58 | <value>${project.version}</value> |
| 59 | </replacement> |
| 60 | </replacements> |
| 61 | </configuration> |
| 62 | </plugin> |
| 63 | <plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 64 | <groupId>org.codehaus.mojo</groupId> |
| 65 | <artifactId>build-helper-maven-plugin</artifactId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 66 | <version>1.9</version> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 67 | <executions> |
| 68 | <execution> |
| 69 | <id>attach-artifacts</id> |
| 70 | <phase>package</phase> |
| 71 | <goals> |
| 72 | <goal>attach-artifact</goal> |
| 73 | </goals> |
| 74 | <configuration> |
| 75 | <artifacts> |
| 76 | <artifact> |
Brian O'Connor | 992741f | 2014-12-04 00:10:36 -0800 | [diff] [blame] | 77 | <file>target/features.xml</file> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 78 | <type>xml</type> |
| 79 | <classifier>features</classifier> |
| 80 | </artifact> |
| 81 | </artifacts> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | </plugin> |
| 86 | </plugins> |
| 87 | </build> |
| 88 | |
| 89 | </project> |