Bump versions to 8.0.1-SNAPSHOT
[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>8.0.1-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         <skip.karaf.featureTest>true</skip.karaf.featureTest>
39         <jacoco.skip>true</jacoco.skip>
40     </properties>
41
42     <dependencies>
43         <!-- Test the generated features.xml -->
44         <dependency>
45             <groupId>org.opendaylight.odlparent</groupId>
46             <artifactId>features-test</artifactId>
47             <version>8.0.1-SNAPSHOT</version>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.odlparent</groupId>
52             <artifactId>bundles-test-lib</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.apache.karaf.bundle</groupId>
57             <artifactId>org.apache.karaf.bundle.core</artifactId>
58             <version>${karaf.version}</version>
59             <scope>test</scope>
60         </dependency>
61         <!-- Force SLF4J to test scope -->
62         <dependency>
63             <groupId>org.slf4j</groupId>
64             <artifactId>slf4j-api</artifactId>
65             <scope>test</scope>
66         </dependency>
67     </dependencies>
68
69     <build>
70         <plugins>
71             <plugin>
72                 <!-- This generates the META-INF/maven/dependencies.properties file
73                      which is required by the versionAsInProject() used in SingleFeatureTest -->
74                 <groupId>org.apache.servicemix.tooling</groupId>
75                 <artifactId>depends-maven-plugin</artifactId>
76             </plugin>
77             <plugin>
78                 <artifactId>maven-surefire-plugin</artifactId>
79                 <configuration>
80                     <skip>${skip.karaf.featureTest}</skip>
81                     <dependenciesToScan>
82                         <dependency>org.opendaylight.odlparent:features-test</dependency>
83                     </dependenciesToScan>
84                     <additionalClasspathElements>
85                         <additionalClasspathElement>${project.build.directory}/feature</additionalClasspathElement>
86                     </additionalClasspathElements>
87                 </configuration>
88                 <executions>
89                     <execution>
90                         <phase>test</phase>
91                         <goals>
92                             <goal>test</goal>
93                         </goals>
94                     </execution>
95                 </executions>
96             </plugin>
97             <plugin>
98                 <groupId>org.apache.karaf.tooling</groupId>
99                 <artifactId>karaf-maven-plugin</artifactId>
100                 <extensions>true</extensions>
101                 <configuration>
102                     <enableGeneration>true</enableGeneration>
103                 </configuration>
104             </plugin>
105         </plugins>
106         <pluginManagement>
107           <plugins>
108             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
109             <plugin>
110               <groupId>org.eclipse.m2e</groupId>
111               <artifactId>lifecycle-mapping</artifactId>
112               <version>1.0.0</version>
113               <configuration>
114                 <lifecycleMappingMetadata>
115                   <pluginExecutions>
116                     <pluginExecution>
117                       <pluginExecutionFilter>
118                         <groupId>org.apache.karaf.tooling</groupId>
119                         <artifactId>karaf-maven-plugin</artifactId>
120                         <versionRange>[4.1.5,)</versionRange>
121                         <goals>
122                           <goal>verify</goal>
123                         </goals>
124                       </pluginExecutionFilter>
125                       <action>
126                         <ignore></ignore>
127                       </action>
128                     </pluginExecution>
129                   </pluginExecutions>
130                 </lifecycleMappingMetadata>
131               </configuration>
132             </plugin>
133           </plugins>
134         </pluginManagement>
135     </build>
136
137 </project>