changed pom structure, removed dependency on controller parent pom
[openflowplugin.git] / 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.openflowplugin</groupId>
6         <artifactId>openflowplugin-commons</artifactId>
7         <version>0.0.1-SNAPSHOT</version>
8         <relativePath>../commons</relativePath>
9     </parent>
10
11   <artifactId>protocol_plugins.openflow_netty</artifactId>
12   <version>0.1.0-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14
15   <build>
16     <plugins>
17       <plugin>
18         <groupId>org.apache.felix</groupId>
19         <artifactId>maven-bundle-plugin</artifactId>
20         <version>2.3.6</version>
21         <extensions>true</extensions>
22         <configuration>
23           <instructions>
24             <Import-Package>
25               org.opendaylight.controller.sal.packet,
26               org.opendaylight.controller.sal.action,
27               org.opendaylight.controller.sal.connection,
28               org.opendaylight.controller.sal.discovery,
29               org.opendaylight.controller.sal.topology,
30               org.opendaylight.controller.sal.core,
31               org.opendaylight.controller.sal.flowprogrammer,
32               org.opendaylight.controller.sal.reader,
33               org.opendaylight.controller.sal.inventory,
34               org.opendaylight.controller.sal.match,
35               org.opendaylight.controller.sal.utils,
36               org.opendaylight.openflowplugin.openflow.core,
37               org.opendaylight.openflowplugin.openflow.core.internal,
38               org.opendaylight.openflowplugin.openflow.internal,
39               org.apache.commons.lang3.builder,
40               org.apache.commons.lang3.tuple,
41               org.apache.felix.dm,
42               org.slf4j,
43               org.eclipse.osgi.framework.console,
44               org.osgi.framework,
45               javax.net.ssl,
46               org.jboss.netty.*
47             </Import-Package>
48             <Export-Package>
49               org.opendaylight.controller.protocol_plugin.openflow.core.internal;-split-package:=merge-first,
50               org.opendaylight.controller.protocol_plugin.openflow.core;-split-package:=merge-first,
51             </Export-Package>
52             <Embed-Dependency>
53               org.openflow.openflowj_netty,org.jboss.netty;protocol_plugins.openflow;type=!pom;inline=false
54             </Embed-Dependency>
55             <Embed-Transitive>
56               false
57             </Embed-Transitive>
58             <Bundle-Activator>
59               org.opendaylight.controller.protocol_plugin.openflow.internal.EnhancedActivator
60             </Bundle-Activator>
61           </instructions>
62         </configuration>
63       </plugin>
64     </plugins>
65   </build>
66   <dependencies>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>sal</artifactId>
70       <version>0.5.0-SNAPSHOT</version>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.controller</groupId>
74       <artifactId>sal.connection</artifactId>
75       <version>0.1.0-SNAPSHOT</version>
76     </dependency>
77     <!-- Make sure this comes before protocol_plugins.openflow Maven
78          honors the classpath order to reliable builds and here we
79          want to make sure that the openflowJ embedded is picking the
80          netty one over the non-netty enabled-->
81     <dependency>
82       <groupId>org.opendaylight.openflowjava.thirdparty</groupId>
83       <artifactId>org.openflow.openflowj_netty</artifactId>
84       <version>1.0.2-SNAPSHOT</version>
85     </dependency>
86     <dependency>
87      <groupId>org.opendaylight.openflowplugin</groupId>
88       <artifactId>openflowplugin</artifactId>
89       <version>0.0.1-SNAPSHOT</version>
90     </dependency>
91     <dependency>
92       <groupId>junit</groupId>
93       <artifactId>junit</artifactId>
94       <version>4.8.1</version>
95       <scope>test</scope>
96     </dependency>
97     <dependency>
98       <groupId>org.jboss.netty</groupId>
99       <artifactId>netty</artifactId>
100       <version>3.2.6.Final</version>
101     </dependency>
102   </dependencies>
103 </project>