d1bf2075eb191b2f8312af272ca9ed17bea4ea91
[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.odlparent</groupId>
146       <artifactId>features-test</artifactId>
147     </dependency>
148     <!-- dependency for opendaylight-karaf-empty for use by testing -->
149     <dependency>
150       <groupId>org.opendaylight.controller</groupId>
151       <artifactId>opendaylight-karaf-empty</artifactId>
152       <version>${karaf.distro.empty.version}</version>
153       <type>zip</type>
154     </dependency>
155   </dependencies>
156
157   <build>
158     <resources>
159       <resource>
160         <filtering>true</filtering>
161         <directory>src/main/resources</directory>
162       </resource>
163     </resources>
164     <plugins>
165       <plugin>
166         <groupId>org.apache.maven.plugins</groupId>
167         <artifactId>maven-resources-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>filter</id>
171             <goals>
172               <goal>resources</goal>
173             </goals>
174             <phase>generate-resources</phase>
175           </execution>
176         </executions>
177       </plugin>
178       <plugin>
179         <groupId>org.codehaus.mojo</groupId>
180         <artifactId>build-helper-maven-plugin</artifactId>
181         <executions>
182           <execution>
183             <id>attach-artifacts</id>
184             <goals>
185               <goal>attach-artifact</goal>
186             </goals>
187             <phase>package</phase>
188             <configuration>
189               <artifacts>
190                 <artifact>
191                   <file>${project.build.directory}/classes/${features.file}</file>
192                   <type>xml</type>
193                   <classifier>features</classifier>
194                 </artifact>
195               </artifacts>
196             </configuration>
197           </execution>
198         </executions>
199       </plugin>
200       <plugin>
201         <groupId>org.apache.maven.plugins</groupId>
202         <artifactId>maven-surefire-plugin</artifactId>
203         <version>2.16</version>
204         <configuration>
205           <systemPropertyVariables>
206             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
207             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
208             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
209           </systemPropertyVariables>
210           <dependenciesToScan>
211            <dependency>org.opendaylight.odlparent:features-test</dependency>
212           </dependenciesToScan>
213         </configuration>
214       </plugin>
215     </plugins>
216   </build>
217   <scm>
218     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
219     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
220     <tag>HEAD</tag>
221     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
222   </scm>
223 </project>