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