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