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