Remove unnecessery osgi version processing
[odlparent.git] / feature-repo-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2016 Red Hat, Inc. 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
14     <!--
15          Base parent POM for building, packaging and testing Karaf feature repositories.
16          Karaf features are generated based on the POM dependencies; they can be supplemented by a base
17          feature.xml file in src/main/feature.
18
19          Users should do the following:
20
21          - specify this as their parent
22          - make sure the packaging is set to feature
23          - specify features to be provided in the repository by depending on them in the project <dependencies/>
24     -->
25
26     <parent>
27         <groupId>org.opendaylight.odlparent</groupId>
28         <artifactId>odlparent</artifactId>
29         <version>13.1.3-SNAPSHOT</version>
30         <relativePath>../odlparent</relativePath>
31     </parent>
32
33     <artifactId>feature-repo-parent</artifactId>
34     <packaging>pom</packaging>
35     <name>ODL :: odlparent :: ${project.artifactId}</name>
36
37     <properties>
38         <sft.skip>true</sft.skip>
39         <jacoco.skip>true</jacoco.skip>
40
41         <!-- We typically do not have code in feature artifacts, which throws off maven-dependency-plugin -->
42         <odlparent.dependency.skip>true</odlparent.dependency.skip>
43
44         <!-- See https://issues.apache.org/jira/browse/MINSTALL-151 -->
45         <allowIncompleteProjects>true</allowIncompleteProjects>
46     </properties>
47
48     <build>
49         <plugins>
50             <!-- execute SFT -->
51             <plugin>
52                 <groupId>org.opendaylight.odlparent</groupId>
53                 <artifactId>features-test-plugin</artifactId>
54                 <extensions>false</extensions>
55                 <configuration>
56                     <concurrent>false</concurrent>
57                 </configuration>
58                 <executions>
59                     <execution>
60                         <phase>test</phase>
61                         <goals>
62                             <goal>test</goal>
63                         </goals>
64                     </execution>
65                 </executions>
66             </plugin>
67             <plugin>
68                 <groupId>org.apache.karaf.tooling</groupId>
69                 <artifactId>karaf-maven-plugin</artifactId>
70                 <extensions>true</extensions>
71                 <configuration>
72                     <enableGeneration>true</enableGeneration>
73                 </configuration>
74             </plugin>
75         </plugins>
76         <pluginManagement>
77             <plugins>
78                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
79                 <plugin>
80                     <groupId>org.eclipse.m2e</groupId>
81                     <artifactId>lifecycle-mapping</artifactId>
82                     <version>1.0.0</version>
83                     <configuration>
84                         <lifecycleMappingMetadata>
85                             <pluginExecutions>
86                                 <pluginExecution>
87                                     <pluginExecutionFilter>
88                                         <groupId>org.apache.karaf.tooling</groupId>
89                                         <artifactId>karaf-maven-plugin</artifactId>
90                                         <versionRange>[4.1.5,)</versionRange>
91                                         <goals>
92                                             <goal>verify</goal>
93                                         </goals>
94                                     </pluginExecutionFilter>
95                                     <action>
96                                         <ignore></ignore>
97                                     </action>
98                                 </pluginExecution>
99                             </pluginExecutions>
100                         </lifecycleMappingMetadata>
101                     </configuration>
102                 </plugin>
103                 <plugin>
104                     <groupId>org.opendaylight.odlparent</groupId>
105                     <artifactId>features-test-plugin</artifactId>
106                     <version>13.1.3-SNAPSHOT</version>
107                 </plugin>
108             </plugins>
109         </pluginManagement>
110     </build>
111
112 </project>