Bug 3166 ui-backend introduced
[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.openflowplugin</groupId>
61       <artifactId>features-openflowplugin</artifactId>
62       <version>${openflowplugin.version}</version>
63       <classifier>features</classifier>
64       <type>xml</type>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.openflowplugin</groupId>
68       <artifactId>features-openflowplugin-extension</artifactId>
69       <version>${openflowplugin.version}</version>
70       <classifier>features</classifier>
71       <type>xml</type>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.neutron</groupId>
75       <artifactId>features-neutron</artifactId>
76       <classifier>features</classifier>
77       <version>${neutron.version}</version>
78       <type>xml</type>
79     </dependency>
80
81     <!-- gbp dependencies -->
82     <dependency>
83       <groupId>org.opendaylight.groupbasedpolicy</groupId>
84       <artifactId>groupbasedpolicy</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.groupbasedpolicy</groupId>
88       <artifactId>opflex-renderer</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.groupbasedpolicy</groupId>
92       <artifactId>ofoverlay-renderer</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.groupbasedpolicy</groupId>
96       <artifactId>neutron-mapper</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.groupbasedpolicy</groupId>
100       <artifactId>ui-backend</artifactId>
101     </dependency>
102
103     <!-- gbp configuration dependencies -->
104     <dependency>
105       <groupId>org.opendaylight.groupbasedpolicy</groupId>
106       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
107       <version>${project.version}</version>
108       <type>xml</type>
109       <classifier>config</classifier>
110     </dependency>
111     <dependency>
112       <groupId>org.opendaylight.groupbasedpolicy</groupId>
113       <artifactId>groupbasedpolicy-opflex-config</artifactId>
114       <version>${project.version}</version>
115       <type>xml</type>
116       <classifier>config</classifier>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.groupbasedpolicy</groupId>
120       <artifactId>neutron-mapper-config</artifactId>
121       <version>${project.version}</version>
122       <type>xml</type>
123       <classifier>config</classifier>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.groupbasedpolicy</groupId>
127       <artifactId>ui-backend-config</artifactId>
128       <version>${project.version}</version>
129       <type>xml</type>
130       <classifier>config</classifier>
131     </dependency>
132
133     <!-- testing dependencies -->
134     <dependency>
135       <groupId>org.opendaylight.odlparent</groupId>
136       <artifactId>features-test</artifactId>
137       <version>1.5.0-SNAPSHOT</version>
138       <scope>test</scope>
139     </dependency>
140
141     <!-- dependency for opendaylight-karaf-empty for use by testing -->
142     <dependency>
143       <groupId>org.opendaylight.controller</groupId>
144       <artifactId>opendaylight-karaf-empty</artifactId>
145       <version>${karaf.empty.version}</version>
146       <type>zip</type>
147     </dependency>
148
149     <!-- Add Pax Exam -->
150     <dependency>
151       <groupId>org.ops4j.pax.exam</groupId>
152       <artifactId>pax-exam</artifactId>
153       <scope>test</scope>
154     </dependency>
155     <dependency>
156       <groupId>org.ops4j.pax.exam</groupId>
157       <artifactId>pax-exam-container-karaf</artifactId>
158       <scope>test</scope>
159     </dependency>
160   </dependencies>
161
162   <build>
163     <resources>
164       <resource>
165         <directory>src/main/resources</directory>
166         <filtering>true</filtering>
167       </resource>
168     </resources>
169     <plugins>
170       <plugin>
171         <groupId>org.apache.maven.plugins</groupId>
172         <artifactId>maven-resources-plugin</artifactId>
173         <executions>
174           <execution>
175             <id>filter</id>
176             <phase>generate-resources</phase>
177             <goals>
178               <goal>resources</goal>
179             </goals>
180           </execution>
181         </executions>
182       </plugin>
183       <plugin>
184         <groupId>org.codehaus.mojo</groupId>
185         <artifactId>build-helper-maven-plugin</artifactId>
186         <executions>
187           <execution>
188             <id>attach-artifacts</id>
189             <phase>package</phase>
190             <goals>
191               <goal>attach-artifact</goal>
192             </goals>
193             <configuration>
194               <artifacts>
195                 <artifact>
196                   <file>${project.build.directory}/classes/${features.file}</file>
197                   <type>xml</type>
198                   <classifier>features</classifier>
199                 </artifact>
200               </artifacts>
201             </configuration>
202           </execution>
203         </executions>
204       </plugin>
205       <plugin>
206         <groupId>org.apache.maven.plugins</groupId>
207         <artifactId>maven-surefire-plugin</artifactId>
208         <configuration>
209           <systemPropertyVariables>
210             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
211             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
212             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
213           </systemPropertyVariables>
214           <dependenciesToScan>
215             <dependency>org.opendaylight.odlparent:features-test</dependency>
216           </dependenciesToScan>
217         </configuration>
218       </plugin>
219     </plugins>
220   </build>
221   <scm>
222     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
223     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
224     <tag>HEAD</tag>
225     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
226   </scm>
227 </project>
228