Performacne improvements via adding a netty-based openflowj and openflow plugin;...
[controller.git] / opendaylight / protocol_plugins / openflow_netty / 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.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>protocol_plugins.openflow_netty</artifactId>
11   <version>0.4.0-SNAPSHOT</version>
12   <packaging>bundle</packaging>
13
14   <profiles>
15     <profile>
16       <id>jenkins</id>
17       <activation>
18         <property>
19           <name>env.BUILD_NUMBER</name>
20         </property>
21       </activation>
22       <build>
23         <plugins>
24           <plugin>
25             <groupId>org.codehaus.mojo</groupId>
26             <artifactId>cobertura-maven-plugin</artifactId>
27             <version>2.5.1</version>
28             <configuration>
29               <formats>
30                 <format>xml</format>
31               </formats>
32             </configuration>
33             <executions>
34               <execution>
35                 <phase>package</phase>
36                 <goals>
37                   <goal>cobertura</goal>
38                 </goals>
39               </execution>
40             </executions>
41           </plugin>
42         </plugins>
43       </build>
44     </profile>
45   </profiles>
46   <build>
47     <plugins>
48       <plugin>
49         <groupId>org.apache.felix</groupId>
50         <artifactId>maven-bundle-plugin</artifactId>
51         <version>2.3.6</version>
52         <extensions>true</extensions>
53         <configuration>
54           <instructions>
55             <Import-Package>
56               org.opendaylight.controller.sal.packet,
57               org.opendaylight.controller.sal.action,
58               org.opendaylight.controller.sal.discovery,
59               org.opendaylight.controller.sal.topology,
60               org.opendaylight.controller.sal.core,
61               org.opendaylight.controller.sal.flowprogrammer,
62               org.opendaylight.controller.sal.reader,
63               org.opendaylight.controller.sal.inventory,
64               org.opendaylight.controller.sal.match,
65               org.opendaylight.controller.sal.utils,
66               org.opendaylight.controller.protocol_plugin.openflow.core,
67               org.apache.commons.lang3.builder,
68               org.apache.commons.lang3.tuple,
69               org.apache.felix.dm,
70               org.slf4j,
71               org.eclipse.osgi.framework.console,
72               org.osgi.framework,
73               javax.net.ssl,
74               org.jboss.netty.*
75             </Import-Package>
76             <Export-Package>
77               org.opendaylight.controller.protocol_plugin.openflow.core.internal,
78               org.opendaylight.controller.protocol_plugin.openflow.core
79             </Export-Package>
80             <Embed-Dependency>
81               org.openflow.openflowj_netty,org.jboss.netty;type=!pom;inline=false
82             </Embed-Dependency>
83             <Embed-Transitive>
84               false
85             </Embed-Transitive>
86             <Bundle-Activator>
87               <!--  TODO : UNCOMMENT THIS TO START NETTY-PLUGIN DURING RUNTIME  -->
88               org.opendaylight.controller.protocol_plugin.openflow.internal.Activator
89             </Bundle-Activator>
90           </instructions>
91         </configuration>
92       </plugin>
93     </plugins>
94   </build>
95   <dependencies>
96     <dependency>
97       <groupId>org.opendaylight.controller</groupId>
98       <artifactId>sal</artifactId>
99       <version>0.4.0-SNAPSHOT</version>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller.thirdparty</groupId>
103       <artifactId>org.openflow.openflowj_netty</artifactId>
104       <version>1.0.2-SNAPSHOT</version>
105     </dependency>
106     <dependency>
107       <groupId>junit</groupId>
108       <artifactId>junit</artifactId>
109       <version>4.8.1</version>
110       <scope>test</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.jboss.netty</groupId>
114       <artifactId>netty</artifactId>
115       <version>3.2.6.Final</version>
116     </dependency>
117
118   </dependencies>
119 </project>