Work toward OF overlay renderer.
[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       <scope>test</scope>
108     </dependency>
109
110     <dependency>
111       <groupId>junit</groupId>
112       <artifactId>junit</artifactId>
113       <scope>test</scope>
114     </dependency>
115     <dependency>
116       <groupId>org.mockito</groupId>
117       <artifactId>mockito-all</artifactId>
118       <scope>test</scope>
119     </dependency>
120   </dependencies>
121
122   <!-- project build -->
123   <build>
124     <plugins>
125       <plugin>
126         <groupId>org.apache.felix</groupId>
127         <artifactId>maven-bundle-plugin</artifactId>
128         <extensions>true</extensions>
129         <configuration>
130           <instructions>
131             <Import-Package>*</Import-Package>
132             <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
133           </instructions>
134           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
135         </configuration>
136       </plugin>
137       <plugin>
138         <groupId>org.apache.maven.plugins</groupId>
139         <artifactId>maven-surefire-plugin</artifactId>
140         <configuration>
141           <redirectTestOutputToFile>true</redirectTestOutputToFile>
142           <!-- needed for cobertura -->
143           <argLine>-XX:-UseSplitVerifier</argLine>
144         </configuration>
145       </plugin>
146       <plugin>
147         <groupId>org.codehaus.mojo</groupId>
148         <artifactId>build-helper-maven-plugin</artifactId>
149         <executions>
150           <execution>
151             <goals>
152               <goal>add-source</goal>
153             </goals>
154             <phase>generate-sources</phase>
155             <configuration>
156               <sources>
157                 <source>target/generated-sources/sal</source>
158                 <source>target/generated-sources/config</source>
159                 <source>target/generated-resources/</source>
160               </sources>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165       <!-- Code coverage analysis -->
166       <plugin>
167         <groupId>org.codehaus.mojo</groupId>
168         <artifactId>cobertura-maven-plugin</artifactId>
169         <version>2.6</version>
170         <configuration>
171           <instrumentation>
172             <excludes>
173               <exclude>org/opendaylight/yang/**/*.class</exclude>
174               <exclude>org/opendaylight/controller/config/yang/**/*.class</exclude>
175             </excludes>
176           </instrumentation>
177         </configuration>
178       </plugin>
179       <plugin>
180         <groupId>org.opendaylight.yangtools</groupId>
181         <artifactId>yang-maven-plugin</artifactId>
182         <dependencies>
183           <dependency>
184             <groupId>org.opendaylight.controller</groupId>
185             <artifactId>yang-jmx-generator-plugin</artifactId>
186             <version>0.2.5-SNAPSHOT</version>
187           </dependency>
188           <dependency>
189             <groupId>org.opendaylight.yangtools</groupId>
190             <artifactId>maven-sal-api-gen-plugin</artifactId>
191             <version>${yangtools.version}</version>
192             <type>jar</type>
193           </dependency>
194         </dependencies>
195         <executions>
196           <execution>
197             <goals>
198               <goal>generate-sources</goal>
199             </goals>
200             <configuration>
201               <codeGenerators>
202                 <generator>
203                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
204                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
205                   <additionalConfiguration>
206                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
207                   </additionalConfiguration>
208                 </generator>
209                 <generator>
210                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
211                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
212                 </generator>
213                 <generator>
214                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
215                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
216                 </generator>
217               </codeGenerators>
218               <inspectDependencies>true</inspectDependencies>
219             </configuration>
220           </execution>
221         </executions>
222       </plugin>
223     </plugins>
224   </build>
225
226   <!-- Project reporting -->
227   <reporting>
228     <plugins>
229       <!-- Code coverage analysis -->
230       <plugin>
231         <groupId>org.codehaus.mojo</groupId>
232         <artifactId>cobertura-maven-plugin</artifactId>
233         <version>2.6</version>
234       </plugin>
235     </plugins>
236   </reporting>
237 </project>