Release Lithium-SR4
[openflowjava.git] / openflow-protocol-impl / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.openflowjava</groupId>
5         <artifactId>openflow-protocol-parent</artifactId>
6         <version>0.6.4-Lithium-SR4</version>
7     </parent>
8     <artifactId>openflow-protocol-impl</artifactId>
9     <packaging>bundle</packaging>
10     <name>Openflow Protocol Library - IMPL</name>
11     <scm>
12         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
13       <tag>HEAD</tag>
14   </scm>
15
16     <build>
17         <plugins>
18             <plugin>
19               <groupId>org.apache.felix</groupId>
20               <artifactId>maven-bundle-plugin</artifactId>
21               <extensions>true</extensions>
22               <configuration>
23                 <instructions>
24                     <Export-Package>
25                       org.opendaylight.openflowjava.protocol.impl.*,
26                       org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.provider.impl.*
27                     </Export-Package>
28                 </instructions>
29               </configuration>
30             </plugin>
31             <plugin>
32                 <groupId>org.opendaylight.yangtools</groupId>
33                 <artifactId>yang-maven-plugin</artifactId>
34                 <executions>
35                     <execution>
36                         <goals>
37                             <goal>generate-sources</goal>
38                         </goals>
39                         <configuration>
40                             <codeGenerators>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
46                                     <additionalConfiguration>
47                                         <namespaceToPackage1>
48                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
49                                         </namespaceToPackage1>
50                                     </additionalConfiguration>
51                                 </generator>
52                                 <generator>
53                                     <codeGeneratorClass>
54                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
55                                     </codeGeneratorClass>
56                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
60                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
61                                 </generator>
62                             </codeGenerators>
63                             <inspectDependencies>true</inspectDependencies>
64                         </configuration>
65                     </execution>
66                 </executions>
67                 <dependencies>
68                     <dependency>
69                         <groupId>org.opendaylight.controller</groupId>
70                         <artifactId>yang-jmx-generator-plugin</artifactId>
71                         <version>${config.version}</version>
72                     </dependency>
73                     <dependency>
74                         <groupId>org.opendaylight.yangtools</groupId>
75                         <artifactId>maven-sal-api-gen-plugin</artifactId>
76                         <version>${yangtools.version}</version>
77                         <type>jar</type>
78                     </dependency>
79                 </dependencies>
80             </plugin>
81             <plugin>
82                 <groupId>org.apache.maven.plugins</groupId>
83                 <artifactId>maven-jar-plugin</artifactId>
84                 <executions>
85                     <execution>
86                         <goals>
87                             <goal>test-jar</goal>
88                         </goals>
89                     </execution>
90                 </executions>
91             </plugin>
92         </plugins>
93     </build>
94
95     <dependencies>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>openflow-protocol-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>${project.groupId}</groupId>
102             <artifactId>openflow-protocol-spi</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.openflowjava</groupId>
106             <artifactId>util</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.controller</groupId>
110             <artifactId>sal-common-util</artifactId>
111             <exclusions>
112                 <exclusion>
113                     <groupId>org.opendaylight.controller</groupId>
114                     <artifactId>sal-common-api</artifactId>
115                 </exclusion>
116                 <exclusion>
117                     <groupId>org.opendaylight.yangtools</groupId>
118                     <artifactId>concepts</artifactId>
119                 </exclusion>
120             </exclusions>
121         </dependency>
122         <dependency>
123             <groupId>io.netty</groupId>
124             <artifactId>netty-handler</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.osgi</groupId>
128             <artifactId>org.osgi.core</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>org.slf4j</groupId>
132             <artifactId>slf4j-log4j12</artifactId>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>com.google.guava</groupId>
137             <artifactId>guava</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>junit</groupId>
141             <artifactId>junit</artifactId>
142             <scope>test</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.mockito</groupId>
146             <artifactId>mockito-all</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.opendaylight.controller</groupId>
150             <artifactId>config-api</artifactId>
151         </dependency>
152     </dependencies>
153 </project>