Version bump for master after cutting of stable/lithium branch
[openflowplugin.git] / extension / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.openflowplugin</groupId>
6     <artifactId>openflowplugin-extension-parent</artifactId>
7     <version>0.2.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin-extension</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <karaf.empty.distro.version>1.6.0-SNAPSHOT</karaf.empty.distro.version>
17   </properties>
18
19   <dependencies>
20     <!-- feature dependencies -->
21     <dependency>
22       <groupId>org.opendaylight.openflowplugin</groupId>
23       <artifactId>features-openflowplugin</artifactId>
24       <classifier>features</classifier>
25       <type>xml</type>
26     </dependency>
27
28     <!-- bundle dependencies -->
29     <dependency>
30       <groupId>org.opendaylight.openflowplugin</groupId>
31       <artifactId>openflowplugin-extension-api</artifactId>
32     </dependency>
33
34     <!-- Nicira extensions -->
35     <dependency>
36       <groupId>org.opendaylight.openflowplugin</groupId>
37       <artifactId>openflowplugin-extension-nicira-config</artifactId>
38       <type>xml</type>
39       <classifier>config</classifier>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.openflowplugin</groupId>
43       <artifactId>openflowplugin-extension-nicira</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.openflowplugin</groupId>
47       <artifactId>openflowjava-extension-nicira-api</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.openflowplugin</groupId>
51       <artifactId>openflowjava-extension-nicira</artifactId>
52     </dependency>
53
54     <!-- test the features.xml -->
55     <dependency>
56       <groupId>org.opendaylight.odlparent</groupId>
57       <artifactId>features-test</artifactId>
58     </dependency>
59     <!-- dependency for opendaylight-karaf-empty for use by testing -->
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>opendaylight-karaf-empty</artifactId>
63       <version>${karaf.distro.empty.version}</version>
64       <type>zip</type>
65     </dependency>
66   </dependencies>
67
68   <build>
69     <resources>
70       <resource>
71         <filtering>true</filtering>
72         <directory>src/main/resources</directory>
73       </resource>
74     </resources>
75     <plugins>
76       <plugin>
77         <groupId>org.apache.maven.plugins</groupId>
78         <artifactId>maven-resources-plugin</artifactId>
79         <executions>
80           <execution>
81             <id>filter</id>
82             <goals>
83               <goal>resources</goal>
84             </goals>
85             <phase>generate-resources</phase>
86           </execution>
87         </executions>
88       </plugin>
89       <plugin>
90         <groupId>org.codehaus.mojo</groupId>
91         <artifactId>build-helper-maven-plugin</artifactId>
92         <executions>
93           <execution>
94             <id>attach-artifacts</id>
95             <goals>
96               <goal>attach-artifact</goal>
97             </goals>
98             <phase>package</phase>
99             <configuration>
100               <artifacts>
101                 <artifact>
102                   <file>${project.build.directory}/classes/${features.file}</file>
103                   <type>xml</type>
104                   <classifier>features</classifier>
105                 </artifact>
106               </artifacts>
107             </configuration>
108           </execution>
109         </executions>
110       </plugin>
111       <plugin>
112         <groupId>org.apache.maven.plugins</groupId>
113         <artifactId>maven-surefire-plugin</artifactId>
114         <version>2.16</version>
115         <configuration>
116           <systemPropertyVariables>
117             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
118             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
119             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
120           </systemPropertyVariables>
121           <dependenciesToScan>
122            <dependency>org.opendaylight.odlparent:features-test</dependency>
123           </dependenciesToScan>
124         </configuration>
125       </plugin>
126     </plugins>
127   </build>
128
129 </project>