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