bug 1128:POM Restructuring for Automated Release
[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.09.04.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
445             <dependency>
446                 <groupId>org.opendaylight.yangtools</groupId>
447                 <artifactId>websocket-client</artifactId>
448                 <version>${project.version}</version>
449             </dependency>
450
451             <dependency>
452                 <groupId>com.github.romix</groupId>
453                 <artifactId>java-concurrent-hash-trie-map</artifactId>
454                 <version>${ctrie.version}</version>
455             </dependency>
456             <dependency>
457                 <groupId>${project.groupId}</groupId>
458                 <artifactId>object-cache-api</artifactId>
459                 <version>${project.version}</version>
460             </dependency>
461             <dependency>
462                 <groupId>${project.groupId}</groupId>
463                 <artifactId>object-cache-guava</artifactId>
464                 <version>${project.version}</version>
465             </dependency>
466             <dependency>
467                 <groupId>${project.groupId}</groupId>
468                 <artifactId>object-cache-noop</artifactId>
469                 <version>${project.version}</version>
470             </dependency>
471             <dependency>
472                 <groupId>${project.groupId}</groupId>
473                 <artifactId>util</artifactId>
474                 <version>${project.version}</version>
475             </dependency>
476         </dependencies>
477     </dependencyManagement>
478
479     <build>
480         <pluginManagement>
481             <plugins>
482                 <plugin>
483                     <groupId>org.apache.maven.plugins</groupId>
484                     <artifactId>maven-jar-plugin</artifactId>
485                     <version>${maven.jar.version}</version>
486                     <configuration>
487                         <archive>
488                             <!--
489                                  Bundle OSGi Manifest created by maven-bundle-plugin
490                                  into a jar file
491                                  -->
492                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
493                         </archive>
494                     </configuration>
495                 </plugin>
496                 <plugin>
497                     <groupId>org.apache.felix</groupId>
498                     <artifactId>maven-bundle-plugin</artifactId>
499                     <version>${maven.bundle.version}</version>
500                     <extensions>true</extensions>
501                     <executions>
502                         <execution>
503                             <id>bundle-manifest</id>
504                             <phase>process-classes</phase>
505                             <goals>
506                                 <goal>manifest</goal>
507                             </goals>
508                         </execution>
509                     </executions>
510                 </plugin>
511                 <plugin>
512                     <groupId>org.eclipse.m2e</groupId>
513                     <artifactId>lifecycle-mapping</artifactId>
514                     <version>1.0.0</version>
515                     <configuration>
516                         <lifecycleMappingMetadata>
517                             <pluginExecutions>
518                                 <pluginExecution>
519                                     <pluginExecutionFilter>
520                                         <groupId>org.apache.felix</groupId>
521                                         <artifactId>maven-bundle-plugin</artifactId>
522                                         <versionRange>[1.0,)</versionRange>
523                                         <goals>
524                                             <goal>manifest</goal>
525                                         </goals>
526                                     </pluginExecutionFilter>
527                                     <action>
528                                         <execute />
529                                     </action>
530                                 </pluginExecution>
531                             </pluginExecutions>
532                         </lifecycleMappingMetadata>
533                     </configuration>
534                 </plugin>
535                 <plugin>
536                     <groupId>org.codehaus.mojo</groupId>
537                     <artifactId>build-helper-maven-plugin</artifactId>
538                     <version>1.8</version>
539                 </plugin>
540                 <plugin>
541                     <groupId>org.opendaylight.yangtools</groupId>
542                     <artifactId>yang-maven-plugin</artifactId>
543                     <version>0.6.2-SNAPSHOT</version>
544                     <executions>
545                         <execution>
546                             <goals>
547                                 <goal>generate-sources</goal>
548                             </goals>
549                             <configuration>
550                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
551                                 <codeGenerators>
552                                     <generator>
553                                         <codeGeneratorClass>
554                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
555                                         </codeGeneratorClass>
556                                         <outputBaseDir>
557                                             target/generated-sources/sal
558                                         </outputBaseDir>
559                                     </generator>
560                                     <generator>
561                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
562                                         <outputBaseDir>target/site/restconf</outputBaseDir>
563                                     </generator>
564                                     <generator>
565                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
566                                         <outputBaseDir>target/site/restconf</outputBaseDir>
567                                     </generator>
568                                 </codeGenerators>
569                                 <inspectDependencies>true</inspectDependencies>
570                             </configuration>
571                         </execution>
572                     </executions>
573                     <dependencies>
574                         <dependency>
575                             <groupId>org.opendaylight.yangtools</groupId>
576                             <artifactId>maven-sal-api-gen-plugin</artifactId>
577                             <version>0.6.2-SNAPSHOT</version>
578                             <type>jar</type>
579                         </dependency>
580                     </dependencies>
581                 </plugin>
582                 <plugin>
583                     <groupId>org.ops4j.pax.exam</groupId>
584                     <artifactId>maven-paxexam-plugin</artifactId>
585                     <version>1.2.4</version>
586                     <executions>
587                         <execution>
588                             <id>generate-config</id>
589                             <goals>
590                                 <goal>generate-depends-file</goal>
591                             </goals>
592                         </execution>
593                     </executions>
594                 </plugin>
595                 <plugin>
596                     <groupId>org.apache.maven.plugins</groupId>
597                     <artifactId>maven-javadoc-plugin</artifactId>
598                     <version>${maven.javadoc.version}</version>
599                     <configuration>
600                         <stylesheetfile>stylesheet.css</stylesheetfile>
601                     </configuration>
602                     <executions>
603                         <execution>
604                             <id>attach-javadocs</id>
605                             <goals>
606                                 <goal>jar</goal>
607                             </goals>
608                         </execution>
609                         <execution>
610                             <goals>
611                                 <goal>aggregate</goal>
612                             </goals>
613                             <phase>site</phase>
614                         </execution>
615                     </executions>
616                 </plugin>
617             </plugins>
618         </pluginManagement>
619
620         <plugins>
621             <!--
622             <plugin>
623                 <groupId>org.apache.maven.plugins</groupId>
624                 <artifactId>maven-enforcer-plugin</artifactId>
625                 <version>1.0</version>
626                 <executions>
627                     <execution>
628                         <id>enforce</id>
629                         <configuration>
630                             <rules>
631                                 <DependencyConvergence />
632                             </rules>
633                         </configuration>
634                         <goals>
635                             <goal>enforce</goal>
636                         </goals>
637                     </execution>
638                 </executions>
639             </plugin>
640             -->
641             <plugin>
642                 <groupId>org.eclipse.xtend</groupId>
643                 <artifactId>xtend-maven-plugin</artifactId>
644                 <version>${xtend.version}</version>
645                 <executions>
646                     <execution>
647                         <goals>
648                             <goal>compile</goal>
649                         </goals>
650                         <configuration>
651                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
652                         </configuration>
653                     </execution>
654                 </executions>
655             </plugin>
656             <plugin>
657                 <artifactId>maven-clean-plugin</artifactId>
658                 <version>2.5</version>
659                 <configuration>
660                     <filesets>
661                         <fileset>
662                             <directory>${basedir}/src/main/xtend-gen</directory>
663                             <includes>
664                                 <include>**</include>
665                             </includes>
666                         </fileset>
667                     </filesets>
668                 </configuration>
669             </plugin>
670             <plugin>
671                 <groupId>org.apache.maven.plugins</groupId>
672                 <artifactId>maven-jar-plugin</artifactId>
673             </plugin>
674             <plugin>
675                 <groupId>org.apache.felix</groupId>
676                 <artifactId>maven-bundle-plugin</artifactId>
677             </plugin>
678             <plugin>
679                 <groupId>org.apache.maven.plugins</groupId>
680                 <artifactId>maven-source-plugin</artifactId>
681                 <version>${maven.source.version}</version>
682                 <executions>
683                     <execution>
684                         <id>attach-sources</id>
685                         <goals>
686                             <goal>jar</goal>
687                         </goals>
688                     </execution>
689                 </executions>
690             </plugin>
691             <plugin>
692                 <groupId>org.apache.maven.plugins</groupId>
693                 <artifactId>maven-javadoc-plugin</artifactId>
694             </plugin>
695         </plugins>
696     </build>
697
698     <reporting>
699         <plugins>
700             <plugin>
701                 <groupId>org.codehaus.mojo</groupId>
702                 <artifactId>findbugs-maven-plugin</artifactId>
703                 <version>${findbugs.maven.plugin.version}</version>
704                 <configuration>
705                     <effort>Max</effort>
706                     <threshold>Low</threshold>
707                     <goal>site</goal>
708                 </configuration>
709             </plugin>
710             <plugin>
711                 <groupId>org.codehaus.mojo</groupId>
712                 <artifactId>jdepend-maven-plugin</artifactId>
713                 <version>${jdepend.maven.plugin.version}</version>
714             </plugin>
715         </plugins>
716     </reporting>
717     <repositories>
718         <!-- OpenDayLight Repo Mirror -->
719         <repository>
720             <id>opendaylight-mirror</id>
721             <name>opendaylight-mirror</name>
722             <url>http://nexus.opendaylight.org/content/groups/public/</url>
723             <snapshots>
724                 <enabled>false</enabled>
725             </snapshots>
726             <releases>
727                 <enabled>true</enabled>
728                 <updatePolicy>never</updatePolicy>
729             </releases>
730         </repository>
731
732         <!-- OpenDayLight Snapshot artifact -->
733         <repository>
734             <id>opendaylight-snapshot</id>
735             <name>opendaylight-snapshot</name>
736             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
737             <snapshots>
738                 <enabled>true</enabled>
739             </snapshots>
740             <releases>
741                 <enabled>false</enabled>
742             </releases>
743         </repository>
744     </repositories>
745 </project>