c2dd9430a8e0d1f10854a907c885005d4272c0cd
[bgpcep.git] / commons / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <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">
12     <modelVersion>4.0.0</modelVersion>
13     <scm>
14         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
15         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
16         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
17         <tag>HEAD</tag>
18     </scm>
19     <prerequisites>
20         <maven>3.0.4</maven>
21     </prerequisites>
22
23     <parent>
24         <groupId>org.opendaylight.odlparent</groupId>
25         <artifactId>odlparent</artifactId>
26         <version>1.4.2-SNAPSHOT</version>
27         <relativePath></relativePath>
28     </parent>
29
30     <groupId>org.opendaylight.bgpcep</groupId>
31     <artifactId>commons.parent</artifactId>
32     <name>BGPCEP common parent</name>
33     <version>0.3.1-SNAPSHOT</version>
34     <packaging>pom</packaging>
35
36     <licenses>
37         <license>
38             <name>The Eclipse Public License v1.0</name>
39             <url>http://www.eclipse.org/legal/epl-v10.html</url>
40             <distribution>repo</distribution>
41         </license>
42     </licenses>
43
44     <properties>
45         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
48
49         <commonscodec.version>1.7</commonscodec.version>
50         <junit.version>4.10</junit.version>
51         <maven.compiler.version>3.1</maven.compiler.version>
52         <maven.dependency.version>2.8</maven.dependency.version>
53         <maven.info.reports.version>2.7</maven.info.reports.version>
54         <maven.jar.version>2.4</maven.jar.version>
55         <maven.javadoc.version>2.9.1</maven.javadoc.version>
56         <maven.shade.version>2.1</maven.shade.version>
57         <maven.site.version>3.3</maven.site.version>
58         <surefire.version>2.15</surefire.version>
59
60         <!-- YANG tools artifacts -->
61         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
62         <ietf.types.version>2010.09.24.4-SNAPSHOT</ietf.types.version>
63         <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
64         <yang-ext.version>2013.09.07.4-SNAPSHOT</yang-ext.version>
65
66         <!-- Controller artifacts -->
67         <controller.config.version>0.2.5-SNAPSHOT</controller.config.version>
68         <controller.framework.version>0.5.0-SNAPSHOT</controller.framework.version>
69         <controller.mdsal.version>1.1-SNAPSHOT</controller.mdsal.version>
70     </properties>
71
72     <dependencyManagement>
73         <dependencies>
74             <!-- This project -->
75             <dependency>
76                 <groupId>${project.groupId}</groupId>
77                 <artifactId>concepts</artifactId>
78                 <version>${project.version}</version>
79             </dependency>
80             <dependency>
81                 <groupId>${project.groupId}</groupId>
82                 <artifactId>util</artifactId>
83                 <version>${project.version}</version>
84             </dependency>
85
86             <!-- Testing Dependencies -->
87             <dependency>
88                 <groupId>junit</groupId>
89                 <artifactId>junit</artifactId>
90                 <version>${junit.version}</version>
91                 <scope>test</scope>
92             </dependency>
93             <dependency>
94                 <groupId>org.mockito</groupId>
95                 <artifactId>mockito-core</artifactId>
96                 <version>${mockito.version}</version>
97                 <scope>test</scope>
98             </dependency>
99             <dependency>
100                 <groupId>org.opendaylight.yangtools</groupId>
101                 <artifactId>mockito-configuration</artifactId>
102                 <version>${yangtools.version}</version>
103                 <scope>test</scope>
104             </dependency>
105             <dependency>
106                 <groupId>org.opendaylight.controller</groupId>
107                 <artifactId>config-manager</artifactId>
108                 <version>${controller.config.version}</version>
109                 <scope>test</scope>
110             </dependency>
111             <dependency>
112                 <groupId>org.opendaylight.controller</groupId>
113                 <artifactId>config-manager</artifactId>
114                 <version>${controller.config.version}</version>
115                 <scope>test</scope>
116                 <type>test-jar</type>
117             </dependency>
118             <dependency>
119                 <groupId>org.opendaylight.controller</groupId>
120                 <artifactId>config-util</artifactId>
121                 <version>${controller.config.version}</version>
122                 <scope>test</scope>
123             </dependency>
124             <dependency>
125                 <groupId>org.opendaylight.controller</groupId>
126                 <artifactId>netty-event-executor-config</artifactId>
127                 <version>${controller.config.version}</version>
128                 <scope>test</scope>
129             </dependency>
130             <dependency>
131                 <groupId>org.opendaylight.controller</groupId>
132                 <artifactId>netty-threadgroup-config</artifactId>
133                 <version>${controller.config.version}</version>
134                 <scope>test</scope>
135             </dependency>
136             <dependency>
137                 <groupId>${project.groupId}</groupId>
138                 <artifactId>bgp-rib-spi</artifactId>
139                 <version>${project.version}</version>
140                 <scope>test</scope>
141                 <type>test-jar</type>
142             </dependency>
143             <dependency>
144                 <groupId>${project.groupId}</groupId>
145                 <artifactId>bgp-parser-spi</artifactId>
146                 <version>${project.version}</version>
147                 <scope>test</scope>
148                 <type>test-jar</type>
149             </dependency>
150             <dependency>
151                 <groupId>${project.groupId}</groupId>
152                 <artifactId>bgp-rib-impl</artifactId>
153                 <version>${project.version}</version>
154                 <type>test-jar</type>
155                 <scope>test</scope>
156             </dependency>
157             <dependency>
158                 <groupId>${project.groupId}</groupId>
159                 <artifactId>pcep-spi</artifactId>
160                 <version>${project.version}</version>
161                 <scope>test</scope>
162                 <type>test-jar</type>
163             </dependency>
164             <dependency>
165                 <groupId>${project.groupId}</groupId>
166                 <artifactId>pcep-ietf-stateful02</artifactId>
167                 <version>${project.version}</version>
168                 <scope>test</scope>
169                 <type>test-jar</type>
170             </dependency>
171             <dependency>
172                 <groupId>${project.groupId}</groupId>
173                 <artifactId>programming-impl</artifactId>
174                 <version>${project.version}</version>
175                 <scope>test</scope>
176             </dependency>
177             <dependency>
178                 <groupId>${project.groupId}</groupId>
179                 <artifactId>programming-impl</artifactId>
180                 <version>${project.version}</version>
181                 <scope>test</scope>
182                 <type>test-jar</type>
183             </dependency>
184             <dependency>
185                 <groupId>${project.groupId}</groupId>
186                 <artifactId>pcep-impl</artifactId>
187                 <version>${project.version}</version>
188                 <scope>test</scope>
189                 <type>test-jar</type>
190             </dependency>
191             <dependency>
192                 <groupId>${project.groupId}</groupId>
193                 <artifactId>pcep-topology-provider</artifactId>
194                 <version>${project.version}</version>
195                 <scope>test</scope>
196                 <type>test-jar</type>
197            </dependency>
198             <dependency>
199                 <groupId>${project.groupId}</groupId>
200                 <artifactId>tcpmd5-jni-cfg</artifactId>
201                 <version>${project.version}</version>
202             </dependency>
203             <dependency>
204                 <groupId>${project.groupId}</groupId>
205                 <artifactId>tcpmd5-jni</artifactId>
206                 <version>${project.version}</version>
207                 <type>test-jar</type>
208                 <scope>test</scope>
209             </dependency>
210             <dependency>
211                 <groupId>ch.qos.logback</groupId>
212                 <artifactId>logback-classic</artifactId>
213                 <version>${logback.version}</version>
214             </dependency>
215
216             <!-- Supporting Libraries -->
217
218             <dependency>
219                 <groupId>org.slf4j</groupId>
220                 <artifactId>slf4j-api</artifactId>
221                 <version>${slf4j.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>com.google.guava</groupId>
225                 <artifactId>guava</artifactId>
226                 <version>${guava.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>com.google.code.findbugs</groupId>
230                 <artifactId>jsr305</artifactId>
231                 <version>2.0.1</version>
232             </dependency>
233
234             <!-- Netty -->
235             <dependency>
236                 <groupId>io.netty</groupId>
237                 <artifactId>netty-buffer</artifactId>
238                 <version>${netty.version}</version>
239             </dependency>
240             <dependency>
241                 <groupId>io.netty</groupId>
242                 <artifactId>netty-codec</artifactId>
243                 <version>${netty.version}</version>
244             </dependency>
245             <dependency>
246                 <groupId>io.netty</groupId>
247                 <artifactId>netty-common</artifactId>
248                 <version>${netty.version}</version>
249             </dependency>
250             <dependency>
251                 <groupId>io.netty</groupId>
252                 <artifactId>netty-transport</artifactId>
253                 <version>${netty.version}</version>
254             </dependency>
255
256             <!-- YANG tools -->
257             <dependency>
258                 <groupId>org.opendaylight.yangtools</groupId>
259                 <artifactId>yang-binding</artifactId>
260                 <version>${yangtools.version}</version>
261             </dependency>
262             <dependency>
263                 <groupId>org.opendaylight.yangtools</groupId>
264                 <artifactId>yang-common</artifactId>
265                 <version>${yangtools.version}</version>
266             </dependency>
267
268             <!-- Controller infrastructure -->
269             <dependency>
270                 <groupId>org.opendaylight.controller</groupId>
271                 <artifactId>protocol-framework</artifactId>
272                 <version>${controller.framework.version}</version>
273             </dependency>
274             <dependency>
275                 <groupId>org.opendaylight.controller</groupId>
276                 <artifactId>protocol-framework</artifactId>
277                 <version>${controller.framework.version}</version>
278                 <type>test-jar</type>
279                 <scope>test</scope>
280             </dependency>
281             <dependency>
282                 <groupId>org.opendaylight.controller</groupId>
283                 <artifactId>config-api</artifactId>
284                 <version>${controller.config.version}</version>
285             </dependency>
286             <dependency>
287                 <groupId>org.opendaylight.controller</groupId>
288                 <artifactId>netty-config-api</artifactId>
289                 <version>${controller.config.version}</version>
290             </dependency>
291             <dependency>
292                 <groupId>org.opendaylight.controller</groupId>
293                 <artifactId>netty-timer-config</artifactId>
294                 <version>${controller.config.version}</version>
295             </dependency>
296             <dependency>
297                 <groupId>org.opendaylight.controller</groupId>
298                 <artifactId>sal-binding-api</artifactId>
299                 <version>${controller.mdsal.version}</version>
300             </dependency>
301             <dependency>
302                 <groupId>org.opendaylight.controller</groupId>
303                 <artifactId>sal-binding-config</artifactId>
304                 <version>${controller.mdsal.version}</version>
305             </dependency>
306             <dependency>
307                 <groupId>org.opendaylight.controller</groupId>
308                 <artifactId>sal-binding-broker-impl</artifactId>
309                 <version>${controller.mdsal.version}</version>
310                 </dependency>
311             <dependency>
312                 <groupId>org.opendaylight.controller</groupId>
313                 <artifactId>sal-binding-util</artifactId>
314                 <version>${controller.mdsal.version}</version>
315             </dependency>
316             <dependency>
317                 <groupId>org.opendaylight.controller</groupId>
318                 <artifactId>sal-broker-impl</artifactId>
319                 <version>${controller.mdsal.version}</version>
320             </dependency>
321
322             <!-- Models -->
323             <dependency>
324                 <groupId>org.opendaylight.yangtools.model</groupId>
325                 <artifactId>ietf-inet-types</artifactId>
326                 <version>${ietf.types.version}</version>
327             </dependency>
328             <dependency>
329                 <groupId>org.opendaylight.yangtools.model</groupId>
330                 <artifactId>ietf-ted</artifactId>
331                 <version>${ietf.topology.version}</version>
332             </dependency>
333             <dependency>
334                 <groupId>org.opendaylight.yangtools.model</groupId>
335                 <artifactId>ietf-topology</artifactId>
336                 <version>${ietf.topology.version}</version>
337             </dependency>
338             <dependency>
339                 <groupId>org.opendaylight.yangtools.model</groupId>
340                 <artifactId>ietf-topology-isis</artifactId>
341                 <version>${ietf.topology.version}</version>
342             </dependency>
343             <dependency>
344                 <groupId>org.opendaylight.yangtools.model</groupId>
345                 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
346                 <version>${ietf.topology.version}</version>
347             </dependency>
348             <dependency>
349                 <groupId>org.opendaylight.yangtools.model</groupId>
350                 <artifactId>ietf-topology-ospf</artifactId>
351                 <version>${ietf.topology.version}</version>
352             </dependency>
353             <dependency>
354                 <groupId>org.opendaylight.yangtools.model</groupId>
355                 <artifactId>yang-ext</artifactId>
356                 <version>${yang-ext.version}</version>
357             </dependency>
358         </dependencies>
359     </dependencyManagement>
360
361     <dependencies>
362         <dependency>
363             <groupId>ch.qos.logback</groupId>
364             <artifactId>logback-classic</artifactId>
365             <scope>test</scope>
366         </dependency>
367     </dependencies>
368
369     <reporting>
370         <plugins>
371             <plugin>
372                 <groupId>org.apache.maven.plugins</groupId>
373                 <artifactId>maven-project-info-reports-plugin</artifactId>
374                 <version>${maven.info.reports.version}</version>
375                 <reportSets>
376                     <reportSet>
377                         <reports>
378                             <report>dependency-info</report>
379                             <report>license</report>
380                         </reports>
381                     </reportSet>
382                 </reportSets>
383             </plugin>
384             <plugin>
385                 <groupId>org.apache.maven.plugins</groupId>
386                 <artifactId>maven-javadoc-plugin</artifactId>
387                 <version>${maven.javadoc.version}</version>
388                 <reportSets>
389                     <reportSet>
390                         <id>non-aggregate</id>
391                         <reports>
392                             <report>javadoc</report>
393                         </reports>
394                     </reportSet>
395                 </reportSets>
396             </plugin>
397             <!--plugin>
398                 <groupId>org.codehaus.mojo</groupId>
399                 <artifactId>findbugs-maven-plugin</artifactId>
400                 <version>2.4.0</version>
401                 <configuration>
402                     <effort>Max</effort>
403                     <threshold>Low</threshold>
404                     <goal>site</goal>
405                 </configuration>
406             </plugin-->
407         </plugins>
408     </reporting>
409
410     <distributionManagement>
411         <!-- OpenDayLight Released artifact -->
412         <repository>
413             <id>opendaylight-release</id>
414             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
415         </repository>
416         <!-- OpenDayLight Snapshot artifact -->
417         <snapshotRepository>
418             <id>opendaylight-snapshot</id>
419             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
420         </snapshotRepository>
421         <!-- Site deployment -->
422         <site>
423             <id>website</id>
424             <url>${sitedeploy}</url>
425         </site>
426     </distributionManagement>
427
428     <build>
429         <plugins>
430             <plugin>
431                 <groupId>org.apache.maven.plugins</groupId>
432                 <artifactId>maven-compiler-plugin</artifactId>
433                 <version>${maven.compiler.version}</version>
434                 <configuration>
435                     <source>${java.version.source}</source>
436                     <target>${java.version.target}</target>
437                     <testSource>${java.version.source}</testSource>
438                     <testTarget>${java.version.target}</testTarget>
439                     <showDeprecation>true</showDeprecation>
440                     <showWarnings>true</showWarnings>
441                     <optimize>true</optimize>
442                 </configuration>
443             </plugin>
444             <plugin>
445                 <groupId>org.apache.maven.plugins</groupId>
446                 <artifactId>maven-surefire-plugin</artifactId>
447                 <version>${surefire.version}</version>
448                 <configuration>
449                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
450                     <!--parallel>classes</parallel>
451                     <forkCount>1C</forkCount>
452                     <reuseForks>false</reuseForks>
453                     <perCoreThreadCount>true</perCoreThreadCount-->
454                     <runOrder>alphabetical</runOrder>
455                     <threadCount>1</threadCount>
456                 </configuration>
457             </plugin>
458
459             <plugin>
460                 <groupId>org.apache.maven.plugins</groupId>
461                 <artifactId>maven-dependency-plugin</artifactId>
462                 <version>${maven.dependency.version}</version>
463                 <configuration>
464                     <failOnWarning>true</failOnWarning>
465                     <ignoreNonCompile>true</ignoreNonCompile>
466                 </configuration>
467             </plugin>
468             <plugin>
469                 <!-- Let eclipse know about the generated sources -->
470                 <groupId>org.codehaus.mojo</groupId>
471                 <artifactId>build-helper-maven-plugin</artifactId>
472                 <executions>
473                     <execution>
474                         <phase>generate-sources</phase>
475                         <goals>
476                             <goal>add-source</goal>
477                         </goals>
478                         <configuration>
479                             <sources>
480                                 <source>target/generated-sources/sal</source>
481                                 <source>target/generated-sources/config</source>
482                             </sources>
483                         </configuration>
484                     </execution>
485                 </executions>
486             </plugin>
487             <plugin>
488               <groupId>org.apache.maven.plugins</groupId>
489               <artifactId>maven-checkstyle-plugin</artifactId>
490               <version>2.12</version>
491               <configuration>
492                 <failOnViolation>true</failOnViolation>
493                 <configLocation>checkstyle-logging.xml</configLocation>
494                 <consoleOutput>true</consoleOutput>
495                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
496                 <sourceDirectory>${project.basedir}</sourceDirectory>
497                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
498                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
499               </configuration>
500               <dependencies>
501                 <dependency>
502                   <groupId>org.opendaylight.yangtools</groupId>
503                   <artifactId>checkstyle-logging</artifactId>
504                   <version>${yangtools.version}</version>
505                 </dependency>
506               </dependencies>
507               <executions>
508                 <execution>
509                   <goals>
510                     <goal>check</goal>
511                   </goals>
512                 </execution>
513               </executions>
514             </plugin>
515         </plugins>
516         <pluginManagement>
517             <plugins>
518                 <plugin>
519                     <groupId>org.apache.felix</groupId>
520                     <artifactId>maven-bundle-plugin</artifactId>
521                     <version>${maven.bundle.version}</version>
522                 </plugin>
523                 <plugin>
524                     <groupId>org.apache.maven.plugins</groupId>
525                     <artifactId>maven-jar-plugin</artifactId>
526                     <version>${maven.jar.version}</version>
527                 </plugin>
528                 <plugin>
529                     <groupId>org.apache.maven.plugins</groupId>
530                     <artifactId>maven-release-plugin</artifactId>
531                     <version>${maven.release.version}</version>
532                 </plugin>
533                 <plugin>
534                     <groupId>org.codehaus.mojo</groupId>
535                     <artifactId>build-helper-maven-plugin</artifactId>
536                     <version>1.8</version>
537                 </plugin>
538
539                 <!--This plugin's configuration is used to store Eclipse m2e settings
540                     only. It has no influence on the Maven build itself. -->
541                 <plugin>
542                     <groupId>org.eclipse.m2e</groupId>
543                     <artifactId>lifecycle-mapping</artifactId>
544                     <version>1.0.0</version>
545                     <configuration>
546                         <lifecycleMappingMetadata>
547                             <pluginExecutions>
548                                 <pluginExecution>
549                                     <pluginExecutionFilter>
550                                         <groupId>pl.project13.maven</groupId>
551                                         <artifactId>git-commit-id-plugin</artifactId>
552                                         <versionRange>[2.1.4,)</versionRange>
553                                         <goals>
554                                             <goal>revision</goal>
555                                         </goals>
556                                     </pluginExecutionFilter>
557                                     <action>
558                                         <ignore />
559                                     </action>
560                                 </pluginExecution>
561                                 <pluginExecution>
562                                     <pluginExecutionFilter>
563                                         <groupId>org.opendaylight.yangtools</groupId>
564                                         <artifactId>yang-maven-plugin</artifactId>
565                                         <versionRange>[0.5,)</versionRange>
566                                         <goals>
567                                             <goal>generate-sources</goal>
568                                         </goals>
569                                     </pluginExecutionFilter>
570                                     <action>
571                                         <ignore />
572                                     </action>
573                                 </pluginExecution>
574                             </pluginExecutions>
575                         </lifecycleMappingMetadata>
576                     </configuration>
577                 </plugin>
578
579                 <!-- Our YANG->DTO generation plugin -->
580                 <plugin>
581                     <groupId>org.opendaylight.yangtools</groupId>
582                     <artifactId>yang-maven-plugin</artifactId>
583                     <version>${yangtools.version}</version>
584                     <executions>
585                         <execution>
586                             <goals>
587                                 <goal>generate-sources</goal>
588                             </goals>
589                             <configuration>
590                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
591                                 <codeGenerators>
592                                     <generator>
593                                         <codeGeneratorClass>
594                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
595                                         </codeGeneratorClass>
596                                         <outputBaseDir>
597                                             target/generated-sources/sal
598                                         </outputBaseDir>
599                                     </generator>
600                                     <generator>
601                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
602                                         <outputBaseDir>target/site</outputBaseDir>
603                                     </generator>
604                                     <generator>
605                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
606                                         <outputBaseDir>target/site</outputBaseDir>
607                                     </generator>
608                                     <generator>
609                                         <codeGeneratorClass>
610                                             org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
611                                         </codeGeneratorClass>
612                                         <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
613                                         <additionalConfiguration>
614                                             <namespaceToPackage1>
615                                                 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
616                                             </namespaceToPackage1>
617                                         </additionalConfiguration>
618                                     </generator>
619                                 </codeGenerators>
620                                 <inspectDependencies>true</inspectDependencies>
621                             </configuration>
622                         </execution>
623                     </executions>
624                     <dependencies>
625                         <dependency>
626                             <groupId>org.opendaylight.yangtools</groupId>
627                             <artifactId>maven-sal-api-gen-plugin</artifactId>
628                             <version>${yangtools.version}</version>
629                             <type>jar</type>
630                         </dependency>
631                         <dependency>
632                             <groupId>org.opendaylight.controller</groupId>
633                             <artifactId>yang-jmx-generator-plugin</artifactId>
634                             <version>${controller.config.version}</version>
635                         </dependency>
636                     </dependencies>
637                 </plugin>
638
639                 <!-- Maven site plugin -->
640                 <plugin>
641                     <artifactId>maven-site-plugin</artifactId>
642                     <version>${maven.site.version}</version>
643                 </plugin>
644                 <plugin>
645                     <groupId>org.apache.maven.plugins</groupId>
646                     <artifactId>maven-javadoc-plugin</artifactId>
647                     <version>${maven.javadoc.version}</version>
648                 </plugin>
649                 <plugin>
650                     <groupId>org.apache.maven.plugins</groupId>
651                     <artifactId>maven-source-plugin</artifactId>
652                     <version>2.2.1</version>
653                 </plugin>
654             </plugins>
655         </pluginManagement>
656     </build>
657
658     <repositories>
659         <repository>
660             <id>opendaylight-mirror</id>
661             <name>opendaylight-mirror</name>
662             <url>http://nexus.opendaylight.org/content/groups/public/</url>
663             <snapshots>
664                 <enabled>false</enabled>
665             </snapshots>
666             <releases>
667                 <enabled>true</enabled>
668                 <updatePolicy>never</updatePolicy>
669             </releases>
670         </repository>
671         <repository>
672             <id>opendaylight-snapshot</id>
673             <name>opendaylight-snapshot</name>
674             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
675             <snapshots>
676                 <enabled>true</enabled>
677             </snapshots>
678             <releases>
679                 <enabled>false</enabled>
680             </releases>
681         </repository>
682     </repositories>
683
684     <pluginRepositories>
685         <pluginRepository>
686             <id>opendaylight-mirror</id>
687             <name>opendaylight-mirror</name>
688             <url>http://nexus.opendaylight.org/content/groups/public/</url>
689             <snapshots>
690                 <enabled>false</enabled>
691             </snapshots>
692             <releases>
693                 <enabled>true</enabled>
694                 <updatePolicy>never</updatePolicy>
695             </releases>
696         </pluginRepository>
697         <pluginRepository>
698             <id>opendaylight-snapshot</id>
699             <name>opendaylight-snapshot</name>
700             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
701             <snapshots>
702                 <enabled>true</enabled>
703             </snapshots>
704             <releases>
705                 <enabled>false</enabled>
706             </releases>
707         </pluginRepository>
708     </pluginRepositories>
709
710     <profiles>
711         <profile>
712             <id>repoBuild</id>
713             <activation>
714                 <property>
715                     <name>repoBuild</name>
716                 </property>
717             </activation>
718             <build>
719                 <plugins>
720                     <plugin>
721                         <groupId>org.apache.maven.plugins</groupId>
722                         <artifactId>maven-javadoc-plugin</artifactId>
723                         <executions>
724                             <execution>
725                                 <id>attach-javadocs</id>
726                                 <goals>
727                                     <goal>jar</goal>
728                                 </goals>
729                             </execution>
730                         </executions>
731                     </plugin>
732                     <plugin>
733                         <groupId>org.apache.maven.plugins</groupId>
734                         <artifactId>maven-source-plugin</artifactId>
735                         <executions>
736                             <execution>
737                                 <id>attach-sources</id>
738                                 <goals>
739                                     <goal>jar</goal>
740                                 </goals>
741                             </execution>
742                         </executions>
743                     </plugin>
744                 </plugins>
745             </build>
746         </profile>
747     </profiles>
748 </project>