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