GBP UI initial commit
[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.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.5.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.5.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>org.opendaylight.groupbasedpolicy</groupId>
140       <artifactId>groupbasedpolicy</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.groupbasedpolicy</groupId>
144       <artifactId>opflex-renderer</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.groupbasedpolicy</groupId>
148       <artifactId>ofoverlay-renderer</artifactId>
149     </dependency>
150     <dependency>
151       <groupId>org.opendaylight.groupbasedpolicy</groupId>
152       <artifactId>neutron-mapper</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>org.opendaylight.groupbasedpolicy</groupId>
156       <artifactId>ui-backend</artifactId>
157     </dependency>
158         
159     <!-- gbp ui dependencies -->
160     <dependency>
161       <groupId>org.opendaylight.groupbasedpolicy</groupId>
162       <artifactId>groupbasedpolicy-ui-bundle</artifactId>
163       <version>${project.version}</version>
164     </dependency>
165
166     <!-- gbp configuration dependencies -->
167     <dependency>
168       <groupId>org.opendaylight.groupbasedpolicy</groupId>
169       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
170       <version>${project.version}</version>
171       <type>xml</type>
172       <classifier>config</classifier>
173     </dependency>
174     <dependency>
175       <groupId>org.opendaylight.groupbasedpolicy</groupId>
176       <artifactId>groupbasedpolicy-opflex-config</artifactId>
177       <version>${project.version}</version>
178       <type>xml</type>
179       <classifier>config</classifier>
180     </dependency>
181     <dependency>
182       <groupId>org.opendaylight.groupbasedpolicy</groupId>
183       <artifactId>neutron-mapper-config</artifactId>
184       <version>${project.version}</version>
185       <type>xml</type>
186       <classifier>config</classifier>
187     </dependency>
188     <dependency>
189       <groupId>org.opendaylight.groupbasedpolicy</groupId>
190       <artifactId>ui-backend-config</artifactId>
191       <version>${project.version}</version>
192       <type>xml</type>
193       <classifier>config</classifier>
194     </dependency>
195
196     <!-- testing dependencies -->
197     <dependency>
198       <groupId>org.opendaylight.odlparent</groupId>
199       <artifactId>features-test</artifactId>
200       <version>1.5.0-SNAPSHOT</version>
201       <scope>test</scope>
202     </dependency>
203
204     <!-- dependency for opendaylight-karaf-empty for use by testing -->
205     <dependency>
206       <groupId>org.opendaylight.controller</groupId>
207       <artifactId>opendaylight-karaf-empty</artifactId>
208       <version>${karaf.empty.version}</version>
209       <type>zip</type>
210     </dependency>
211
212     <!-- Add Pax Exam -->
213     <dependency>
214       <groupId>org.ops4j.pax.exam</groupId>
215       <artifactId>pax-exam</artifactId>
216       <scope>test</scope>
217     </dependency>
218     <dependency>
219       <groupId>org.ops4j.pax.exam</groupId>
220       <artifactId>pax-exam-container-karaf</artifactId>
221       <scope>test</scope>
222     </dependency>
223   </dependencies>
224
225   <build>
226     <resources>
227       <resource>
228         <directory>src/main/resources</directory>
229         <filtering>true</filtering>
230       </resource>
231     </resources>
232     <plugins>
233       <plugin>
234         <groupId>org.apache.maven.plugins</groupId>
235         <artifactId>maven-resources-plugin</artifactId>
236         <executions>
237           <execution>
238             <id>filter</id>
239             <phase>generate-resources</phase>
240             <goals>
241               <goal>resources</goal>
242             </goals>
243           </execution>
244         </executions>
245       </plugin>
246       <plugin>
247         <groupId>org.codehaus.mojo</groupId>
248         <artifactId>build-helper-maven-plugin</artifactId>
249         <executions>
250           <execution>
251             <id>attach-artifacts</id>
252             <phase>package</phase>
253             <goals>
254               <goal>attach-artifact</goal>
255             </goals>
256             <configuration>
257               <artifacts>
258                 <artifact>
259                   <file>${project.build.directory}/classes/${features.file}</file>
260                   <type>xml</type>
261                   <classifier>features</classifier>
262                 </artifact>
263               </artifacts>
264             </configuration>
265           </execution>
266         </executions>
267       </plugin>
268       <plugin>
269         <groupId>org.apache.maven.plugins</groupId>
270         <artifactId>maven-surefire-plugin</artifactId>
271         <configuration>
272           <systemPropertyVariables>
273             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
274             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
275             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
276           </systemPropertyVariables>
277           <dependenciesToScan>
278             <dependency>org.opendaylight.odlparent:features-test</dependency>
279           </dependenciesToScan>
280         </configuration>
281       </plugin>
282     </plugins>
283   </build>
284   <scm>
285     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
286     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
287     <tag>HEAD</tag>
288     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
289   </scm>
290 </project>