Addition of OpFlex server configuration and message support.
[groupbasedpolicy.git] / groupbasedpolicy / 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.groupbasedpolicy</groupId>
6     <artifactId>groupbasedpolicy.project</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10
11   <artifactId>groupbasedpolicy</artifactId>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <sal.version>1.1-SNAPSHOT</sal.version>
16     <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
17     <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
18     <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
19   </properties>
20
21   <dependencies>
22     <dependency>
23       <groupId>ch.qos.logback</groupId>
24       <artifactId>logback-classic</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>ch.qos.logback</groupId>
28       <artifactId>logback-core</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>com.fasterxml.jackson.core</groupId>
32       <artifactId>jackson-core</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>com.fasterxml.jackson.core</groupId>
36       <artifactId>jackson-databind</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>com.fasterxml.jackson.core</groupId>
40       <artifactId>jackson-annotations</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>com.google.guava</groupId>
44       <artifactId>guava</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>io.netty</groupId>
48       <artifactId>netty-all</artifactId>
49       <version>4.0.10.Final</version>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>config-api</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-binding-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>sal-binding-config</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller</groupId>
65       <artifactId>sal-common-util</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller.model</groupId>
69       <artifactId>model-inventory</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-binding</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.yangtools</groupId>
77       <artifactId>yang-common</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.controller.model</groupId>
81       <artifactId>model-flow-base</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.controller.model</groupId>
85       <artifactId>model-flow-service</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.controller.model</groupId>
89       <artifactId>model-flow-statistics</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.controller.model</groupId>
93       <artifactId>model-flow-management</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller.model</groupId>
97       <artifactId>model-inventory</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.osgi</groupId>
101       <artifactId>org.osgi.core</artifactId>
102     </dependency>
103
104     <dependency>
105       <groupId>com.fasterxml.jackson.core</groupId>
106       <artifactId>jackson-annotations</artifactId>
107     </dependency>
108
109     <dependency>
110       <groupId>junit</groupId>
111       <artifactId>junit</artifactId>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.mockito</groupId>
116       <artifactId>mockito-all</artifactId>
117       <scope>test</scope>
118     </dependency>
119   </dependencies>
120
121   <!-- project build -->
122   <build>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.felix</groupId>
126         <artifactId>maven-bundle-plugin</artifactId>
127         <extensions>true</extensions>
128         <configuration>
129           <instructions>
130             <Import-Package>*</Import-Package>
131             <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
132           </instructions>
133           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
134         </configuration>
135       </plugin>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-surefire-plugin</artifactId>
139         <configuration>
140           <redirectTestOutputToFile>true</redirectTestOutputToFile>
141           <!-- needed for cobertura -->
142           <argLine>-XX:-UseSplitVerifier</argLine>
143         </configuration>
144       </plugin>
145       <plugin>
146         <groupId>org.codehaus.mojo</groupId>
147         <artifactId>build-helper-maven-plugin</artifactId>
148         <executions>
149           <execution>
150             <goals>
151               <goal>add-source</goal>
152             </goals>
153             <phase>generate-sources</phase>
154             <configuration>
155               <sources>
156                 <source>target/generated-sources/sal</source>
157                 <source>target/generated-sources/config</source>
158                 <source>target/generated-resources/</source>
159               </sources>
160             </configuration>
161           </execution>
162         </executions>
163       </plugin>
164       <!-- Code coverage analysis -->
165       <plugin>
166         <groupId>org.codehaus.mojo</groupId>
167         <artifactId>cobertura-maven-plugin</artifactId>
168         <version>2.6</version>
169         <configuration>
170           <instrumentation>
171             <excludes>
172               <exclude>org/opendaylight/yang/**/*.class</exclude>
173               <exclude>org/opendaylight/controller/config/yang/**/*.class</exclude>
174             </excludes>
175           </instrumentation>
176         </configuration>
177       </plugin>
178       <plugin>
179         <groupId>org.opendaylight.yangtools</groupId>
180         <artifactId>yang-maven-plugin</artifactId>
181         <dependencies>
182           <dependency>
183             <groupId>org.opendaylight.controller</groupId>
184             <artifactId>yang-jmx-generator-plugin</artifactId>
185             <version>0.2.5-SNAPSHOT</version>
186           </dependency>
187           <dependency>
188             <groupId>org.opendaylight.yangtools</groupId>
189             <artifactId>maven-sal-api-gen-plugin</artifactId>
190             <version>${yangtools.version}</version>
191             <type>jar</type>
192           </dependency>
193         </dependencies>
194         <executions>
195           <execution>
196             <goals>
197               <goal>generate-sources</goal>
198             </goals>
199             <configuration>
200               <codeGenerators>
201                 <generator>
202                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
203                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
204                   <additionalConfiguration>
205                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
206                   </additionalConfiguration>
207                 </generator>
208                 <generator>
209                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
210                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
211                 </generator>
212                 <generator>
213                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
214                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
215                 </generator>
216               </codeGenerators>
217               <inspectDependencies>true</inspectDependencies>
218             </configuration>
219           </execution>
220         </executions>
221       </plugin>
222     </plugins>
223   </build>
224
225   <!-- Project reporting -->
226   <reporting>
227     <plugins>
228       <!-- Code coverage analysis -->
229       <plugin>
230         <groupId>org.codehaus.mojo</groupId>
231         <artifactId>cobertura-maven-plugin</artifactId>
232         <version>2.6</version>
233         <configuration>
234           <formats>
235             <format>html</format>
236             <format>xml</format>
237           </formats>
238         </configuration>
239       </plugin>
240     </plugins>
241   </reporting>
242 </project>