571d5e9c2a41ea54f271487196e8bbdf55f43cd3
[openflowplugin.git] / openflowplugin / 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-parent</artifactId>
7         <version>0.0.3-SNAPSHOT</version>
8         <relativePath>../</relativePath>
9     </parent>
10
11     <artifactId>openflowplugin</artifactId>
12     <packaging>bundle</packaging>
13
14     <properties>
15         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
16         <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
17         <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
18         <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
19         <sal-binding-api.version>1.1-SNAPSHOT</sal-binding-api.version>
20     </properties>
21
22     <build>
23         <plugins>
24             <plugin>
25                 <groupId>org.jacoco</groupId>
26                 <artifactId>jacoco-maven-plugin</artifactId>
27                 <configuration>
28                     <excludes>
29                         <exclude>
30                             ${project.basedir}/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/**/*.java
31                         </exclude>
32                     </excludes>
33                 </configuration>
34             </plugin>
35             <plugin>
36                 <groupId>org.apache.felix</groupId>
37                 <artifactId>maven-bundle-plugin</artifactId>
38             </plugin>
39             <plugin>
40                 <groupId>org.opendaylight.yangtools</groupId>
41                 <artifactId>yang-maven-plugin</artifactId>
42                 <executions>
43                     <execution>
44                         <goals>
45                             <goal>generate-sources</goal>
46                         </goals>
47                         <configuration>
48                             <codeGenerators>
49                                 <generator>
50                                     <codeGeneratorClass>
51                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
52                                     </codeGeneratorClass>
53                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
54                                     <additionalConfiguration>
55                                         <namespaceToPackage1>
56                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
57                                         </namespaceToPackage1>
58                                     </additionalConfiguration>
59                                 </generator>
60                                 <generator>
61                                     <codeGeneratorClass>
62                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
63                                     </codeGeneratorClass>
64                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
65                                 </generator>
66                                 <generator>
67                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
68                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
69                                 </generator>
70                             </codeGenerators>
71                             <inspectDependencies>true</inspectDependencies>
72                         </configuration>
73                     </execution>
74                 </executions>
75                 <dependencies>
76                     <dependency>
77                         <groupId>org.opendaylight.controller</groupId>
78                         <artifactId>yang-jmx-generator-plugin</artifactId>
79                         <version>${config.parent.version}</version>
80                     </dependency>
81                     <dependency>
82                         <groupId>org.opendaylight.yangtools</groupId>
83                         <artifactId>maven-sal-api-gen-plugin</artifactId>
84                         <version>${yangtools.version}</version>
85                         <type>jar</type>
86                     </dependency>
87                 </dependencies>
88             </plugin>
89         </plugins>
90     </build>
91     <dependencies>
92         <dependency>
93             <groupId>org.opendaylight.openflowplugin</groupId>
94             <artifactId>openflowplugin-api</artifactId>
95             <version>${project.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.openflowplugin</groupId>
99             <artifactId>openflowplugin-extension-api</artifactId>
100             <version>${project.version}</version>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.controller</groupId>
104             <artifactId>liblldp</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.controller.model</groupId>
108             <artifactId>model-flow-base</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.controller.model</groupId>
112             <artifactId>model-flow-service</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>org.opendaylight.controller.model</groupId>
116             <artifactId>model-flow-statistics</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller.model</groupId>
120             <artifactId>model-inventory</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.controller</groupId>
124             <artifactId>sal-binding-api</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.controller</groupId>
128             <artifactId>sal-binding-broker-impl</artifactId>
129             <version>${sal-binding-api.version}</version>
130         </dependency>
131
132         <dependency>
133             <groupId>org.opendaylight.openflowjava</groupId>
134             <artifactId>openflow-protocol-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.openflowjava</groupId>
138             <artifactId>openflow-protocol-spi</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.openflowjava</groupId>
142             <artifactId>openflow-protocol-impl</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.opendaylight.controller</groupId>
146             <artifactId>config-api</artifactId>
147         </dependency>
148
149         <dependency>
150             <groupId>com.google.guava</groupId>
151             <artifactId>guava</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.apache.commons</groupId>
155             <artifactId>commons-lang3</artifactId>
156         </dependency>
157
158         <dependency>
159             <groupId>junit</groupId>
160             <artifactId>junit</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.mockito</groupId>
165             <artifactId>mockito-all</artifactId>
166             <scope>test</scope>
167         </dependency>
168
169         <dependency>
170             <groupId>org.slf4j</groupId>
171             <artifactId>slf4j-log4j12</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>sal-common-util</artifactId>
176         </dependency>
177         <dependency>
178             <groupId>org.opendaylight.openflowjava</groupId>
179             <artifactId>util</artifactId>
180         </dependency>
181
182     </dependencies>
183 </project>
184