Bug 1229: POM Restructuring for reliable weekly automated releases
[openflowplugin.git] / 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.odlparent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>1.4.2-SNAPSHOT</version>
8         <relativePath></relativePath>
9     </parent>
10     <prerequisites>
11         <maven>3.0</maven>
12     </prerequisites>
13     <groupId>org.opendaylight.openflowplugin</groupId>
14     <artifactId>openflowplugin-parent</artifactId>
15     <version>0.0.3-SNAPSHOT</version>
16     <packaging>pom</packaging>
17
18     <scm>
19       <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
20       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
21       <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
22       <tag>HEAD</tag>
23     </scm>
24
25     <distributionManagement>
26       <!-- OpenDayLight Released artifact -->
27       <repository>
28         <id>opendaylight-release</id>
29         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release</url>
30       </repository>
31       <!-- OpenDayLight Snapshot artifact -->
32       <snapshotRepository>
33         <id>opendaylight-snapshot</id>
34         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
35       </snapshotRepository>
36       <!-- Site deployment -->
37       <!-- site>
38            <id>website</id>
39            <url>${sitedeploy}</url>
40            </site -->
41     </distributionManagement>
42
43     <properties>
44       <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
45       <mdsal.version>1.1-SNAPSHOT</mdsal.version>
46       <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47       <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
48       <controller.model.version>1.1-SNAPSHOT</controller.model.version>
49       <sal.api.version>0.8.1-SNAPSHOT</sal.api.version>
50       <sal.connection.api.version>0.1.2-SNAPSHOT</sal.connection.api.version>
51       <netconf.parent.version>0.2.5-SNAPSHOT</netconf.parent.version>
52       <config.parent.version>0.2.5-SNAPSHOT</config.parent.version>
53       <build.helper.version>1.8</build.helper.version>
54       <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
55       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
56       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
57       <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
58         <controller.distribution.version>0.1.2-SNAPSHOT</controller.distribution.version>
59     </properties>
60
61     <dependencyManagement>
62       <dependencies>
63         <dependency>
64           <groupId>org.opendaylight.openflowjava</groupId>
65           <artifactId>openflow-protocol-impl</artifactId>
66           <version>${openflowjava.version}</version>
67         </dependency>
68         <dependency>
69           <groupId>org.opendaylight.openflowjava</groupId>
70           <artifactId>openflow-protocol-api</artifactId>
71           <version>${openflowjava.version}</version>
72         </dependency>
73         <dependency>
74           <groupId>org.opendaylight.openflowjava</groupId>
75           <artifactId>openflow-protocol-spi</artifactId>
76           <version>${openflowjava.version}</version>
77         </dependency>
78         <dependency>
79           <groupId>org.opendaylight.openflowjava</groupId>
80           <artifactId>simple-client</artifactId>
81           <version>${openflowjava.version}</version>
82         </dependency>
83         <dependency>
84           <groupId>org.opendaylight.controller.model</groupId>
85           <artifactId>model-flow-base</artifactId>
86           <version>${controller.model.version}</version>
87         </dependency>
88         <dependency>
89           <groupId>org.opendaylight.controller.model</groupId>
90           <artifactId>model-flow-management</artifactId>
91           <version>${controller.model.version}</version>
92         </dependency>
93         <dependency>
94           <groupId>org.opendaylight.controller.model</groupId>
95           <artifactId>model-flow-service</artifactId>
96           <version>${controller.model.version}</version>
97         </dependency>
98         <dependency>
99           <groupId>org.opendaylight.controller.model</groupId>
100           <artifactId>model-flow-statistics</artifactId>
101           <version>${controller.model.version}</version>
102         </dependency>
103         <dependency>
104           <groupId>org.opendaylight.controller.model</groupId>
105           <artifactId>model-inventory</artifactId>
106           <version>${controller.model.version}</version>
107         </dependency>
108         <dependency>
109           <groupId>org.opendaylight.controller</groupId>
110           <artifactId>sal-binding-api</artifactId>
111           <version>${controller.model.version}</version>
112         </dependency>
113         <dependency>
114             <groupId>org.opendaylight.controller</groupId>
115             <artifactId>sal</artifactId>
116             <version>${sal.api.version}</version>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>sal.connection</artifactId>
121             <version>${sal.connection.api.version}</version>
122         </dependency>
123         <dependency>
124             <groupId>org.opendaylight.controller</groupId>
125             <artifactId>sal-common-util</artifactId>
126             <version>${controller.model.version}</version>
127         </dependency>
128
129         <!-- IT -->
130         <dependency>
131             <groupId>org.opendaylight.controller</groupId>
132             <artifactId>config-netconf-connector</artifactId>
133             <version>${netconf.parent.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.controller</groupId>
137             <artifactId>sal-binding-it</artifactId>
138             <version>${controller.model.version}</version>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.controller</groupId>
142             <artifactId>sal-binding-broker-impl</artifactId>
143             <version>${controller.model.version}</version>
144         </dependency>
145         <dependency>
146             <groupId>org.opendaylight.controller</groupId>
147             <artifactId>config-manager</artifactId>
148             <version>${config.parent.version}</version>
149         </dependency>
150           <dependency>
151               <groupId>org.opendaylight.controller</groupId>
152               <artifactId>config-api</artifactId>
153               <version>${config.parent.version}</version>
154           </dependency>
155         <dependency>
156             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
157             <artifactId>antlr4-runtime-osgi-nohead</artifactId>
158             <version>4.0</version>
159         </dependency>
160         <dependency>
161           <groupId>org.opendaylight.controller</groupId>
162           <artifactId>logback-config</artifactId>
163           <version>${config.parent.version}</version>
164         </dependency>
165         <dependency>
166           <groupId>org.opendaylight.controller</groupId>
167           <artifactId>config-persister-api</artifactId>
168           <version>${config.parent.version}</version>
169         </dependency>
170         <dependency>
171           <groupId>org.opendaylight.controller</groupId>
172           <artifactId>config-persister-impl</artifactId>
173           <version>${config.parent.version}</version>
174         </dependency>
175         <dependency>
176           <groupId>org.opendaylight.controller</groupId>
177           <artifactId>config-persister-file-xml-adapter</artifactId>
178           <version>${config.parent.version}</version>
179         </dependency>
180         <dependency>
181           <groupId>org.opendaylight.controller</groupId>
182           <artifactId>netconf-monitoring</artifactId>
183           <version>${netconf.parent.version}</version>
184         </dependency>
185         <dependency>
186           <groupId>org.opendaylight.controller</groupId>
187           <artifactId>netconf-client</artifactId>
188           <version>${netconf.parent.version}</version>
189         </dependency>
190         <dependency>
191           <groupId>org.opendaylight.controller</groupId>
192           <artifactId>netconf-impl</artifactId>
193           <version>${netconf.parent.version}</version>
194         </dependency>
195
196         <!-- thirdparty -->
197         <dependency>
198           <groupId>org.openexi</groupId>
199           <artifactId>nagasena</artifactId>
200           <version>${exi.nagasena.version}</version>
201         </dependency>
202         <dependency>
203           <groupId>org.openexi</groupId>
204           <artifactId>nagasena-rta</artifactId>
205           <version>${exi.nagasena.version}</version>
206         </dependency>
207         <dependency>
208           <groupId>org.opendaylight.controller.thirdparty</groupId>
209           <artifactId>ganymed</artifactId>
210           <version>1.1-SNAPSHOT</version>
211         </dependency>
212         <dependency>
213             <groupId>xml-apis</groupId>
214             <artifactId>xml-apis</artifactId>
215             <version>1.4.01</version>
216         </dependency>
217         <dependency>
218             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
219             <artifactId>xtend-lib-osgi</artifactId>
220             <version>2.4.3</version>
221             <scope>test</scope>
222         </dependency>
223       </dependencies>
224     </dependencyManagement>
225
226     <build>
227         <plugins>
228           <plugin>
229              <groupId>org.codehaus.mojo</groupId>
230              <artifactId>build-helper-maven-plugin</artifactId>
231           </plugin>
232         </plugins>
233         <pluginManagement>
234           <plugins>
235             <plugin>
236               <groupId>org.apache.maven.plugins</groupId>
237               <artifactId>maven-compiler-plugin</artifactId>
238               <configuration>
239                 <source>1.7</source>
240                 <target>1.7</target>
241               </configuration>
242             </plugin>
243             <plugin>
244               <groupId>org.ops4j.pax.exam</groupId>
245               <artifactId>maven-paxexam-plugin</artifactId>
246               <version>1.2.4</version>
247             </plugin>
248             <plugin>
249               <groupId>org.eclipse.xtend</groupId>
250               <artifactId>xtend-maven-plugin</artifactId>
251               <version>${xtend.version}</version>
252               <executions>
253                   <execution>
254                       <goals>
255                           <goal>compile</goal>
256                       </goals>
257                       <configuration>
258                           <outputDirectory>${xtend.dstdir}</outputDirectory>
259                       </configuration>
260                   </execution>
261               </executions>
262           </plugin>
263           <plugin>
264               <artifactId>maven-clean-plugin</artifactId>
265               <configuration>
266                   <filesets>
267                       <fileset>
268                           <directory>${xtend.dstdir}</directory>
269                           <includes>
270                               <include>**</include>
271                           </includes>
272                       </fileset>
273                       <fileset>
274                           <directory>${jmxGeneratorPath}</directory>
275                           <includes>
276                               <include>**</include>
277                           </includes>
278                       </fileset>
279                       <fileset>
280                           <directory>${salGeneratorPath}</directory>
281                           <includes>
282                               <include>**</include>
283                           </includes>
284                       </fileset>
285                   </filesets>
286               </configuration>
287             </plugin>
288           <plugin>
289              <groupId>org.codehaus.mojo</groupId>
290              <artifactId>build-helper-maven-plugin</artifactId>
291              <version>${build.helper.version}</version>
292              <executions>
293                 <execution>
294                    <id>add-source</id>
295                    <phase>generate-sources</phase>
296                    <goals>
297                       <goal>add-source</goal>
298                    </goals>
299                    <configuration>
300                       <sources>
301                          <source>${jmxGeneratorPath}</source>
302                          <source>${salGeneratorPath}</source>
303                          <source>${xtend.dstdir}</source>
304                       </sources>
305                    </configuration>
306                 </execution>
307              </executions>
308             </plugin>
309             <plugin>
310               <groupId>org.opendaylight.yangtools</groupId>
311               <artifactId>yang-maven-plugin</artifactId>
312               <version>0.6.2-SNAPSHOT</version>
313             </plugin>
314             <plugin>
315               <groupId>org.apache.felix</groupId>
316               <artifactId>maven-bundle-plugin</artifactId>
317               <version>${maven.bundle.version}</version>
318               <extensions>true</extensions>
319               <configuration>
320                 <instructions>
321                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
322                 </instructions>
323                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
324               </configuration>
325             </plugin>
326           </plugins>
327         </pluginManagement>
328     </build>
329
330     <profiles>
331       <profile>
332         <id>findbugsReport</id>
333         <reporting>
334           <plugins>
335             <plugin>
336               <groupId>org.apache.maven.plugins</groupId>
337               <artifactId>maven-project-info-reports-plugin</artifactId>
338               <version>2.7</version>
339               <configuration>
340                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
341                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
342               </configuration>
343               <reportSets>
344                 <reportSet>
345                   <reports>
346                     <report>index</report>
347                     <report>project-team</report>
348                     <report>license</report>
349                     <report>mailing-list</report>
350                     <report>plugin-management</report>
351                     <report>cim</report>
352                     <report>issue-tracking</report>
353                     <report>scm</report>
354                     <report>summary</report>
355                   </reports>
356                 </reportSet>
357               </reportSets>
358             </plugin>
359             <plugin>
360               <groupId>org.codehaus.mojo</groupId>
361               <artifactId>findbugs-maven-plugin</artifactId>
362               <version>2.5.2</version>
363             </plugin>
364             <plugin>
365               <groupId>org.apache.maven.plugins</groupId>
366               <artifactId>maven-pmd-plugin</artifactId>
367               <version>3.0.1</version>
368             </plugin>
369             <plugin>
370               <groupId>org.apache.maven.plugins</groupId>
371               <artifactId>maven-jxr-plugin</artifactId>
372               <version>2.3</version>
373             </plugin>
374           </plugins>
375         </reporting>
376       </profile>
377     </profiles>
378
379     <repositories>
380       <repository>
381         <id>opendaylight-snapshot</id>
382         <name>opendaylight-snapshot</name>
383         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
384         <releases>
385           <enabled>false</enabled>
386         </releases>
387       </repository>
388       <repository>
389         <id>public</id>
390         <name>public</name>
391         <url>http://nexus.opendaylight.org/content/groups/public</url>
392         <snapshots>
393           <enabled>false</enabled>
394         </snapshots>
395       </repository>
396
397     </repositories>
398
399     <pluginRepositories>
400       <pluginRepository>
401         <id>opendaylight-central</id>
402         <name>opendaylight-central</name>
403         <url>http://nexus.opendaylight.org/content/repositories/public</url>
404         <snapshots>
405           <enabled>false</enabled>
406         </snapshots>
407       </pluginRepository>
408       <pluginRepository>
409         <id>opendaylight-snapshot</id>
410         <name>central2</name>
411         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
412         <releases>
413           <enabled>false</enabled>
414         </releases>
415       </pluginRepository>
416     </pluginRepositories>
417
418     <modules>
419       <module>openflowplugin</module>
420       <module>distribution/base</module>
421       <module>openflowplugin-controller-config</module>
422       <module>openflowplugin-it</module>
423       <module>test-provider</module>
424       <module>drop-test</module>
425       <module>features</module>
426       <module>samples/sample-consumer</module>
427       <module>samples/learning-switch</module>
428     </modules>
429 </project>