Bug 1764 - added karaf settings for os-switch-config-pusher
[openflowplugin.git] / 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-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <karaf.empty.distro.version>1.5.0-SNAPSHOT</karaf.empty.distro.version>
17     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
18   </properties>
19
20   <dependencies>
21     <!-- feature dependencies -->
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>features-mdsal</artifactId>
25       <version>${mdsal.version}</version>
26       <classifier>features</classifier>
27       <type>xml</type>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>features-restconf</artifactId>
32       <version>${mdsal.version}</version>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.openflowjava</groupId>
38       <artifactId>features-openflowjava</artifactId>
39       <version>${openflowjava.version}</version>
40       <classifier>features</classifier>
41       <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>features-flow</artifactId>
46       <version>${mdsal.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.dlux</groupId>
52       <artifactId>features-dlux</artifactId>
53       <version>${dlux.version}</version>
54       <classifier>features</classifier>
55       <type>xml</type>
56     </dependency>
57
58     <!-- bundle dependencies -->
59     <dependency>
60       <groupId>org.opendaylight.openflowplugin</groupId>
61       <artifactId>openflowplugin-api</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.openflowplugin</groupId>
66       <artifactId>openflowplugin-extension-api</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.openflowplugin</groupId>
71       <artifactId>openflowplugin</artifactId>
72       <version>${project.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.openflowplugin.applications</groupId>
76       <artifactId>table-miss-enforcer</artifactId>
77       <version>${project.version}</version>
78     </dependency>
79       <dependency>
80           <groupId>org.opendaylight.openflowplugin.applications</groupId>
81           <artifactId>of-switch-config-pusher</artifactId>
82           <version>${project.version}</version>
83       </dependency>
84     <dependency>
85       <groupId>org.opendaylight.openflowplugin</groupId>
86       <artifactId>drop-test-karaf</artifactId>
87       <version>${project.version}</version>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.openflowplugin</groupId>
91       <artifactId>test-common</artifactId>
92       <version>${project.version}</version>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.openflowplugin</groupId>
96       <artifactId>openflowplugin-controller-config</artifactId>
97       <version>${project.version}</version>
98       <type>xml</type>
99       <classifier>config</classifier>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.openflowplugin</groupId>
103       <artifactId>openflowplugin-controller-config</artifactId>
104       <version>${project.version}</version>
105       <type>xml</type>
106       <classifier>configmsgspy</classifier>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.controller</groupId>
110       <artifactId>liblldp</artifactId>
111       <version>${sal.api.version}</version>
112     </dependency>
113
114     <!-- test the features.xml -->
115     <dependency>
116       <groupId>org.opendaylight.yangtools</groupId>
117       <artifactId>features-test</artifactId>
118       <version>${yangtools.version}</version>
119     </dependency>
120     <!-- dependency for opendaylight-karaf-empty for use by testing -->
121     <dependency>
122       <groupId>org.opendaylight.controller</groupId>
123       <artifactId>opendaylight-karaf-empty</artifactId>
124       <version>${karaf.distro.empty.version}</version>
125       <type>zip</type>
126     </dependency>
127   </dependencies>
128
129   <build>
130     <resources>
131       <resource>
132         <filtering>true</filtering>
133         <directory>src/main/resources</directory>
134       </resource>
135     </resources>
136     <plugins>
137       <plugin>
138         <groupId>org.apache.maven.plugins</groupId>
139         <artifactId>maven-resources-plugin</artifactId>
140         <executions>
141           <execution>
142             <id>filter</id>
143             <goals>
144               <goal>resources</goal>
145             </goals>
146             <phase>generate-resources</phase>
147           </execution>
148         </executions>
149       </plugin>
150       <plugin>
151         <groupId>org.codehaus.mojo</groupId>
152         <artifactId>build-helper-maven-plugin</artifactId>
153         <executions>
154           <execution>
155             <id>attach-artifacts</id>
156             <goals>
157               <goal>attach-artifact</goal>
158             </goals>
159             <phase>package</phase>
160             <configuration>
161               <artifacts>
162                 <artifact>
163                   <file>${project.build.directory}/classes/${features.file}</file>
164                   <type>xml</type>
165                   <classifier>features</classifier>
166                 </artifact>
167               </artifacts>
168             </configuration>
169           </execution>
170         </executions>
171       </plugin>
172       <plugin>
173         <groupId>org.apache.maven.plugins</groupId>
174         <artifactId>maven-surefire-plugin</artifactId>
175         <version>2.16</version>
176         <configuration>
177           <systemPropertyVariables>
178             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
179             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
180             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
181           </systemPropertyVariables>
182           <dependenciesToScan>
183            <dependency>org.opendaylight.yangtools:features-test</dependency>
184           </dependenciesToScan>
185         </configuration>
186       </plugin>
187     </plugins>
188   </build>
189   <scm>
190     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
191     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
192     <tag>HEAD</tag>
193     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
194   </scm>
195 </project>