Merge "Bug 3051: Fix Unit Tests for IpPrefix."
[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   <parent>
11     <artifactId>commons.groupbasedpolicy</artifactId>
12     <groupId>org.opendaylight.groupbasedpolicy</groupId>
13     <version>0.2.0-SNAPSHOT</version>
14     <relativePath>../commons/parent</relativePath>
15   </parent>
16
17   <artifactId>features-groupbasedpolicy</artifactId>
18   <packaging>jar</packaging>
19
20   <properties>
21     <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
22     <features.file>features.xml</features.file>
23     <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
24     <config.groupbasedpolicy.ofoverlayconfigfile>15-groupbasedpolicy-ofoverlay.xml</config.groupbasedpolicy.ofoverlayconfigfile>
25     <config.groupbasedpolicy.opflexconfigfile>15-groupbasedpolicy-opflex.xml</config.groupbasedpolicy.opflexconfigfile>
26     <config.groupbasedpolicy.openstackendpointconfigfile>15-groupbasedpolicy-openstackendpoint.xml</config.groupbasedpolicy.openstackendpointconfigfile>
27     <config.groupbasedpolicy.neutronmapperconfigfile>15-neutron-mapper.xml</config.groupbasedpolicy.neutronmapperconfigfile>
28     <config.groupbasedpolicy.neutronovsdbconfigfile>15-neutron-ovsdb.xml</config.groupbasedpolicy.neutronovsdbconfigfile>
29     <config.groupbasedpolicy.uibackendconfigfile>15-ui-backend.xml</config.groupbasedpolicy.uibackendconfigfile>
30   </properties>
31
32   <dependencies>
33     <!-- configuration dependencies -->
34     <dependency>
35       <groupId>org.opendaylight.yangtools</groupId>
36       <artifactId>features-yangtools</artifactId>
37       <classifier>features</classifier>
38       <type>xml</type>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.controller</groupId>
42       <artifactId>features-nsf</artifactId>
43       <version>0.5.0-SNAPSHOT</version>
44       <classifier>features</classifier>
45       <type>xml</type>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>features-mdsal</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>features-base</artifactId>
56       <version>1.5.0-SNAPSHOT</version>
57       <classifier>features</classifier>
58       <type>xml</type>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.sfc</groupId>
62       <artifactId>features-sfc</artifactId>
63       <version>${sfc.version}</version>
64       <classifier>features</classifier>
65       <type>xml</type>
66       <scope>runtime</scope>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.sfc</groupId>
70       <artifactId>features-sfc-sb-rest</artifactId>
71       <version>${sfc.version}</version>
72       <classifier>features</classifier>
73       <type>xml</type>
74       <scope>runtime</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.sfc</groupId>
78       <artifactId>features-sfc-ovs</artifactId>
79       <version>${sfc.version}</version>
80       <classifier>features</classifier>
81       <type>xml</type>
82       <scope>runtime</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.sfc</groupId>
86       <artifactId>features-sfcofl2</artifactId>
87       <version>${sfc.version}</version>
88       <classifier>features</classifier>
89       <type>xml</type>
90       <scope>runtime</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.sfc</groupId>
94       <artifactId>features-sfc-netconf</artifactId>
95       <version>${sfc.version}</version>
96       <classifier>features</classifier>
97       <type>xml</type>
98       <scope>runtime</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.openflowplugin</groupId>
102       <artifactId>features-openflowplugin</artifactId>
103       <version>${openflowplugin.version}</version>
104       <classifier>features</classifier>
105       <type>xml</type>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.openflowplugin</groupId>
109       <artifactId>features-openflowplugin-extension</artifactId>
110       <version>${openflowplugin.version}</version>
111       <classifier>features</classifier>
112       <type>xml</type>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.neutron</groupId>
116       <artifactId>features-neutron</artifactId>
117       <classifier>features</classifier>
118       <version>${neutron.version}</version>
119       <type>xml</type>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.ovsdb</groupId>
123       <artifactId>southbound-features</artifactId>
124       <version>${ovsdb.southbound.version}</version>
125       <classifier>features</classifier>
126       <type>xml</type>
127     </dependency>
128         
129     <!-- DLUX dependency for the UI -->
130     <dependency>
131       <groupId>org.opendaylight.dlux</groupId>
132       <artifactId>features-dlux</artifactId>
133           <version>${dlux.version}</version>
134       <classifier>features</classifier>
135       <type>xml</type>
136     </dependency>
137         
138     <!-- gbp dependencies -->
139     <dependency>
140       <groupId>org.opendaylight.groupbasedpolicy</groupId>
141       <artifactId>groupbasedpolicy</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>org.opendaylight.groupbasedpolicy</groupId>
145       <artifactId>opflex-renderer</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.opendaylight.groupbasedpolicy</groupId>
149       <artifactId>ofoverlay-renderer</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.opendaylight.groupbasedpolicy</groupId>
153       <artifactId>neutron-mapper</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>org.opendaylight.groupbasedpolicy</groupId>
157       <artifactId>neutron-ovsdb</artifactId>
158     </dependency>
159     <dependency>
160       <groupId>org.opendaylight.groupbasedpolicy</groupId>
161       <artifactId>ui-backend</artifactId>
162     </dependency>
163         
164     <!-- gbp ui dependencies -->
165     <dependency>
166       <groupId>org.opendaylight.groupbasedpolicy</groupId>
167       <artifactId>groupbasedpolicy-ui-bundle</artifactId>
168       <version>${project.version}</version>
169     </dependency>
170
171     <!-- gbp configuration dependencies -->
172     <dependency>
173       <groupId>org.opendaylight.groupbasedpolicy</groupId>
174       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
175       <version>${project.version}</version>
176       <type>xml</type>
177       <classifier>config</classifier>
178     </dependency>
179     <dependency>
180       <groupId>org.opendaylight.groupbasedpolicy</groupId>
181       <artifactId>groupbasedpolicy-opflex-config</artifactId>
182       <version>${project.version}</version>
183       <type>xml</type>
184       <classifier>config</classifier>
185     </dependency>
186     <dependency>
187       <groupId>org.opendaylight.groupbasedpolicy</groupId>
188       <artifactId>neutron-mapper-config</artifactId>
189       <version>${project.version}</version>
190       <type>xml</type>
191       <classifier>config</classifier>
192     </dependency>
193     <dependency>
194       <groupId>org.opendaylight.groupbasedpolicy</groupId>
195       <artifactId>neutron-ovsdb-config</artifactId>
196       <version>${project.version}</version>
197       <type>xml</type>
198       <classifier>config</classifier>
199     </dependency>
200     <dependency>
201       <groupId>org.opendaylight.groupbasedpolicy</groupId>
202       <artifactId>ui-backend-config</artifactId>
203       <version>${project.version}</version>
204       <type>xml</type>
205       <classifier>config</classifier>
206     </dependency>
207
208     <!-- testing dependencies -->
209     <dependency>
210       <groupId>org.opendaylight.odlparent</groupId>
211       <artifactId>features-test</artifactId>
212       <version>1.5.0-SNAPSHOT</version>
213       <scope>test</scope>
214     </dependency>
215
216     <!-- dependency for opendaylight-karaf-empty for use by testing -->
217     <dependency>
218       <groupId>org.opendaylight.controller</groupId>
219       <artifactId>opendaylight-karaf-empty</artifactId>
220       <version>${karaf.empty.version}</version>
221       <type>zip</type>
222     </dependency>
223
224     <!-- Add Pax Exam -->
225     <dependency>
226       <groupId>org.ops4j.pax.exam</groupId>
227       <artifactId>pax-exam</artifactId>
228       <scope>test</scope>
229     </dependency>
230     <dependency>
231       <groupId>org.ops4j.pax.exam</groupId>
232       <artifactId>pax-exam-container-karaf</artifactId>
233       <scope>test</scope>
234     </dependency>
235   </dependencies>
236
237   <build>
238     <resources>
239       <resource>
240         <directory>src/main/resources</directory>
241         <filtering>true</filtering>
242       </resource>
243     </resources>
244     <plugins>
245       <plugin>
246         <groupId>org.apache.maven.plugins</groupId>
247         <artifactId>maven-resources-plugin</artifactId>
248         <executions>
249           <execution>
250             <id>filter</id>
251             <phase>generate-resources</phase>
252             <goals>
253               <goal>resources</goal>
254             </goals>
255           </execution>
256         </executions>
257       </plugin>
258       <plugin>
259         <groupId>org.codehaus.mojo</groupId>
260         <artifactId>build-helper-maven-plugin</artifactId>
261         <executions>
262           <execution>
263             <id>attach-artifacts</id>
264             <phase>package</phase>
265             <goals>
266               <goal>attach-artifact</goal>
267             </goals>
268             <configuration>
269               <artifacts>
270                 <artifact>
271                   <file>${project.build.directory}/classes/${features.file}</file>
272                   <type>xml</type>
273                   <classifier>features</classifier>
274                 </artifact>
275               </artifacts>
276             </configuration>
277           </execution>
278         </executions>
279       </plugin>
280       <plugin>
281         <groupId>org.apache.maven.plugins</groupId>
282         <artifactId>maven-surefire-plugin</artifactId>
283         <configuration>
284           <systemPropertyVariables>
285             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
286             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
287             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
288           </systemPropertyVariables>
289           <dependenciesToScan>
290             <dependency>org.opendaylight.odlparent:features-test</dependency>
291           </dependenciesToScan>
292         </configuration>
293       </plugin>
294     </plugins>
295   </build>
296   <scm>
297     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
298     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
299     <tag>HEAD</tag>
300     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
301   </scm>
302 </project>