Bug 868: Replaced use of toInstance() for build().
[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>table-miss-enforcer</artifactId>
82       <version>${project.version}</version>
83       <type>xml</type>
84       <classifier>config</classifier>
85     </dependency>
86
87       <dependency>
88           <groupId>org.opendaylight.openflowplugin.applications</groupId>
89           <artifactId>of-switch-config-pusher</artifactId>
90           <version>${project.version}</version>
91       </dependency>
92       <dependency>
93           <groupId>org.opendaylight.openflowplugin.applications</groupId>
94           <artifactId>of-switch-config-pusher</artifactId>
95           <version>${project.version}</version>
96           <type>xml</type>
97           <classifier>config</classifier>
98       </dependency>
99
100     <dependency>
101       <groupId>org.opendaylight.openflowplugin.applications</groupId>
102       <artifactId>lldp-speaker</artifactId>
103       <version>${project.version}</version>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.openflowplugin.applications</groupId>
107       <artifactId>lldp-speaker</artifactId>
108       <version>${project.version}</version>
109       <type>xml</type>
110       <classifier>config</classifier>
111     </dependency>
112
113     <dependency>
114       <groupId>org.opendaylight.openflowplugin</groupId>
115       <artifactId>drop-test-karaf</artifactId>
116       <version>${project.version}</version>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.openflowplugin</groupId>
120       <artifactId>test-common</artifactId>
121       <version>${project.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.openflowplugin</groupId>
125       <artifactId>openflowplugin-controller-config</artifactId>
126       <version>${project.version}</version>
127       <type>xml</type>
128       <classifier>config</classifier>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.openflowplugin</groupId>
132       <artifactId>openflowplugin-controller-config</artifactId>
133       <version>${project.version}</version>
134       <type>xml</type>
135       <classifier>configmsgspy</classifier>
136     </dependency>
137     <dependency>
138       <groupId>org.opendaylight.controller</groupId>
139       <artifactId>liblldp</artifactId>
140       <version>${sal.api.version}</version>
141     </dependency>
142
143     <!-- test the features.xml -->
144     <dependency>
145       <groupId>org.opendaylight.yangtools</groupId>
146       <artifactId>features-test</artifactId>
147       <version>${yangtools.version}</version>
148     </dependency>
149     <!-- dependency for opendaylight-karaf-empty for use by testing -->
150     <dependency>
151       <groupId>org.opendaylight.controller</groupId>
152       <artifactId>opendaylight-karaf-empty</artifactId>
153       <version>${karaf.distro.empty.version}</version>
154       <type>zip</type>
155     </dependency>
156   </dependencies>
157
158   <build>
159     <resources>
160       <resource>
161         <filtering>true</filtering>
162         <directory>src/main/resources</directory>
163       </resource>
164     </resources>
165     <plugins>
166       <plugin>
167         <groupId>org.apache.maven.plugins</groupId>
168         <artifactId>maven-resources-plugin</artifactId>
169         <executions>
170           <execution>
171             <id>filter</id>
172             <goals>
173               <goal>resources</goal>
174             </goals>
175             <phase>generate-resources</phase>
176           </execution>
177         </executions>
178       </plugin>
179       <plugin>
180         <groupId>org.codehaus.mojo</groupId>
181         <artifactId>build-helper-maven-plugin</artifactId>
182         <executions>
183           <execution>
184             <id>attach-artifacts</id>
185             <goals>
186               <goal>attach-artifact</goal>
187             </goals>
188             <phase>package</phase>
189             <configuration>
190               <artifacts>
191                 <artifact>
192                   <file>${project.build.directory}/classes/${features.file}</file>
193                   <type>xml</type>
194                   <classifier>features</classifier>
195                 </artifact>
196               </artifacts>
197             </configuration>
198           </execution>
199         </executions>
200       </plugin>
201       <plugin>
202         <groupId>org.apache.maven.plugins</groupId>
203         <artifactId>maven-surefire-plugin</artifactId>
204         <version>2.16</version>
205         <configuration>
206           <systemPropertyVariables>
207             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
208             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
209             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
210           </systemPropertyVariables>
211           <dependenciesToScan>
212            <dependency>org.opendaylight.yangtools:features-test</dependency>
213           </dependenciesToScan>
214         </configuration>
215       </plugin>
216     </plugins>
217   </build>
218   <scm>
219     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
220     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
221     <tag>HEAD</tag>
222     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
223   </scm>
224 </project>