Merge "IndexTenant: resolveSubnet() should not return null"
[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   </properties>
27   <dependencies>
28     <dependency>
29       <groupId>org.opendaylight.yangtools</groupId>
30       <artifactId>features-yangtools</artifactId>
31       <version>${yangtools.version}</version>
32       <classifier>features</classifier>
33       <type>xml</type>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.controller</groupId>
37       <artifactId>features-mdsal</artifactId>
38       <version>${mdsal.version}</version>
39       <classifier>features</classifier>
40       <type>xml</type>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.openflowplugin</groupId>
44       <artifactId>features-openflowplugin</artifactId>
45       <version>${openflowplugin.distribution.version}</version>
46       <classifier>features</classifier>
47       <type>xml</type>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.groupbasedpolicy</groupId>
51       <artifactId>groupbasedpolicy</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>features-test</artifactId>
58       <version>${feature.test.version}</version>
59       <scope>test</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.groupbasedpolicy</groupId>
63       <artifactId>groupbasedpolicy-ofoverlay-config</artifactId>
64       <version>${project.version}</version>
65       <type>xml</type>
66       <classifier>config</classifier>
67     </dependency>
68    <!-- dependency for opendaylight-karaf-empty for use by testing -->
69     <dependency>
70       <groupId>org.opendaylight.controller</groupId>
71       <artifactId>opendaylight-karaf-empty</artifactId>
72       <version>${karaf.empty.version}</version>
73       <type>zip</type>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin</groupId>
77       <artifactId>features-openflowplugin-extension</artifactId>
78       <version>${openflowplugin.distribution.version}</version>
79       <classifier>features</classifier>
80       <type>xml</type>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.openflowplugin</groupId>
84       <artifactId>features-openflowplugin</artifactId>
85       <version>${openflowplugin.distribution.version}</version>
86       <classifier>features</classifier>
87       <type>xml</type>
88     </dependency>
89 <!--
90     <dependency>
91       <groupId>org.opendaylight.ovsdb</groupId>
92       <artifactId>features-openflow-nxm</artifactId>
93       <version>${openflowplugin.distribution.version}</version>
94       <classifier>features</classifier>
95       <type>xml</type>
96     </dependency>
97 -->
98       <!-- Add Pax Exam -->
99     <dependency>
100       <groupId>org.ops4j.pax.exam</groupId>
101       <artifactId>pax-exam</artifactId>
102       <version>${exam.version}</version>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.ops4j.pax.exam</groupId>
107       <artifactId>pax-exam-container-karaf</artifactId>
108       <version>${exam.version}</version>
109       <scope>test</scope>
110     </dependency>
111
112   </dependencies>
113   <build>
114     <resources>
115       <resource>
116         <directory>src/main/resources</directory>
117         <filtering>true</filtering>
118       </resource>
119     </resources>
120     <plugins>
121       <plugin>
122         <groupId>org.apache.maven.plugins</groupId>
123         <artifactId>maven-resources-plugin</artifactId>
124         <executions>
125           <execution>
126             <id>filter</id>
127             <phase>generate-resources</phase>
128             <goals>
129               <goal>resources</goal>
130             </goals>
131             </execution>
132           </executions>
133       </plugin>
134       <plugin>
135         <groupId>org.codehaus.mojo</groupId>
136         <artifactId>build-helper-maven-plugin</artifactId>
137         <executions>
138           <execution>
139             <id>attach-artifacts</id>
140             <phase>package</phase>
141             <goals>
142               <goal>attach-artifact</goal>
143             </goals>
144             <configuration>
145               <artifacts>
146                 <artifact>
147                   <file>${project.build.directory}/classes/${features.file}</file>
148                   <type>xml</type>
149                   <classifier>features</classifier>
150                 </artifact>
151               </artifacts>
152             </configuration>
153           </execution>
154         </executions>
155       </plugin>
156       <plugin>
157         <groupId>org.apache.maven.plugins</groupId>
158         <artifactId>maven-surefire-plugin</artifactId>
159         <version>${surefire.version}</version>
160         <configuration>
161           <systemPropertyVariables>
162             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
163             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
164             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
165           </systemPropertyVariables>
166           <dependenciesToScan>
167             <dependency>org.opendaylight.yangtools:features-test</dependency>
168           </dependenciesToScan>
169         </configuration>
170       </plugin>
171     </plugins>
172   </build>
173   <scm>
174     <connection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</connection>
175     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/groupbasedpolicy.git</developerConnection>
176     <tag>HEAD</tag>
177     <url>https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=summary</url>
178   </scm>
179 </project>