60605c733eb4271f460abad1ee4edbc2736c2ed6
[odlparent.git] / template-feature-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8  -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>abstract-feature-parent</artifactId>
16         <version>13.0.9-SNAPSHOT</version>
17         <relativePath>../abstract-feature-parent</relativePath>
18     </parent>
19
20     <artifactId>template-feature-parent</artifactId>
21     <packaging>pom</packaging>
22     <name>ODL :: odlparent :: ${project.artifactId}</name>
23
24     <build>
25         <pluginManagement>
26             <plugins>
27                 <plugin>
28                     <groupId>org.opendaylight.odlparent</groupId>
29                     <artifactId>template-feature-plugin</artifactId>
30                     <version>13.0.9-SNAPSHOT</version>
31                 </plugin>
32             </plugins>
33         </pluginManagement>
34
35         <plugins>
36             <plugin>
37                 <groupId>org.opendaylight.odlparent</groupId>
38                 <artifactId>template-feature-plugin</artifactId>
39                 <executions>
40                     <execution>
41                         <id>generate-feature</id>
42                         <goals>
43                             <goal>generate-feature</goal>
44                         </goals>
45                     </execution>
46                 </executions>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.karaf.tooling</groupId>
50                 <artifactId>karaf-maven-plugin</artifactId>
51                 <version>${karaf.version}</version>
52                 <extensions>true</extensions>
53                 <configuration>
54                     <enableGeneration>false</enableGeneration>
55                     <inputFile>${project.build.directory}/feature/templated-feature.xml</inputFile>
56                 </configuration>
57             </plugin>
58         </plugins>
59     </build>
60 </project>