Tap and redirect use 4-tuple rules. For redirect, traffic from the
[affinity.git] / analytics / implementation / 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
5   <parent>
6     <groupId>org.opendaylight.affinity</groupId>
7     <artifactId>affinityParent</artifactId>
8     <version>0.4.2-SNAPSHOT</version>
9     <relativePath>../..</relativePath>
10   </parent>
11
12   <groupId>org.opendaylight.affinity</groupId>
13   <artifactId>analytics.implementation</artifactId>
14   <version>0.4.2-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16
17   <properties>
18     <yang.version>0.6.1</yang.version>
19   </properties>
20
21   <repositories>
22     <!-- OpenDayLight Released artifact -->
23     <repository>
24       <id>opendaylight-release</id>
25       <name>opendaylight-release</name>
26       <url>${nexusproxy}/repositories/opendaylight.release/</url>
27     </repository>
28     <!-- OpenDayLight Snapshot artifact -->
29     <repository>
30       <id>opendaylight-snapshot</id>
31       <name>opendaylight-snapshot</name>
32       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
33     </repository>
34   </repositories>
35
36   <build>
37     <pluginManagement>
38       <plugins>
39         <plugin>
40           <groupId>org.jacoco</groupId>
41           <artifactId>jacoco-maven-plugin</artifactId>
42           <version>0.5.3.201107060350</version>
43         </plugin>
44       </plugins>
45     </pluginManagement>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.felix</groupId>
49         <artifactId>maven-bundle-plugin</artifactId>
50         <version>2.3.6</version>
51         <extensions>true</extensions>
52         <configuration>
53           <instructions>
54             <Import-Package>
55               org.opendaylight.affinity.affinity,
56               org.opendaylight.affinity.analytics,
57               org.opendaylight.controller.clustering.services,
58               org.opendaylight.controller.hosttracker,
59               org.opendaylight.controller.hosttracker.hostAware,
60               org.opendaylight.controller.sal.core,
61               org.opendaylight.controller.sal.flowprogrammer,
62               org.opendaylight.controller.sal.match,
63               org.opendaylight.controller.sal.packet.address,
64               org.opendaylight.controller.sal.reader,
65               org.opendaylight.controller.sal.utils,
66               org.opendaylight.controller.statisticsmanager,
67               org.apache.felix.dm,
68               org.slf4j
69             </Import-Package>
70             <Bundle-Activator>
71               org.opendaylight.affinity.analytics.internal.Activator
72             </Bundle-Activator>
73           </instructions>
74           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
75         </configuration>
76       </plugin>
77       <plugin>
78         <groupId>org.jacoco</groupId>
79         <artifactId>jacoco-maven-plugin</artifactId>
80         <configuration>
81           <includes>org.opendaylight.controller.*</includes>
82         </configuration>
83         <executions>
84           <execution>
85             <id>pre-test</id>
86             <goals>
87               <goal>prepare-agent</goal>
88             </goals>
89           </execution>
90           <execution>
91             <id>post-test</id>
92             <phase>test</phase>
93             <goals>
94               <goal>report</goal>
95             </goals>
96           </execution>
97         </executions>
98       </plugin>
99       <!-- START YANG -->
100       <plugin>
101         <groupId>org.opendaylight.yangtools</groupId>
102         <artifactId>yang-maven-plugin</artifactId>
103         <version>0.6.1</version>
104         <executions>
105           <execution>
106             <goals>
107               <!-- Uncomment out the next line to use the yang model -->
108 <!--              <goal>generate-sources</goal> -->
109             </goals>
110             <configuration>
111               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
112               <codeGenerators>
113                 <generator>
114                   <codeGeneratorClass>
115                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
116                   </codeGeneratorClass>
117                   <outputBaseDir>
118                     target/generated-sources/sal
119                   </outputBaseDir>
120                 </generator>
121               </codeGenerators>
122               <inspectDependencies>false</inspectDependencies>
123             </configuration>
124           </execution>
125         </executions>        
126         <dependencies>
127           <dependency>
128             <groupId>org.opendaylight.yangtools</groupId>
129             <artifactId>maven-sal-api-gen-plugin</artifactId>
130             <version>0.6.1</version>
131             <type>jar</type>
132           </dependency>
133         </dependencies>
134       </plugin>
135       <plugin>
136         <groupId>org.codehaus.mojo</groupId>
137         <artifactId>build-helper-maven-plugin</artifactId>
138         <version>1.7</version>
139         <executions>
140           <execution>
141             <phase>generate-sources</phase>
142             <goals>
143               <goal>add-source</goal>
144             </goals>
145             <configuration>
146               <sources>
147                 <source>target/generated-sources/sal</source>
148               </sources>
149             </configuration>
150           </execution>
151         </executions>
152       </plugin>
153       <!-- END YANG -->
154     </plugins>
155   </build>
156   <dependencies>
157     <dependency>
158       <groupId>junit</groupId>
159       <artifactId>junit</artifactId>
160       <version>${junit.version}</version>
161       <scope>test</scope>
162     </dependency>
163     <dependency>
164       <groupId>org.opendaylight.affinity</groupId>
165       <artifactId>affinity</artifactId>
166       <version>0.4.2-SNAPSHOT</version>
167     </dependency>
168     <dependency>
169       <groupId>org.opendaylight.affinity</groupId>
170       <artifactId>analytics</artifactId>
171       <version>0.4.2-SNAPSHOT</version>
172     </dependency>
173     <dependency>
174       <groupId>org.opendaylight.controller</groupId>
175       <artifactId>clustering.services</artifactId>
176       <version>0.5.0</version>
177     </dependency>
178     <dependency>
179       <groupId>org.opendaylight.controller</groupId>
180       <artifactId>hosttracker</artifactId>
181       <version>0.5.1</version>
182     </dependency>
183     <dependency>
184       <groupId>org.opendaylight.controller</groupId>
185       <artifactId>sal</artifactId>
186       <version>0.7.0</version>
187     </dependency>
188     <dependency>
189       <groupId>org.opendaylight.controller</groupId>
190       <artifactId>statisticsmanager</artifactId>
191       <version>0.5.0</version>
192     </dependency>
193     <!-- START YANG -->
194     <dependency>
195       <groupId>org.opendaylight.yangtools</groupId>
196       <artifactId>yang-binding</artifactId>
197       <version>${yang.version}</version>
198     </dependency>
199       <dependency>
200         <groupId>org.opendaylight.yangtools</groupId>
201         <artifactId>yang-common</artifactId>
202         <version>${yang.version}</version>
203       </dependency>
204       <dependency>
205         <groupId>org.opendaylight.yangtools.model</groupId>
206         <artifactId>ietf-inet-types</artifactId>
207         <version>2010.09.24.3</version>
208       </dependency>
209       <dependency>
210         <groupId>org.opendaylight.yangtools.model</groupId>
211         <artifactId>ietf-yang-types</artifactId>
212         <version>2010.09.24.3</version>
213       </dependency>
214     <!-- END YANG -->
215   </dependencies>
216 </project>