blob: e2c86dba4177aaa22b0f12251eceaf1ccbb14e1a [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>
Ray Milkey78ce4002018-08-10 11:16:44 -070025 <version>1.14.0-b1</version>
Thomas Vachuskaf25c2482018-06-12 13:18:45 -070026 <relativePath>../../../pom.xml</relativePath>
tom09419512014-08-15 11:28:43 -070027 </parent>
28
29 <artifactId>onos-features</artifactId>
tom0eb04ca2014-08-25 14:34:51 -070030 <packaging>pom</packaging>
tom09419512014-08-15 11:28:43 -070031
tom09419512014-08-15 11:28:43 -070032 <description>ONOS Apache Karaf feature definitions</description>
33
34 <build>
35 <plugins>
36 <plugin>
Brian O'Connor992741f2014-12-04 00:10:36 -080037 <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>
tom09419512014-08-15 11:28:43 -070064 <groupId>org.codehaus.mojo</groupId>
65 <artifactId>build-helper-maven-plugin</artifactId>
tom0eb04ca2014-08-25 14:34:51 -070066 <version>1.9</version>
tom09419512014-08-15 11:28:43 -070067 <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'Connor992741f2014-12-04 00:10:36 -080077 <file>target/features.xml</file>
tom09419512014-08-15 11:28:43 -070078 <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>