Merge "Bug 4284 - PolicyEnforcer could not find CI"
[groupbasedpolicy.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3   This program and the accompanying materials are made available under the
4   terms of the Eclipse Public License v1.0 which accompanies this distribution,
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <!-- FIXME: Migrate to features-parent -->
11   <parent>
12     <artifactId>commons.groupbasedpolicy</artifactId>
13     <groupId>org.opendaylight.groupbasedpolicy</groupId>
14     <version>0.3.0-SNAPSHOT</version>
15     <relativePath>../commons/parent</relativePath>
16   </parent>
17
18   <artifactId>features-groupbasedpolicy</artifactId>
19   <packaging>jar</packaging>
20
21   <properties>
22     <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
23     <mdsal.version>2.0.0-SNAPSHOT</mdsal.version>
24     <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
25     <controller.mdsal.version>1.3.0-SNAPSHOT</controller.mdsal.version>
26     <features.file>features.xml</features.file>
27     <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
28     <config.groupbasedpolicy.ofoverlayconfigfile>15-groupbasedpolicy-ofoverlay.xml</config.groupbasedpolicy.ofoverlayconfigfile>
29     <config.groupbasedpolicy.opflexconfigfile>15-groupbasedpolicy-opflex.xml</config.groupbasedpolicy.opflexconfigfile>
30     <config.groupbasedpolicy.neutronmapperconfigfile>15-neutron-mapper.xml</config.groupbasedpolicy.neutronmapperconfigfile>
31     <config.groupbasedpolicy.neutronovsdbconfigfile>15-neutron-ovsdb.xml</config.groupbasedpolicy.neutronovsdbconfigfile>
32     <config.groupbasedpolicy.uibackendconfigfile>15-ui-backend.xml</config.groupbasedpolicy.uibackendconfigfile>
33   </properties>
34
35   <dependencies>
36     <!-- configuration dependencies -->
37     <dependency>
38       <groupId>org.opendaylight.yangtools</groupId>
39       <artifactId>features-yangtools</artifactId>
40       <classifier>features</classifier>
41       <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.mdsal</groupId>
45       <artifactId>features-mdsal</artifactId>
46       <version>${mdsal.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49       <scope>runtime</scope>
50     </dependency>
51
52     <dependency>
53       <groupId>org.opendaylight.mdsal.model</groupId>
54       <artifactId>features-mdsal-model</artifactId>
55       <version>${mdsal.model.version}</version>
56       <classifier>features</classifier>
57       <type>xml</type>
58       <scope>runtime</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>features-nsf</artifactId>
63       <version>0.6.0-SNAPSHOT</version>
64       <classifier>features</classifier>
65       <type>xml</type>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>features-mdsal</artifactId>
70       <version>${controller.mdsal.version}</version>
71       <classifier>features</classifier>
72       <type>xml</type>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.netconf</groupId>
76       <artifactId>features-restconf</artifactId>
77       <version>${restconf.version}</version>
78       <classifier>features</classifier>
79       <type>xml</type>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>features-base</artifactId>
84       <version>1.6.0-SNAPSHOT</version>
85       <classifier>features</classifier>
86       <type>xml</type>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.sfc</groupId>
90       <artifactId>features-sfc</artifactId>
91       <version>${sfc.version}</version>
92       <classifier>features</classifier>
93       <type>xml</type>
94       <scope>runtime</scope>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.sfc</groupId>
98       <artifactId>features-sfc-sb-rest</artifactId>
99       <version>${sfc.version}</version>
100       <classifier>features</classifier>
101       <type>xml</type>
102       <scope>runtime</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.sfc</groupId>
106       <artifactId>features-sfc-ovs</artifactId>
107       <version>${sfc.version}</version>
108       <classifier>features</classifier>
109       <type>xml</type>
110       <scope>runtime</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.sfc</groupId>
114       <artifactId>features-sfcofl2</artifactId>
115       <version>${sfc.version}</version>
116       <classifier>features</classifier>
117       <type>xml</type>
118       <scope>runtime</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.sfc</groupId>
122       <artifactId>features-sfc-netconf</artifactId>
123       <version>${sfc.version}</version>
124       <classifier>features</classifier>
125       <type>xml</type>
126       <scope>runtime</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.openflowplugin</groupId>
130       <artifactId>features-openflowplugin</artifactId>
131       <version>${openflowplugin.version}</version>
132       <classifier>features</classifier>
133       <type>xml</type>
134     </dependency>
135     <dependency>
136       <groupId>org.opendaylight.openflowplugin</groupId>
137       <artifactId>features-openflowplugin-extension</artifactId>
138       <version>${openflowplugin.version}</version>
139       <classifier>features</classifier>
140       <type>xml</type>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.neutron</groupId>
144       <artifactId>features-neutron</artifactId>
145       <classifier>features</classifier>
146       <version>${neutron.version}</version>
147       <type>xml</type>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.ovsdb</groupId>
151       <artifactId>southbound-features</artifactId>
152       <version>${ovsdb.southbound.version}</version>
153       <classifier>features</classifier>
154       <type>xml</type>
155     </dependency>
156
157     <!-- DLUX dependency for the UI -->
158     <dependency>
159       <groupId>org.opendaylight.dlux</groupId>
160       <artifactId>features-dlux</artifactId>
161           <version>${dlux.version}</version>
162       <classifier>features</classifier>
163       <type>xml</type>
164     </dependency>
165
166     <!-- gbp dependencies -->
167     <dependency>
168       <groupId>commons-net</groupId>
169       <artifactId>commons-net</artifactId>
170     </dependency>
171     <dependency>
172       <groupId>org.opendaylight.groupbasedpolicy</groupId>
173       <artifactId>groupbasedpolicy</artifactId>
174     </dependency>
175     <dependency>
176       <groupId>org.opendaylight.groupbasedpolicy</groupId>
177       <artifactId>opflex-renderer</artifactId>
178     </dependency>
179     <dependency>
180       <groupId>org.opendaylight.groupbasedpolicy</groupId>
181       <artifactId>ofoverlay-renderer</artifactId>
182     </dependency>
183     <dependency>
184       <groupId>org.opendaylight.groupbasedpolicy</groupId>
185       <artifactId>neutron-mapper</artifactId>
186     </dependency>
187     <dependency>
188       <groupId>org.opendaylight.groupbasedpolicy</groupId>
189       <artifactId>neutron-ovsdb</artifactId>
190     </dependency>
191     <dependency>
192       <groupId>org.opendaylight.groupbasedpolicy</groupId>
193       <artifactId>ui-backend</artifactId>
194     </dependency>
195
196     <!-- gbp ui dependencies -->
197     <dependency>
198       <groupId>org.opendaylight.groupbasedpolicy</groupId>
199       <artifactId>groupbasedpolicy-ui-bundle</artifactId>
200       <version>${project.version}</version>
201     </dependency>
202
203     <!-- gbp configuration dependencies -->
204     <dependency>
205       <groupId>org.opendaylight.groupbasedpolicy</groupId>
206       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
207       <version>${project.version}</version>
208       <type>xml</type>
209       <classifier>config</classifier>
210     </dependency>
211     <dependency>
212       <groupId>org.opendaylight.groupbasedpolicy</groupId>
213       <artifactId>groupbasedpolicy-opflex-config</artifactId>
214       <version>${project.version}</version>
215       <type>xml</type>
216       <classifier>config</classifier>
217     </dependency>
218     <dependency>
219       <groupId>org.opendaylight.groupbasedpolicy</groupId>
220       <artifactId>neutron-mapper-config</artifactId>
221       <version>${project.version}</version>
222       <type>xml</type>
223       <classifier>config</classifier>
224     </dependency>
225     <dependency>
226       <groupId>org.opendaylight.groupbasedpolicy</groupId>
227       <artifactId>neutron-ovsdb-config</artifactId>
228       <version>${project.version}</version>
229       <type>xml</type>
230       <classifier>config</classifier>
231     </dependency>
232     <dependency>
233       <groupId>org.opendaylight.groupbasedpolicy</groupId>
234       <artifactId>ui-backend-config</artifactId>
235       <version>${project.version}</version>
236       <type>xml</type>
237       <classifier>config</classifier>
238     </dependency>
239
240     <!-- testing dependencies -->
241     <dependency>
242       <groupId>org.opendaylight.odlparent</groupId>
243       <artifactId>features-test</artifactId>
244       <version>1.6.0-SNAPSHOT</version>
245       <scope>test</scope>
246     </dependency>
247
248     <!-- dependency for opendaylight-karaf-empty for use by testing -->
249     <dependency>
250       <groupId>org.opendaylight.controller</groupId>
251       <artifactId>opendaylight-karaf-empty</artifactId>
252       <version>${karaf.empty.version}</version>
253       <type>zip</type>
254     </dependency>
255
256     <!-- Add Pax Exam -->
257     <dependency>
258       <groupId>org.ops4j.pax.exam</groupId>
259       <artifactId>pax-exam</artifactId>
260       <scope>test</scope>
261     </dependency>
262     <dependency>
263       <groupId>org.ops4j.pax.exam</groupId>
264       <artifactId>pax-exam-container-karaf</artifactId>
265       <scope>test</scope>
266     </dependency>
267   </dependencies>
268
269   <build>
270     <resources>
271       <resource>
272         <directory>src/main/resources</directory>
273         <filtering>true</filtering>
274       </resource>
275     </resources>
276     <plugins>
277       <plugin>
278         <groupId>org.apache.maven.plugins</groupId>
279         <artifactId>maven-resources-plugin</artifactId>
280         <executions>
281           <execution>
282             <id>filter</id>
283             <phase>generate-resources</phase>
284             <goals>
285               <goal>resources</goal>
286             </goals>
287           </execution>
288         </executions>
289       </plugin>
290       <plugin>
291         <groupId>org.codehaus.mojo</groupId>
292         <artifactId>build-helper-maven-plugin</artifactId>
293         <executions>
294           <execution>
295             <id>attach-artifacts</id>
296             <phase>package</phase>
297             <goals>
298               <goal>attach-artifact</goal>
299             </goals>
300             <configuration>
301               <artifacts>
302                 <artifact>
303                   <file>${project.build.directory}/classes/${features.file}</file>
304                   <type>xml</type>
305                   <classifier>features</classifier>
306                 </artifact>
307               </artifacts>
308             </configuration>
309           </execution>
310         </executions>
311       </plugin>
312       <plugin>
313         <groupId>org.apache.maven.plugins</groupId>
314         <artifactId>maven-surefire-plugin</artifactId>
315         <configuration>
316           <systemPropertyVariables>
317             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
318             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
319             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
320           </systemPropertyVariables>
321           <dependenciesToScan>
322             <dependency>org.opendaylight.odlparent:features-test</dependency>
323           </dependenciesToScan>
324         </configuration>
325       </plugin>
326     </plugins>
327   </build>
328   <scm>
329     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
330     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
331     <tag>HEAD</tag>
332     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
333   </scm>
334 </project>