BUG-1680: default table-miss-entry feature
[openflowplugin.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.openflowplugin</groupId>
6     <artifactId>openflowplugin-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <karaf.empty.distro.version>1.5.0-SNAPSHOT</karaf.empty.distro.version>
17     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
18   </properties>
19
20   <dependencies>
21     <!-- feature dependencies -->
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>features-mdsal</artifactId>
25       <version>${mdsal.version}</version>
26       <classifier>features</classifier>
27       <type>xml</type>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>features-restconf</artifactId>
32       <version>${mdsal.version}</version>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.openflowjava</groupId>
38       <artifactId>features-openflowjava</artifactId>
39       <version>${openflowjava.version}</version>
40       <classifier>features</classifier>
41       <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>features-flow</artifactId>
46       <version>${mdsal.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.dlux</groupId>
52       <artifactId>features-dlux</artifactId>
53       <version>${dlux.version}</version>
54       <classifier>features</classifier>
55       <type>xml</type>
56     </dependency>
57
58     <!-- bundle dependencies -->
59     <dependency>
60       <groupId>org.opendaylight.openflowplugin</groupId>
61       <artifactId>openflowplugin-api</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.openflowplugin</groupId>
66       <artifactId>openflowplugin-extension-api</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.openflowplugin</groupId>
71       <artifactId>openflowplugin</artifactId>
72       <version>${project.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.openflowplugin.applications</groupId>
76       <artifactId>table-miss-enforcer</artifactId>
77       <version>${project.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.openflowplugin</groupId>
81       <artifactId>drop-test-karaf</artifactId>
82       <version>${project.version}</version>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.openflowplugin</groupId>
86       <artifactId>test-common</artifactId>
87       <version>${project.version}</version>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.openflowplugin</groupId>
91       <artifactId>openflowplugin-controller-config</artifactId>
92       <version>${project.version}</version>
93       <type>xml</type>
94       <classifier>config</classifier>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.openflowplugin</groupId>
98       <artifactId>openflowplugin-controller-config</artifactId>
99       <version>${project.version}</version>
100       <type>xml</type>
101       <classifier>configmsgspy</classifier>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.controller</groupId>
105       <artifactId>liblldp</artifactId>
106       <version>${sal.api.version}</version>
107     </dependency>
108     
109     <!-- test the features.xml -->
110     <dependency>
111       <groupId>org.opendaylight.yangtools</groupId>
112       <artifactId>features-test</artifactId>
113       <version>${yangtools.version}</version>
114     </dependency>
115     <!-- dependency for opendaylight-karaf-empty for use by testing -->
116     <dependency>
117       <groupId>org.opendaylight.controller</groupId>
118       <artifactId>opendaylight-karaf-empty</artifactId>
119       <version>${karaf.distro.empty.version}</version>
120       <type>zip</type>
121     </dependency>
122   </dependencies>
123
124   <build>
125     <resources>
126       <resource>
127         <filtering>true</filtering>
128         <directory>src/main/resources</directory>
129       </resource>
130     </resources>
131     <plugins>
132       <plugin>
133         <groupId>org.apache.maven.plugins</groupId>
134         <artifactId>maven-resources-plugin</artifactId>
135         <executions>
136           <execution>
137             <id>filter</id>
138             <goals>
139               <goal>resources</goal>
140             </goals>
141             <phase>generate-resources</phase>
142           </execution>
143         </executions>
144       </plugin>
145       <plugin>
146         <groupId>org.codehaus.mojo</groupId>
147         <artifactId>build-helper-maven-plugin</artifactId>
148         <executions>
149           <execution>
150             <id>attach-artifacts</id>
151             <goals>
152               <goal>attach-artifact</goal>
153             </goals>
154             <phase>package</phase>
155             <configuration>
156               <artifacts>
157                 <artifact>
158                   <file>${project.build.directory}/classes/${features.file}</file>
159                   <type>xml</type>
160                   <classifier>features</classifier>
161                 </artifact>
162               </artifacts>
163             </configuration>
164           </execution>
165         </executions>
166       </plugin>
167       <plugin>
168         <groupId>org.apache.maven.plugins</groupId>
169         <artifactId>maven-surefire-plugin</artifactId>
170         <version>2.16</version>
171         <configuration>
172           <systemPropertyVariables>
173             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
174             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
175             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
176           </systemPropertyVariables>
177           <dependenciesToScan>
178            <dependency>org.opendaylight.yangtools:features-test</dependency>
179           </dependenciesToScan>
180         </configuration>
181       </plugin>
182     </plugins>
183   </build>
184   <scm>
185     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
186     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
187     <tag>HEAD</tag>
188     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
189   </scm>
190 </project>