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