Fix various warnings from json-rpc
[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.google.guava</groupId>
40       <artifactId>guava</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>io.netty</groupId>
44       <artifactId>netty-all</artifactId>
45       <version>4.0.10.Final</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>config-api</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>sal-binding-api</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-binding-config</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>sal-common-util</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller.model</groupId>
65       <artifactId>model-inventory</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.yangtools</groupId>
69       <artifactId>yang-binding</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-common</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.osgi</groupId>
77       <artifactId>org.osgi.core</artifactId>
78     </dependency>
79
80     <dependency>
81       <groupId>com.fasterxml.jackson.core</groupId>
82       <artifactId>jackson-annotations</artifactId>
83       <scope>test</scope>
84     </dependency>
85
86     <dependency>
87       <groupId>junit</groupId>
88       <artifactId>junit</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.mockito</groupId>
93       <artifactId>mockito-all</artifactId>
94       <scope>test</scope>
95     </dependency>
96   </dependencies>
97
98   <!-- Project reporting -->
99   <reporting>
100     <plugins>
101       <!-- Code coverage analysis -->
102       <plugin>
103         <groupId>org.codehaus.mojo</groupId>
104         <artifactId>cobertura-maven-plugin</artifactId>
105         <version>2.6</version>
106       </plugin>
107     </plugins>
108   </reporting>
109
110   <!-- project build -->
111   <build>
112     <plugins>
113       <plugin>
114         <groupId>org.apache.felix</groupId>
115         <artifactId>maven-bundle-plugin</artifactId>
116         <extensions>true</extensions>
117         <configuration>
118           <instructions>
119             <Import-Package>*</Import-Package>
120             <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
121           </instructions>
122           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
123         </configuration>
124       </plugin>
125       <!-- Code coverage analysis -->
126       <plugin>
127         <groupId>org.codehaus.mojo</groupId>
128         <artifactId>cobertura-maven-plugin</artifactId>
129         <version>2.6</version>
130         <configuration>
131           <instrumentation>
132             <excludes>
133               <exclude>org/opendaylight/yang/**/*.class</exclude>
134               <exclude>org/opendaylight/controller/config/yang/**/*.class</exclude>
135             </excludes>
136           </instrumentation>
137         </configuration>
138       </plugin>
139       <plugin>
140         <groupId>org.apache.maven.plugins</groupId>
141         <artifactId>maven-surefire-plugin</artifactId>
142         <configuration>
143           <redirectTestOutputToFile>true</redirectTestOutputToFile>
144           <!-- needed for cobertura -->
145           <argLine>-XX:-UseSplitVerifier</argLine>
146         </configuration>
147       </plugin>
148       <plugin>
149         <groupId>org.codehaus.mojo</groupId>
150         <artifactId>build-helper-maven-plugin</artifactId>
151         <executions>
152           <execution>
153             <goals>
154               <goal>add-source</goal>
155             </goals>
156             <phase>generate-sources</phase>
157             <configuration>
158               <sources>
159                 <source>target/generated-sources/sal</source>
160                 <source>target/generated-sources/config</source>
161                 <source>target/generated-resources/</source>
162               </sources>
163             </configuration>
164           </execution>
165         </executions>
166       </plugin>
167       <plugin>
168         <groupId>org.opendaylight.yangtools</groupId>
169         <artifactId>yang-maven-plugin</artifactId>
170         <dependencies>
171           <dependency>
172             <groupId>org.opendaylight.controller</groupId>
173             <artifactId>yang-jmx-generator-plugin</artifactId>
174             <version>0.2.5-SNAPSHOT</version>
175           </dependency>
176           <dependency>
177             <groupId>org.opendaylight.yangtools</groupId>
178             <artifactId>maven-sal-api-gen-plugin</artifactId>
179             <version>${yangtools.version}</version>
180             <type>jar</type>
181           </dependency>
182         </dependencies>
183         <executions>
184           <execution>
185             <goals>
186               <goal>generate-sources</goal>
187             </goals>
188             <configuration>
189               <codeGenerators>
190                 <generator>
191                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
192                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
193                   <additionalConfiguration>
194                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
195                   </additionalConfiguration>
196                 </generator>
197                 <generator>
198                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
199                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
200                 </generator>
201                 <generator>
202                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
203                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
204                 </generator>
205               </codeGenerators>
206               <inspectDependencies>true</inspectDependencies>
207             </configuration>
208           </execution>
209         </executions>
210       </plugin>
211     </plugins>
212   </build>
213 </project>