Distributed multi-virtual-router functionality.
[groupbasedpolicy.git] / renderers / 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.2.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10
11   <artifactId>groupbasedpolicy-renderers</artifactId>
12   <version>0.2.0-SNAPSHOT</version>
13   <packaging>pom</packaging>
14
15   <modules>
16     <module>opflex</module>
17     <module>ofoverlay</module>
18   </modules>
19
20   <dependencies>
21     <dependency>
22       <groupId>org.opendaylight.groupbasedpolicy</groupId>
23       <artifactId>groupbasedpolicy</artifactId>
24       <version>${project.version}</version>
25     </dependency>
26     <dependency>
27       <groupId>ch.qos.logback</groupId>
28       <artifactId>logback-classic</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>ch.qos.logback</groupId>
32       <artifactId>logback-core</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>com.fasterxml.jackson.core</groupId>
36       <artifactId>jackson-core</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>com.fasterxml.jackson.core</groupId>
40       <artifactId>jackson-databind</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>com.fasterxml.jackson.core</groupId>
44       <artifactId>jackson-annotations</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>com.google.guava</groupId>
48       <artifactId>guava</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>io.netty</groupId>
52       <artifactId>netty-all</artifactId>
53       <version>4.0.10.Final</version>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>config-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>sal-binding-api</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller</groupId>
65       <artifactId>sal-binding-config</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>sal-common-util</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.controller.model</groupId>
73       <artifactId>model-inventory</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.yangtools</groupId>
77       <artifactId>yang-binding</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.yangtools</groupId>
81       <artifactId>yang-common</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.osgi</groupId>
85       <artifactId>org.osgi.core</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>commons-net</groupId>
89       <artifactId>commons-net</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>commons-lang</groupId>
93       <artifactId>commons-lang</artifactId>
94       <version>2.6</version>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.commons</groupId>
98       <artifactId>commons-exec</artifactId>
99       <version>1.1</version>
100     </dependency>
101     <dependency>
102       <groupId>junit</groupId>
103       <artifactId>junit</artifactId>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>org.mockito</groupId>
108       <artifactId>mockito-all</artifactId>
109       <version>1.9.5</version>
110       <scope>test</scope>
111     </dependency>
112   </dependencies>
113
114   <!-- project build -->
115   <build>
116     <plugins>
117       <plugin>
118         <groupId>org.apache.felix</groupId>
119         <artifactId>maven-bundle-plugin</artifactId>
120         <extensions>true</extensions>
121         <configuration>
122           <instructions>
123             <Import-Package>
124              org.apache.http.*;version="4.3.2",
125              *;resolution:=optional
126             </Import-Package>
127             <Embed-Dependency>httpclient,httpcore,commons-net,commons-lang,commons-exec;type=!pom;inline=false</Embed-Dependency>
128             <Export-Package>
129             </Export-Package>
130           </instructions>
131           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
132         </configuration>
133       </plugin>
134       <plugin>
135         <groupId>org.codehaus.mojo</groupId>
136         <artifactId>build-helper-maven-plugin</artifactId>
137         <executions>
138           <execution>
139             <goals>
140               <goal>add-source</goal>
141             </goals>
142             <phase>generate-sources</phase>
143             <configuration>
144               <sources>
145                 <source>target/generated-sources/sal</source>
146                 <source>target/generated-sources/config</source>
147                 <source>target/generated-resources/</source>
148               </sources>
149             </configuration>
150           </execution>
151         </executions>
152       </plugin>
153       <plugin>
154         <groupId>org.opendaylight.yangtools</groupId>
155         <artifactId>yang-maven-plugin</artifactId>
156         <dependencies>
157           <dependency>
158             <groupId>org.opendaylight.controller</groupId>
159             <artifactId>yang-jmx-generator-plugin</artifactId>
160             <version>0.3.0-SNAPSHOT</version>
161           </dependency>
162           <dependency>
163             <groupId>org.opendaylight.yangtools</groupId>
164             <artifactId>maven-sal-api-gen-plugin</artifactId>
165             <version>${yangtools.version}</version>
166             <type>jar</type>
167           </dependency>
168         </dependencies>
169         <executions>
170           <execution>
171             <goals>
172               <goal>generate-sources</goal>
173             </goals>
174             <configuration>
175               <codeGenerators>
176                 <generator>
177                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
178                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
179                   <additionalConfiguration>
180                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
181                   </additionalConfiguration>
182                 </generator>
183                 <generator>
184                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
185                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
186                 </generator>
187                 <generator>
188                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
189                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
190                 </generator>
191               </codeGenerators>
192               <inspectDependencies>true</inspectDependencies>
193             </configuration>
194           </execution>
195         </executions>
196       </plugin>
197       <plugin>
198         <groupId>org.apache.maven.plugins</groupId>
199         <artifactId>maven-surefire-plugin</artifactId>
200         <configuration>
201           <redirectTestOutputToFile>true</redirectTestOutputToFile>
202         </configuration>
203       </plugin>
204       <plugin>
205         <groupId>org.jacoco</groupId>
206         <artifactId>jacoco-maven-plugin</artifactId>
207         <executions>
208           <execution>
209             <id>pre-unit-test</id>
210             <goals>
211               <goal>prepare-agent</goal>
212             </goals>
213           </execution>
214           <execution>
215             <id>post-unit-test</id>
216             <phase>test</phase>
217             <goals>
218               <goal>report</goal>
219             </goals>
220             <configuration>
221               <dataFile>${sonar.jacoco.reportPath}</dataFile>
222               <includes>
223                 <include>org/opendaylight/groupbasedpolicy/**/*.class</include>
224               </includes>
225             </configuration>
226           </execution>
227         </executions>
228       </plugin>
229     </plugins>
230   </build>
231 </project>
232