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