b54e3020e5de9edcc517657bf2d1491787e41881
[yangtools.git] / common / 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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>1.4.2-SNAPSHOT</version>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yangtools-parent</artifactId>
21     <groupId>org.opendaylight.yangtools</groupId>
22     <version>0.6.2-SNAPSHOT</version>
23     <packaging>pom</packaging>
24     <prerequisites>
25         <maven>3.0.4</maven>
26     </prerequisites>
27
28     <properties>
29         <junit.version>4.10</junit.version>
30         <exam.version>3.0.0</exam.version>
31         <groovy.version>2.1.6</groovy.version>
32         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
33         <ctrie.version>0.2.0</ctrie.version>
34         <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
35         <ietf.inet.types.version>2010.09.24.4-SNAPSHOT</ietf.inet.types.version>
36         <ietf.yang.types.version>2010.09.24.4-SNAPSHOT</ietf.yang.types.version>
37         <ietf.restconf.version>2013.10.19.1-SNAPSHOT</ietf.restconf.version>
38         <maven.javadoc.version>2.9.1</maven.javadoc.version>
39     </properties>
40
41     <dependencyManagement>
42         <dependencies>
43             <!-- Testing Dependencies -->
44             <dependency>
45                 <groupId>junit</groupId>
46                 <artifactId>junit</artifactId>
47                 <version>4.10</version>
48                 <scope>test</scope>
49             </dependency>
50             <dependency>
51                 <groupId>org.apache.maven.shared</groupId>
52                 <artifactId>maven-verifier</artifactId>
53                 <version>1.5</version>
54                 <scope>test</scope>
55             </dependency>
56             <dependency>
57                 <groupId>org.ops4j.pax.exam</groupId>
58                 <artifactId>pax-exam-container-native</artifactId>
59                 <version>3.0.0</version>
60                 <scope>test</scope>
61             </dependency>
62             <dependency>
63                 <groupId>org.ops4j.pax.exam</groupId>
64                 <artifactId>pax-exam-junit4</artifactId>
65                 <version>3.0.0</version>
66                 <scope>test</scope>
67             </dependency>
68             <dependency>
69                 <groupId>org.ops4j.pax.exam</groupId>
70                 <artifactId>pax-exam-link-mvn</artifactId>
71                 <version>3.0.0</version>
72                 <scope>test</scope>
73             </dependency>
74             <dependency>
75                 <groupId>equinoxSDK381</groupId>
76                 <artifactId>org.eclipse.osgi</artifactId>
77                 <version>3.8.1.v20120830-144521</version>
78                 <scope>test</scope>
79             </dependency>
80             <dependency>
81                 <groupId>org.codehaus.groovy</groupId>
82                 <artifactId>groovy</artifactId>
83                 <version>2.1.6</version>
84                 <scope>test</scope>
85             </dependency>
86             <dependency>
87                 <groupId>org.codehaus.groovy</groupId>
88                 <artifactId>groovy-xml</artifactId>
89                 <version>2.1.6</version>
90                 <scope>test</scope>
91             </dependency>
92             <dependency>
93                 <groupId>xmlunit</groupId>
94                 <artifactId>xmlunit</artifactId>
95                 <version>1.5</version>
96                 <scope>test</scope>
97             </dependency>
98             <dependency>
99                 <groupId>ch.qos.logback</groupId>
100                 <artifactId>logback-classic</artifactId>
101                 <version>1.0.9</version>
102             </dependency>
103             <dependency>
104                 <groupId>io.netty</groupId>
105                 <artifactId>netty-codec-http</artifactId>
106                 <version>4.0.10.Final</version>
107             </dependency>
108             <dependency>
109                 <groupId>org.opendaylight.yangtools</groupId>
110                 <artifactId>yang-data-util</artifactId>
111                 <version>0.6.2-SNAPSHOT</version>
112             </dependency>
113             <dependency>
114                 <groupId>org.opendaylight.yangtools</groupId>
115                 <artifactId>maven-sal-api-gen-plugin</artifactId>
116                 <version>0.6.2-SNAPSHOT</version>
117             </dependency>
118             <dependency>
119                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
120                 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
121                 <version>4.0</version>
122                 <scope>test</scope>
123             </dependency>
124             <dependency>
125                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
126                 <artifactId>xtend-lib-osgi</artifactId>
127                 <version>2.4.3</version>
128                 <scope>test</scope>
129             </dependency>
130             <dependency>
131                 <groupId>org.opendaylight.yangtools</groupId>
132                 <artifactId>concepts</artifactId>
133                 <version>0.6.2-SNAPSHOT</version>
134             </dependency>
135             <dependency>
136                 <groupId>org.opendaylight.yangtools</groupId>
137                 <artifactId>object-cache-api</artifactId>
138                 <version>0.6.2-SNAPSHOT</version>
139             </dependency>
140             <dependency>
141                 <groupId>org.opendaylight.yangtools</groupId>
142                 <artifactId>object-cache-guava</artifactId>
143                 <version>0.6.2-SNAPSHOT</version>
144             </dependency>
145             <dependency>
146                 <groupId>org.opendaylight.yangtools</groupId>
147                 <artifactId>object-cache-noop</artifactId>
148                 <version>0.6.2-SNAPSHOT</version>
149             </dependency>
150             <dependency>
151                 <groupId>org.opendaylight.yangtools</groupId>
152                 <artifactId>binding-model-api</artifactId>
153                 <version>0.6.2-SNAPSHOT</version>
154             </dependency>
155             <dependency>
156                 <groupId>org.opendaylight.yangtools</groupId>
157                 <artifactId>binding-generator-api</artifactId>
158                 <version>0.6.2-SNAPSHOT</version>
159             </dependency>
160             <dependency>
161                 <groupId>org.opendaylight.yangtools</groupId>
162                 <artifactId>binding-generator-spi</artifactId>
163                 <version>0.6.2-SNAPSHOT</version>
164             </dependency>
165             <dependency>
166                 <groupId>org.opendaylight.yangtools</groupId>
167                 <artifactId>binding-generator-util</artifactId>
168                 <version>0.6.2-SNAPSHOT</version>
169             </dependency>
170             <dependency>
171                 <groupId>org.opendaylight.yangtools</groupId>
172                 <artifactId>binding-generator-impl</artifactId>
173                 <version>0.6.2-SNAPSHOT</version>
174             </dependency>
175             <dependency>
176                 <groupId>org.opendaylight.yangtools</groupId>
177                 <artifactId>binding-java-api-generator</artifactId>
178                 <version>0.6.2-SNAPSHOT</version>
179             </dependency>
180             <dependency>
181                 <groupId>org.opendaylight.yangtools</groupId>
182                 <artifactId>yang-common</artifactId>
183                 <version>0.6.2-SNAPSHOT</version>
184             </dependency>
185             <dependency>
186                 <groupId>org.opendaylight.yangtools</groupId>
187                 <artifactId>yang-data-api</artifactId>
188                 <version>0.6.2-SNAPSHOT</version>
189             </dependency>
190             <dependency>
191                 <groupId>org.opendaylight.yangtools</groupId>
192                 <artifactId>yang-data-impl</artifactId>
193                 <version>0.6.2-SNAPSHOT</version>
194             </dependency>
195             <dependency>
196                 <groupId>org.opendaylight.yangtools</groupId>
197                 <artifactId>yang-model-api</artifactId>
198                 <version>0.6.2-SNAPSHOT</version>
199             </dependency>
200             <dependency>
201                 <groupId>org.opendaylight.yangtools</groupId>
202                 <artifactId>yang-model-util</artifactId>
203                 <version>0.6.2-SNAPSHOT</version>
204             </dependency>
205             <dependency>
206                 <groupId>org.opendaylight.yangtools</groupId>
207                 <artifactId>yang-binding</artifactId>
208                 <version>0.6.2-SNAPSHOT</version>
209             </dependency>
210             <dependency>
211                 <groupId>org.opendaylight.yangtools</groupId>
212                 <artifactId>yang-parser-api</artifactId>
213                 <version>0.6.2-SNAPSHOT</version>
214             </dependency>
215             <dependency>
216                 <groupId>org.opendaylight.yangtools</groupId>
217                 <artifactId>yang-parser-impl</artifactId>
218                 <version>0.6.2-SNAPSHOT</version>
219             </dependency>
220             <dependency>
221                 <groupId>org.opendaylight.yangtools</groupId>
222                 <artifactId>yang-maven-plugin</artifactId>
223                 <version>0.6.2-SNAPSHOT</version>
224             </dependency>
225             <dependency>
226                 <groupId>org.opendaylight.yangtools</groupId>
227                 <artifactId>yang-maven-plugin-spi</artifactId>
228                 <version>0.6.2-SNAPSHOT</version>
229             </dependency>
230             <dependency>
231                 <groupId>org.opendaylight.yangtools.model</groupId>
232                 <artifactId>ietf-inet-types</artifactId>
233                 <version>2010.09.24.4-SNAPSHOT</version>
234             </dependency>
235             <dependency>
236                 <groupId>org.opendaylight.yangtools.model</groupId>
237                 <artifactId>ietf-yang-types</artifactId>
238                 <version>2010.09.24.4-SNAPSHOT</version>
239             </dependency>
240             <dependency>
241                 <groupId>org.opendaylight.yangtools.model</groupId>
242                 <artifactId>ietf-restconf</artifactId>
243                 <version>2013.09.04.1-SNAPSHOT</version>
244             </dependency>
245             <dependency>
246                 <groupId>org.opendaylight.yangtools.model</groupId>
247                 <artifactId>ietf-ted</artifactId>
248                 <version>2013.10.21.2-SNAPSHOT</version>
249             </dependency>
250             <dependency>
251                 <groupId>org.opendaylight.yangtools.model</groupId>
252                 <artifactId>ietf-topology</artifactId>
253                 <version>2013.10.21.2-SNAPSHOT</version>
254             </dependency>
255             <dependency>
256                 <groupId>org.opendaylight.yangtools.model</groupId>
257                 <artifactId>ietf-topology-isis</artifactId>
258                 <version>2013.10.21.2-SNAPSHOT</version>
259             </dependency>
260             <dependency>
261                 <groupId>org.opendaylight.yangtools.model</groupId>
262                 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
263                 <version>2013.10.21.2-SNAPSHOT</version>
264             </dependency>
265             <dependency>
266                 <groupId>org.opendaylight.yangtools.model</groupId>
267                 <artifactId>ietf-topology-ospf</artifactId>
268                 <version>2013.10.21.2-SNAPSHOT</version>
269             </dependency>
270             <dependency>
271                 <groupId>org.opendaylight.yangtools.model</groupId>
272                 <artifactId>ietf-topology-l3-unicast</artifactId>
273                 <version>2013.10.21.2-SNAPSHOT</version>
274             </dependency>
275             <dependency>
276                 <groupId>org.opendaylight.yangtools</groupId>
277                 <artifactId>yang-data-json</artifactId>
278                 <version>0.6.2-SNAPSHOT</version>
279             </dependency>
280             <dependency>
281                 <groupId>org.apache.maven</groupId>
282                 <artifactId>maven-core</artifactId>
283                 <version>3.0.5</version>
284             </dependency>
285             <dependency>
286                 <groupId>org.apache.maven</groupId>
287                 <artifactId>maven-plugin-api</artifactId>
288                 <version>3.0.5</version>
289             </dependency>
290             <dependency>
291                 <groupId>org.javassist</groupId>
292                 <artifactId>javassist</artifactId>
293                 <version>3.17.1-GA</version>
294             </dependency>
295             <dependency>
296                 <groupId>org.mockito</groupId>
297                 <artifactId>mockito-all</artifactId>
298                 <version>1.9.5</version>
299                 <scope>test</scope>
300             </dependency>
301             <dependency>
302                 <groupId>org.mockito</groupId>
303                 <artifactId>mockito-core</artifactId>
304                 <version>1.9.5</version>
305                 <scope>test</scope>
306             </dependency>
307             <dependency>
308                 <groupId>org.slf4j</groupId>
309                 <artifactId>slf4j-simple</artifactId>
310                 <version>1.7.2</version>
311                 <scope>test</scope>
312             </dependency>
313             <dependency>
314                 <groupId>org.slf4j</groupId>
315                 <artifactId>slf4j-api</artifactId>
316                 <version>1.7.2</version>
317             </dependency>
318             <dependency>
319                 <groupId>org.slf4j</groupId>
320                 <artifactId>slf4j-log4j12</artifactId>
321                 <version>1.7.2</version>
322             </dependency>
323             <dependency>
324                 <groupId>org.slf4j</groupId>
325                 <artifactId>log4j-over-slf4j</artifactId>
326                 <version>1.7.2</version>
327             </dependency>
328             <dependency>
329                 <groupId>xml-apis</groupId>
330                 <artifactId>xml-apis</artifactId>
331                 <version>2.0.2</version>
332             </dependency>
333             <dependency>
334                 <groupId>ch.qos.logback</groupId>
335                 <artifactId>logback-core</artifactId>
336                 <version>1.0.9</version>
337             </dependency>
338             <dependency>
339                 <groupId>com.google.guava</groupId>
340                 <artifactId>guava</artifactId>
341                 <version>14.0.1</version>
342             </dependency>
343             <dependency>
344                 <groupId>org.eclipse.xtend</groupId>
345                 <artifactId>org.eclipse.xtend.lib</artifactId>
346                 <version>2.4.3</version>
347             </dependency>
348             <dependency>
349                 <groupId>org.apache.commons</groupId>
350                 <artifactId>commons-lang3</artifactId>
351                 <version>3.1</version>
352             </dependency>
353             <dependency>
354                 <groupId>org.osgi</groupId>
355                 <artifactId>org.osgi.core</artifactId>
356                 <version>5.0.0</version>
357                 <scope>provided</scope>
358             </dependency>
359             <dependency>
360                 <groupId>commons-lang</groupId>
361                 <artifactId>commons-lang</artifactId>
362                 <version>2.6</version>
363             </dependency>
364             <dependency>
365                 <groupId>commons-codec</groupId>
366                 <artifactId>commons-codec</artifactId>
367                 <version>1.8</version>
368             </dependency>
369             <dependency>
370                 <groupId>com.google.code.findbugs</groupId>
371                 <artifactId>jsr305</artifactId>
372                 <version>2.0.3</version>
373             </dependency>
374             <dependency>
375                 <groupId>com.sun.jersey</groupId>
376                 <artifactId>jersey-client</artifactId>
377                 <version>1.17</version>
378             </dependency>
379             <dependency>
380                 <groupId>javax.ws.rs</groupId>
381                 <artifactId>javax.ws.rs-api</artifactId>
382                 <version>2.0</version>
383             </dependency>
384             <dependency>
385                 <groupId>javax.ws.rs</groupId>
386                 <artifactId>jsr311-api</artifactId>
387                 <version>1.1.1</version>
388             </dependency>
389
390             <dependency>
391                 <groupId>org.glassfish.jersey.ext</groupId>
392                 <artifactId>jersey-proxy-client</artifactId>
393                 <version>2.0</version>
394             </dependency>
395             <dependency>
396                 <groupId>org.glassfish.jersey.core</groupId>
397                 <artifactId>jersey-client</artifactId>
398                 <version>2.0</version>
399             </dependency>
400
401             <dependency>
402                 <groupId>commons-io</groupId>
403                 <artifactId>commons-io</artifactId>
404                 <version>2.4</version>
405             </dependency>
406
407             <dependency>
408                 <groupId>org.opendaylight.yangtools</groupId>
409                 <artifactId>restconf-client-api</artifactId>
410                 <version>${project.version}</version>
411             </dependency>
412             <dependency>
413                 <groupId>org.opendaylight.yangtools</groupId>
414                 <artifactId>restconf-common</artifactId>
415                 <version>${project.version}</version>
416             </dependency>
417             <dependency>
418                 <groupId>org.opendaylight.yangtools</groupId>
419                 <artifactId>restconf-util</artifactId>
420                 <version>${project.version}</version>
421             </dependency>
422             <dependency>
423                 <groupId>org.opendaylight.yangtools</groupId>
424                 <artifactId>restconf-test-service</artifactId>
425                 <version>${project.version}</version>
426             </dependency>
427             <dependency>
428                 <groupId>org.opendaylight.yangtools</groupId>
429                 <artifactId>restconf-client-impl</artifactId>
430                 <version>${project.version}</version>
431             </dependency>
432             <dependency>
433                 <groupId>org.opendaylight.yangtools</groupId>
434                 <artifactId>restconf-jaxrs-api</artifactId>
435                 <version>${project.version}</version>
436             </dependency>
437
438             <dependency>
439                 <groupId>org.opendaylight.yangtools</groupId>
440                 <artifactId>bug527-test-model</artifactId>
441                 <version>0.6.2-SNAPSHOT</version>
442                 <scope>test</scope>
443             </dependency>
444             <dependency>
445                 <groupId>org.opendaylight.yangtools</groupId>
446                 <artifactId>bug1196-test-model</artifactId>
447                 <version>0.6.2-SNAPSHOT</version>
448                 <scope>test</scope>
449             </dependency>
450
451             <dependency>
452                 <groupId>org.opendaylight.yangtools</groupId>
453                 <artifactId>websocket-client</artifactId>
454                 <version>${project.version}</version>
455             </dependency>
456
457             <dependency>
458                 <groupId>com.github.romix</groupId>
459                 <artifactId>java-concurrent-hash-trie-map</artifactId>
460                 <version>${ctrie.version}</version>
461             </dependency>
462             <dependency>
463                 <groupId>${project.groupId}</groupId>
464                 <artifactId>object-cache-api</artifactId>
465                 <version>${project.version}</version>
466             </dependency>
467             <dependency>
468                 <groupId>${project.groupId}</groupId>
469                 <artifactId>object-cache-guava</artifactId>
470                 <version>${project.version}</version>
471             </dependency>
472             <dependency>
473                 <groupId>${project.groupId}</groupId>
474                 <artifactId>object-cache-noop</artifactId>
475                 <version>${project.version}</version>
476             </dependency>
477             <dependency>
478                 <groupId>${project.groupId}</groupId>
479                 <artifactId>util</artifactId>
480                 <version>${project.version}</version>
481             </dependency>
482         </dependencies>
483     </dependencyManagement>
484
485     <build>
486         <pluginManagement>
487             <plugins>
488                 <plugin>
489                     <groupId>org.apache.maven.plugins</groupId>
490                     <artifactId>maven-jar-plugin</artifactId>
491                     <version>${maven.jar.version}</version>
492                     <configuration>
493                         <archive>
494                             <!--
495                                  Bundle OSGi Manifest created by maven-bundle-plugin
496                                  into a jar file
497                                  -->
498                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
499                         </archive>
500                     </configuration>
501                 </plugin>
502                 <plugin>
503                     <groupId>org.apache.felix</groupId>
504                     <artifactId>maven-bundle-plugin</artifactId>
505                     <version>${maven.bundle.version}</version>
506                     <extensions>true</extensions>
507                     <executions>
508                         <execution>
509                             <id>bundle-manifest</id>
510                             <phase>process-classes</phase>
511                             <goals>
512                                 <goal>manifest</goal>
513                             </goals>
514                         </execution>
515                     </executions>
516                 </plugin>
517                 <plugin>
518                     <groupId>org.eclipse.m2e</groupId>
519                     <artifactId>lifecycle-mapping</artifactId>
520                     <version>1.0.0</version>
521                     <configuration>
522                         <lifecycleMappingMetadata>
523                             <pluginExecutions>
524                                 <pluginExecution>
525                                     <pluginExecutionFilter>
526                                         <groupId>org.apache.felix</groupId>
527                                         <artifactId>maven-bundle-plugin</artifactId>
528                                         <versionRange>[1.0,)</versionRange>
529                                         <goals>
530                                             <goal>manifest</goal>
531                                         </goals>
532                                     </pluginExecutionFilter>
533                                     <action>
534                                         <execute />
535                                     </action>
536                                 </pluginExecution>
537                             </pluginExecutions>
538                         </lifecycleMappingMetadata>
539                     </configuration>
540                 </plugin>
541                 <plugin>
542                     <groupId>org.codehaus.mojo</groupId>
543                     <artifactId>build-helper-maven-plugin</artifactId>
544                     <version>1.8</version>
545                 </plugin>
546                 <plugin>
547                     <groupId>org.opendaylight.yangtools</groupId>
548                     <artifactId>yang-maven-plugin</artifactId>
549                     <version>0.6.2-SNAPSHOT</version>
550                     <executions>
551                         <execution>
552                             <goals>
553                                 <goal>generate-sources</goal>
554                             </goals>
555                             <configuration>
556                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
557                                 <codeGenerators>
558                                     <generator>
559                                         <codeGeneratorClass>
560                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
561                                         </codeGeneratorClass>
562                                         <outputBaseDir>
563                                             target/generated-sources/sal
564                                         </outputBaseDir>
565                                     </generator>
566                                     <generator>
567                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
568                                         <outputBaseDir>target/site/restconf</outputBaseDir>
569                                     </generator>
570                                     <generator>
571                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
572                                         <outputBaseDir>target/site/restconf</outputBaseDir>
573                                     </generator>
574                                 </codeGenerators>
575                                 <inspectDependencies>true</inspectDependencies>
576                             </configuration>
577                         </execution>
578                     </executions>
579                     <dependencies>
580                         <dependency>
581                             <groupId>org.opendaylight.yangtools</groupId>
582                             <artifactId>maven-sal-api-gen-plugin</artifactId>
583                             <version>0.6.2-SNAPSHOT</version>
584                             <type>jar</type>
585                         </dependency>
586                     </dependencies>
587                 </plugin>
588                 <plugin>
589                     <groupId>org.ops4j.pax.exam</groupId>
590                     <artifactId>maven-paxexam-plugin</artifactId>
591                     <version>1.2.4</version>
592                     <executions>
593                         <execution>
594                             <id>generate-config</id>
595                             <goals>
596                                 <goal>generate-depends-file</goal>
597                             </goals>
598                         </execution>
599                     </executions>
600                 </plugin>
601                 <plugin>
602                     <groupId>org.apache.maven.plugins</groupId>
603                     <artifactId>maven-javadoc-plugin</artifactId>
604                     <version>${maven.javadoc.version}</version>
605                     <configuration>
606                         <stylesheetfile>stylesheet.css</stylesheetfile>
607                     </configuration>
608                     <executions>
609                         <execution>
610                             <id>attach-javadocs</id>
611                             <goals>
612                                 <goal>jar</goal>
613                             </goals>
614                         </execution>
615                         <execution>
616                             <goals>
617                                 <goal>aggregate</goal>
618                             </goals>
619                             <phase>site</phase>
620                         </execution>
621                     </executions>
622                 </plugin>
623             </plugins>
624         </pluginManagement>
625
626         <plugins>
627             <!--
628             <plugin>
629                 <groupId>org.apache.maven.plugins</groupId>
630                 <artifactId>maven-enforcer-plugin</artifactId>
631                 <version>1.0</version>
632                 <executions>
633                     <execution>
634                         <id>enforce</id>
635                         <configuration>
636                             <rules>
637                                 <DependencyConvergence />
638                             </rules>
639                         </configuration>
640                         <goals>
641                             <goal>enforce</goal>
642                         </goals>
643                     </execution>
644                 </executions>
645             </plugin>
646             -->
647             <plugin>
648                 <groupId>org.eclipse.xtend</groupId>
649                 <artifactId>xtend-maven-plugin</artifactId>
650                 <version>${xtend.version}</version>
651                 <executions>
652                     <execution>
653                         <goals>
654                             <goal>compile</goal>
655                         </goals>
656                         <configuration>
657                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
658                         </configuration>
659                     </execution>
660                 </executions>
661             </plugin>
662             <plugin>
663                 <artifactId>maven-clean-plugin</artifactId>
664                 <version>2.5</version>
665                 <configuration>
666                     <filesets>
667                         <fileset>
668                             <directory>${basedir}/src/main/xtend-gen</directory>
669                             <includes>
670                                 <include>**</include>
671                             </includes>
672                         </fileset>
673                     </filesets>
674                 </configuration>
675             </plugin>
676             <plugin>
677                 <groupId>org.apache.maven.plugins</groupId>
678                 <artifactId>maven-jar-plugin</artifactId>
679             </plugin>
680             <plugin>
681                 <groupId>org.apache.felix</groupId>
682                 <artifactId>maven-bundle-plugin</artifactId>
683             </plugin>
684             <plugin>
685                 <groupId>org.apache.maven.plugins</groupId>
686                 <artifactId>maven-source-plugin</artifactId>
687                 <version>${maven.source.version}</version>
688                 <executions>
689                     <execution>
690                         <id>attach-sources</id>
691                         <goals>
692                             <goal>jar</goal>
693                         </goals>
694                     </execution>
695                 </executions>
696             </plugin>
697             <plugin>
698                 <groupId>org.apache.maven.plugins</groupId>
699                 <artifactId>maven-javadoc-plugin</artifactId>
700             </plugin>
701         </plugins>
702     </build>
703
704     <reporting>
705         <plugins>
706             <plugin>
707                 <groupId>org.codehaus.mojo</groupId>
708                 <artifactId>findbugs-maven-plugin</artifactId>
709                 <version>${findbugs.maven.plugin.version}</version>
710                 <configuration>
711                     <effort>Max</effort>
712                     <threshold>Low</threshold>
713                     <goal>site</goal>
714                 </configuration>
715             </plugin>
716             <plugin>
717                 <groupId>org.codehaus.mojo</groupId>
718                 <artifactId>jdepend-maven-plugin</artifactId>
719                 <version>${jdepend.maven.plugin.version}</version>
720             </plugin>
721         </plugins>
722     </reporting>
723     <repositories>
724         <!-- OpenDayLight Repo Mirror -->
725         <repository>
726             <id>opendaylight-mirror</id>
727             <name>opendaylight-mirror</name>
728             <url>http://nexus.opendaylight.org/content/groups/public/</url>
729             <snapshots>
730                 <enabled>false</enabled>
731             </snapshots>
732             <releases>
733                 <enabled>true</enabled>
734                 <updatePolicy>never</updatePolicy>
735             </releases>
736         </repository>
737
738         <!-- OpenDayLight Snapshot artifact -->
739         <repository>
740             <id>opendaylight-snapshot</id>
741             <name>opendaylight-snapshot</name>
742             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
743             <snapshots>
744                 <enabled>true</enabled>
745             </snapshots>
746             <releases>
747                 <enabled>false</enabled>
748             </releases>
749         </repository>
750     </repositories>
751 </project>