Fix build after openflowplugin merge.
[groupbasedpolicy.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9   <modelVersion>4.0.0</modelVersion>
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   <artifactId>features-groupbasedpolicy</artifactId>
17   <groupId>org.opendaylight.groupbasedpolicy</groupId>
18   <packaging>jar</packaging>
19   <properties>
20     <features.file>features.xml</features.file>
21     <branding.version>1.1.0-SNAPSHOT</branding.version>
22     <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
23     <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
24     <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
25     <surefire.version>2.16</surefire.version>
26     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
27   </properties>
28   <dependencies>
29     <dependency>
30       <groupId>org.opendaylight.yangtools</groupId>
31       <artifactId>features-yangtools</artifactId>
32       <version>${yangtools.version}</version>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36      <dependency>
37        <groupId>org.opendaylight.controller</groupId>
38        <artifactId>features-nsf</artifactId>
39        <version>0.5.0-SNAPSHOT</version>
40        <classifier>features</classifier>
41        <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>features-mdsal</artifactId>
46       <version>${mdsal.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.openflowplugin</groupId>
52       <artifactId>features-openflowplugin</artifactId>
53       <version>${openflowplugin.distribution.version}</version>
54       <classifier>features</classifier>
55       <type>xml</type>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.groupbasedpolicy</groupId>
59       <artifactId>groupbasedpolicy</artifactId>
60       <version>${project.version}</version>
61     </dependency>
62     <dependency>
63        <groupId>org.opendaylight.controller</groupId>
64        <artifactId>features-base</artifactId>
65        <version>1.5.0-SNAPSHOT</version>
66        <classifier>features</classifier>
67        <type>xml</type>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.odlparent</groupId>
71       <artifactId>features-test</artifactId>
72       <version>1.5.0-SNAPSHOT</version>
73       <scope>test</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.groupbasedpolicy</groupId>
77       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
78       <version>${project.version}</version>
79       <type>xml</type>
80       <classifier>config</classifier>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.groupbasedpolicy</groupId>
84       <artifactId>groupbasedpolicy-oc-config</artifactId>
85       <version>${project.version}</version>
86       <type>xml</type>
87       <classifier>config</classifier>
88     </dependency>
89    <!-- dependency for opendaylight-karaf-empty for use by testing -->
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>opendaylight-karaf-empty</artifactId>
93       <version>${karaf.empty.version}</version>
94       <type>zip</type>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.openflowplugin</groupId>
98       <artifactId>features-openflowplugin-extension</artifactId>
99       <version>${openflowplugin.distribution.version}</version>
100       <classifier>features</classifier>
101       <type>xml</type>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.openflowplugin</groupId>
105       <artifactId>features-openflowplugin</artifactId>
106       <version>${openflowplugin.distribution.version}</version>
107       <classifier>features</classifier>
108       <type>xml</type>
109     </dependency>
110 <!--
111     <dependency>
112       <groupId>org.opendaylight.ovsdb</groupId>
113       <artifactId>features-openflow-nxm</artifactId>
114       <version>${openflowplugin.distribution.version}</version>
115       <classifier>features</classifier>
116       <type>xml</type>
117     </dependency>
118 -->
119       <!-- Add Pax Exam -->
120     <dependency>
121       <groupId>org.ops4j.pax.exam</groupId>
122       <artifactId>pax-exam</artifactId>
123       <version>${exam.version}</version>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.ops4j.pax.exam</groupId>
128       <artifactId>pax-exam-container-karaf</artifactId>
129       <version>${exam.version}</version>
130       <scope>test</scope>
131     </dependency>
132
133   </dependencies>
134   <build>
135     <resources>
136       <resource>
137         <directory>src/main/resources</directory>
138         <filtering>true</filtering>
139       </resource>
140     </resources>
141     <plugins>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-resources-plugin</artifactId>
145         <executions>
146           <execution>
147             <id>filter</id>
148             <phase>generate-resources</phase>
149             <goals>
150               <goal>resources</goal>
151             </goals>
152             </execution>
153           </executions>
154       </plugin>
155       <plugin>
156         <groupId>org.codehaus.mojo</groupId>
157         <artifactId>build-helper-maven-plugin</artifactId>
158         <executions>
159           <execution>
160             <id>attach-artifacts</id>
161             <phase>package</phase>
162             <goals>
163               <goal>attach-artifact</goal>
164             </goals>
165             <configuration>
166               <artifacts>
167                 <artifact>
168                   <file>${project.build.directory}/classes/${features.file}</file>
169                   <type>xml</type>
170                   <classifier>features</classifier>
171                 </artifact>
172               </artifacts>
173             </configuration>
174           </execution>
175         </executions>
176       </plugin>
177       <plugin>
178         <groupId>org.apache.maven.plugins</groupId>
179         <artifactId>maven-surefire-plugin</artifactId>
180         <version>${surefire.version}</version>
181         <configuration>
182           <systemPropertyVariables>
183             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
184             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
185             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
186           </systemPropertyVariables>
187           <dependenciesToScan>
188             <dependency>org.opendaylight.odlparent:features-test</dependency>
189           </dependenciesToScan>
190         </configuration>
191       </plugin>
192     </plugins>
193   </build>
194   <scm>
195     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
196     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
197     <tag>HEAD</tag>
198     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
199   </scm>
200 </project>
201