blob: 26e53e47d6145a3e8558b19a9f243ac68a4c4cba [file] [log] [blame]
tom09419512014-08-15 11:28:43 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska781d18b2014-10-27 10:31:25 -07002<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2014-present Open Networking Foundation
Thomas Vachuska781d18b2014-10-27 10:31:25 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -070016 -->
tom09419512014-08-15 11:28:43 -070017<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'Connorabafb502014-12-02 22:26:20 -080023 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070024 <artifactId>onos</artifactId>
ONOS Jenkins User385b01a2018-10-04 20:12:07 +000025 <version>1.12.2-SNAPSHOT</version>
tom09419512014-08-15 11:28:43 -070026 </parent>
27
28 <artifactId>onos-features</artifactId>
tom0eb04ca2014-08-25 14:34:51 -070029 <packaging>pom</packaging>
tom09419512014-08-15 11:28:43 -070030
tom09419512014-08-15 11:28:43 -070031 <description>ONOS Apache Karaf feature definitions</description>
32
33 <build>
34 <plugins>
35 <plugin>
Brian O'Connor992741f2014-12-04 00:10:36 -080036 <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>
tom09419512014-08-15 11:28:43 -070063 <groupId>org.codehaus.mojo</groupId>
64 <artifactId>build-helper-maven-plugin</artifactId>
tom0eb04ca2014-08-25 14:34:51 -070065 <version>1.9</version>
tom09419512014-08-15 11:28:43 -070066 <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'Connor992741f2014-12-04 00:10:36 -080076 <file>target/features.xml</file>
tom09419512014-08-15 11:28:43 -070077 <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>