Modify the openflow renderer to support physical topology monitoring and ARP handling.
[nemo.git] / nemo-renderers / openflow-renderer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Huawei, Inc and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>config-parent</artifactId>
15     <version>0.4.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>openflow-renderer</artifactId>
21   <version>1.0.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <jacoco.version>0.7.2.201409121644</jacoco.version>
27     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
28     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
29     <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
30     <liblldp.version>0.10.0-SNAPSHOT</liblldp.version>
31   </properties>
32
33   <dependencies>
34     <dependency>
35       <groupId>org.opendaylight.mdsal.model</groupId>
36       <artifactId>yang-ext</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.openflowplugin</groupId>
40       <artifactId>openflowplugin-extension-nicira</artifactId>
41       <version>${openflowplugin.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller.model</groupId>
45       <artifactId>model-topology</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>liblldp</artifactId>
50       <version>${liblldp.version}</version>
51     </dependency>
52     <dependency>
53       <groupId>commons-net</groupId>
54       <artifactId>commons-net</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>${project.groupId}</groupId>
58       <artifactId>nemo-api</artifactId>
59       <version>${project.version}</version>
60     </dependency>
61     <dependency>
62       <groupId>${project.groupId}</groupId>
63       <artifactId>nemo-impl</artifactId>
64       <version>${project.version}</version>
65     </dependency>
66     <dependency>
67       <groupId>org.mockito</groupId>
68       <artifactId>mockito-all</artifactId>
69       <scope>test</scope>
70     </dependency>
71     <dependency>
72       <groupId>junit</groupId>
73       <artifactId>junit</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.slf4j</groupId>
77       <artifactId>slf4j-simple</artifactId>
78       <scope>test</scope>
79     </dependency>
80     <dependency>
81       <groupId>com.fasterxml.jackson.core</groupId>
82       <artifactId>jackson-core</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>com.fasterxml.jackson.core</groupId>
86       <artifactId>jackson-databind</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>com.fasterxml.jackson.core</groupId>
90       <artifactId>jackson-annotations</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.codehaus.jettison</groupId>
94       <artifactId>jettison</artifactId>
95     </dependency>
96   </dependencies>
97
98   <build>
99     <pluginManagement>
100       <plugins>
101         <plugin>
102           <groupId>org.jacoco</groupId>
103           <artifactId>jacoco-maven-plugin</artifactId>
104           <version>${jacoco.version}</version>
105         </plugin>
106       </plugins>
107     </pluginManagement>
108     <plugins>
109       <plugin>
110         <groupId>org.apache.felix</groupId>
111         <artifactId>maven-bundle-plugin</artifactId>
112         <configuration>
113           <instructions>
114             <Export-Package>org.codehaus.jackson,
115               org.codehaus.jackson.*,
116               org.joda.time.*,
117             </Export-Package>
118             <Import-Package>*</Import-Package>
119           </instructions>
120         </configuration>
121       </plugin>
122       <plugin>
123         <groupId>org.opendaylight.yangtools</groupId>
124         <artifactId>yang-maven-plugin</artifactId>
125         <executions>
126           <execution>
127             <goals>
128               <goal>generate-sources</goal>
129             </goals>
130             <configuration>
131               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
132               <codeGenerators>
133                 <generator>
134                   <codeGeneratorClass>
135                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
136                   </codeGeneratorClass>
137                   <outputBaseDir>
138                     ${salGeneratorPath}
139                   </outputBaseDir>
140                 </generator>
141               </codeGenerators>
142               <inspectDependencies>true</inspectDependencies>
143             </configuration>
144           </execution>
145         </executions>
146         <dependencies>
147           <dependency>
148             <groupId>org.opendaylight.mdsal</groupId>
149             <artifactId>maven-sal-api-gen-plugin</artifactId>
150             <version>${yangtools.version}</version>
151             <type>jar</type>
152           </dependency>
153         </dependencies>
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             <goals>
162               <goal>attach-artifact</goal>
163             </goals>
164             <phase>package</phase>
165             <configuration>
166               <artifacts>
167                 <artifact>
168                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/config.xml</file>
169                   <type>xml</type>
170                   <classifier>config</classifier>
171                 </artifact>
172                 <artifact>
173                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/node-resource.json</file>
174                   <type>json</type>
175                   <classifier>node-resource</classifier>
176                 </artifact>
177                 <artifact>
178                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/host-resource.json</file>
179                   <type>json</type>
180                   <classifier>host-resource</classifier>
181                 </artifact>
182                 <artifact>
183                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/link-resource.json</file>
184                   <type>json</type>
185                   <classifier>link-resource</classifier>
186                 </artifact>
187                 <artifact>
188                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/external-resource.json</file>
189                   <type>json</type>
190                   <classifier>external-resource</classifier>
191                 </artifact>
192               </artifacts>
193             </configuration>
194           </execution>
195         </executions>
196       </plugin>
197       <plugin>
198         <groupId>org.jacoco</groupId>
199         <artifactId>jacoco-maven-plugin</artifactId>
200         <configuration>
201           <includes>
202             <include>org.opendaylight.nemo.*</include>
203           </includes>
204         </configuration>
205         <executions>
206           <execution>
207             <id>pre-unit-test</id>
208             <goals>
209               <goal>prepare-agent</goal>
210             </goals>
211             <configuration>
212               <destFile>${sonar.jacoco.reportPath}</destFile>
213             </configuration>
214           </execution>
215           <execution>
216             <id>post-unit-test</id>
217             <goals>
218               <goal>report</goal>
219             </goals>
220             <configuration>
221               <dataFile>${sonar.jacoco.reportPath}</dataFile>
222             </configuration>
223           </execution>
224         </executions>
225       </plugin>
226     </plugins>
227   </build>
228
229   <scm>
230     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
231     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
232     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
233     <tag>HEAD</tag>
234   </scm>
235 </project>