BUG-869: added proper handling of nullable parameter
[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         <relativePath></relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>yangtools-parent</artifactId>
22     <groupId>org.opendaylight.yangtools</groupId>
23     <version>0.6.2-SNAPSHOT</version>
24     <packaging>pom</packaging>
25     <prerequisites>
26         <maven>3.0.4</maven>
27     </prerequisites>
28
29     <properties>
30         <antlr4.version>4.0</antlr4.version>
31         <commons.io.version>2.4</commons.io.version>
32         <ctrie.version>0.2.0</ctrie.version>
33         <exam.version>3.0.0</exam.version>
34         <groovy.version>2.1.6</groovy.version>
35         <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
36         <ietf.inet.types.version>2010.09.24.4-SNAPSHOT</ietf.inet.types.version>
37         <ietf.yang.types.version>2010.09.24.4-SNAPSHOT</ietf.yang.types.version>
38         <ietf.restconf.version>2013.10.19.1-SNAPSHOT</ietf.restconf.version>
39         <karaf.version>3.0.1</karaf.version>
40         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
41         <opendaylight.l2.types.version>2013.08.27.4-SNAPSHOT</opendaylight.l2.types.version>
42         <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
43         <maven.javadoc.version>2.9.1</maven.javadoc.version>
44         <jsr305.version>2.0.1</jsr305.version>
45
46         <!-- Sonar config -->
47         <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
48         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49         <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
50         <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
51         <sonar.profile>Sonar way with Findbugs</sonar.profile>
52     </properties>
53
54     <profiles>
55         <profile>
56             <id>jdk1.8</id>
57             <activation>
58                 <jdk>1.8</jdk>
59             </activation>
60             <build>
61                 <pluginManagement>
62                     <plugins>
63                         <plugin>
64                             <groupId>org.apache.maven.plugins</groupId>
65                             <artifactId>maven-javadoc-plugin</artifactId>
66                             <version>${maven.javadoc.version}</version>
67                             <configuration>
68                                 <stylesheetfile>stylesheet.css</stylesheetfile>
69                                 <additionalparam>-Xdoclint:none</additionalparam>
70                             </configuration>
71                             <executions>
72                                 <execution>
73                                     <id>attach-javadocs</id>
74                                     <goals>
75                                         <goal>jar</goal>
76                                     </goals>
77                                 </execution>
78                                 <execution>
79                                     <goals>
80                                         <goal>aggregate</goal>
81                                     </goals>
82                                     <phase>site</phase>
83                                 </execution>
84                             </executions>
85                         </plugin>
86                     </plugins>
87                 </pluginManagement>
88             </build>
89         </profile>
90     </profiles>
91
92     <dependencyManagement>
93         <dependencies>
94             <!-- Testing Dependencies -->
95             <dependency>
96                 <groupId>org.apache.maven.shared</groupId>
97                 <artifactId>maven-verifier</artifactId>
98                 <version>1.5</version>
99                 <scope>test</scope>
100             </dependency>
101             <dependency>
102                 <groupId>equinoxSDK381</groupId>
103                 <artifactId>org.eclipse.osgi</artifactId>
104                 <version>3.8.1.v20120830-144521</version>
105                 <scope>test</scope>
106             </dependency>
107             <dependency>
108                 <groupId>org.codehaus.groovy</groupId>
109                 <artifactId>groovy</artifactId>
110                 <version>2.1.6</version>
111                 <scope>test</scope>
112             </dependency>
113             <dependency>
114                 <groupId>org.codehaus.groovy</groupId>
115                 <artifactId>groovy-xml</artifactId>
116                 <version>2.1.6</version>
117                 <scope>test</scope>
118             </dependency>
119             <dependency>
120                 <groupId>xmlunit</groupId>
121                 <artifactId>xmlunit</artifactId>
122                 <version>1.5</version>
123                 <scope>test</scope>
124             </dependency>
125             <dependency>
126                 <groupId>org.opendaylight.yangtools</groupId>
127                 <artifactId>yang-data-util</artifactId>
128                 <version>0.6.2-SNAPSHOT</version>
129             </dependency>
130             <dependency>
131                 <groupId>org.opendaylight.yangtools</groupId>
132                 <artifactId>maven-sal-api-gen-plugin</artifactId>
133                 <version>0.6.2-SNAPSHOT</version>
134             </dependency>
135             <dependency>
136                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
137                 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
138                 <version>4.0</version>
139                 <scope>test</scope>
140             </dependency>
141             <dependency>
142                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
143                 <artifactId>xtend-lib-osgi</artifactId>
144                 <version>2.4.3</version>
145                 <scope>test</scope>
146             </dependency>
147             <dependency>
148                 <groupId>org.opendaylight.yangtools</groupId>
149                 <artifactId>concepts</artifactId>
150                 <version>0.6.2-SNAPSHOT</version>
151             </dependency>
152             <dependency>
153                 <groupId>org.opendaylight.yangtools</groupId>
154                 <artifactId>object-cache-api</artifactId>
155                 <version>0.6.2-SNAPSHOT</version>
156             </dependency>
157             <dependency>
158                 <groupId>org.opendaylight.yangtools</groupId>
159                 <artifactId>object-cache-guava</artifactId>
160                 <version>0.6.2-SNAPSHOT</version>
161             </dependency>
162             <dependency>
163                 <groupId>org.opendaylight.yangtools</groupId>
164                 <artifactId>object-cache-noop</artifactId>
165                 <version>0.6.2-SNAPSHOT</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.opendaylight.yangtools</groupId>
169                 <artifactId>binding-model-api</artifactId>
170                 <version>0.6.2-SNAPSHOT</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.opendaylight.yangtools</groupId>
174                 <artifactId>binding-generator-api</artifactId>
175                 <version>0.6.2-SNAPSHOT</version>
176             </dependency>
177             <dependency>
178                 <groupId>org.opendaylight.yangtools</groupId>
179                 <artifactId>binding-generator-spi</artifactId>
180                 <version>0.6.2-SNAPSHOT</version>
181             </dependency>
182             <dependency>
183                 <groupId>org.opendaylight.yangtools</groupId>
184                 <artifactId>binding-generator-util</artifactId>
185                 <version>0.6.2-SNAPSHOT</version>
186             </dependency>
187             <dependency>
188                 <groupId>org.opendaylight.yangtools</groupId>
189                 <artifactId>binding-generator-impl</artifactId>
190                 <version>0.6.2-SNAPSHOT</version>
191             </dependency>
192             <dependency>
193                 <groupId>org.opendaylight.yangtools</groupId>
194                 <artifactId>binding-java-api-generator</artifactId>
195                 <version>0.6.2-SNAPSHOT</version>
196             </dependency>
197             <dependency>
198                 <groupId>org.opendaylight.yangtools</groupId>
199                 <artifactId>yang-common</artifactId>
200                 <version>0.6.2-SNAPSHOT</version>
201             </dependency>
202             <dependency>
203                 <groupId>org.opendaylight.yangtools</groupId>
204                 <artifactId>yang-data-api</artifactId>
205                 <version>0.6.2-SNAPSHOT</version>
206             </dependency>
207             <dependency>
208                 <groupId>org.opendaylight.yangtools</groupId>
209                 <artifactId>yang-data-impl</artifactId>
210                 <version>0.6.2-SNAPSHOT</version>
211             </dependency>
212             <dependency>
213                 <groupId>org.opendaylight.yangtools</groupId>
214                 <artifactId>yang-model-api</artifactId>
215                 <version>0.6.2-SNAPSHOT</version>
216             </dependency>
217             <dependency>
218                 <groupId>org.opendaylight.yangtools</groupId>
219                 <artifactId>yang-model-util</artifactId>
220                 <version>0.6.2-SNAPSHOT</version>
221             </dependency>
222             <dependency>
223                 <groupId>org.opendaylight.yangtools</groupId>
224                 <artifactId>yang-binding</artifactId>
225                 <version>0.6.2-SNAPSHOT</version>
226             </dependency>
227             <dependency>
228                 <groupId>org.opendaylight.yangtools</groupId>
229                 <artifactId>yang-parser-api</artifactId>
230                 <version>0.6.2-SNAPSHOT</version>
231             </dependency>
232             <dependency>
233                 <groupId>org.opendaylight.yangtools</groupId>
234                 <artifactId>yang-parser-impl</artifactId>
235                 <version>0.6.2-SNAPSHOT</version>
236             </dependency>
237             <dependency>
238                 <groupId>org.opendaylight.yangtools</groupId>
239                 <artifactId>yang-maven-plugin</artifactId>
240                 <version>0.6.2-SNAPSHOT</version>
241             </dependency>
242             <dependency>
243                 <groupId>org.opendaylight.yangtools</groupId>
244                 <artifactId>yang-maven-plugin-spi</artifactId>
245                 <version>0.6.2-SNAPSHOT</version>
246             </dependency>
247             <dependency>
248                 <groupId>org.opendaylight.yangtools.model</groupId>
249                 <artifactId>ietf-inet-types</artifactId>
250                 <version>2010.09.24.4-SNAPSHOT</version>
251             </dependency>
252             <dependency>
253                 <groupId>org.opendaylight.yangtools.model</groupId>
254                 <artifactId>ietf-yang-types</artifactId>
255                 <version>2010.09.24.4-SNAPSHOT</version>
256             </dependency>
257             <dependency>
258                 <groupId>org.opendaylight.yangtools.model</groupId>
259                 <artifactId>ietf-restconf</artifactId>
260                 <version>2013.09.04.1-SNAPSHOT</version>
261             </dependency>
262             <dependency>
263                 <groupId>org.opendaylight.yangtools.model</groupId>
264                 <artifactId>ietf-ted</artifactId>
265                 <version>2013.10.21.2-SNAPSHOT</version>
266             </dependency>
267             <dependency>
268                 <groupId>org.opendaylight.yangtools.model</groupId>
269                 <artifactId>ietf-topology</artifactId>
270                 <version>2013.10.21.2-SNAPSHOT</version>
271             </dependency>
272             <dependency>
273                 <groupId>org.opendaylight.yangtools.model</groupId>
274                 <artifactId>ietf-topology-isis</artifactId>
275                 <version>2013.10.21.2-SNAPSHOT</version>
276             </dependency>
277             <dependency>
278                 <groupId>org.opendaylight.yangtools.model</groupId>
279                 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
280                 <version>2013.10.21.2-SNAPSHOT</version>
281             </dependency>
282             <dependency>
283                 <groupId>org.opendaylight.yangtools.model</groupId>
284                 <artifactId>ietf-topology-ospf</artifactId>
285                 <version>2013.10.21.2-SNAPSHOT</version>
286             </dependency>
287             <dependency>
288                 <groupId>org.opendaylight.yangtools.model</groupId>
289                 <artifactId>ietf-topology-l3-unicast</artifactId>
290                 <version>2013.10.21.2-SNAPSHOT</version>
291             </dependency>
292             <dependency>
293                 <groupId>org.opendaylight.yangtools</groupId>
294                 <artifactId>yang-data-composite-node</artifactId>
295                 <version>0.6.2-SNAPSHOT</version>
296             </dependency>
297             <dependency>
298                 <groupId>org.apache.maven</groupId>
299                 <artifactId>maven-core</artifactId>
300                 <version>3.0.5</version>
301             </dependency>
302             <dependency>
303                 <groupId>org.apache.maven</groupId>
304                 <artifactId>maven-plugin-api</artifactId>
305                 <version>3.0.5</version>
306             </dependency>
307             <dependency>
308                 <groupId>org.javassist</groupId>
309                 <artifactId>javassist</artifactId>
310                 <version>3.17.1-GA</version>
311             </dependency>
312             <dependency>
313                 <groupId>xml-apis</groupId>
314                 <artifactId>xml-apis</artifactId>
315                 <version>2.0.2</version>
316             </dependency>
317             <dependency>
318                 <groupId>org.eclipse.xtend</groupId>
319                 <artifactId>org.eclipse.xtend.lib</artifactId>
320                 <version>2.4.3</version>
321             </dependency>
322             <dependency>
323                 <groupId>org.osgi</groupId>
324                 <artifactId>org.osgi.core</artifactId>
325                 <version>5.0.0</version>
326                 <scope>provided</scope>
327             </dependency>
328             <dependency>
329                 <groupId>javax.ws.rs</groupId>
330                 <artifactId>javax.ws.rs-api</artifactId>
331                 <version>2.0</version>
332             </dependency>
333
334             <dependency>
335                 <groupId>org.glassfish.jersey.ext</groupId>
336                 <artifactId>jersey-proxy-client</artifactId>
337                 <version>2.0</version>
338             </dependency>
339             <dependency>
340                 <groupId>org.glassfish.jersey.core</groupId>
341                 <artifactId>jersey-client</artifactId>
342                 <version>2.0</version>
343             </dependency>
344
345             <dependency>
346                 <groupId>org.opendaylight.yangtools</groupId>
347                 <artifactId>restconf-client-api</artifactId>
348                 <version>${project.version}</version>
349             </dependency>
350             <dependency>
351                 <groupId>org.opendaylight.yangtools</groupId>
352                 <artifactId>restconf-common</artifactId>
353                 <version>${project.version}</version>
354             </dependency>
355             <dependency>
356                 <groupId>org.opendaylight.yangtools</groupId>
357                 <artifactId>restconf-util</artifactId>
358                 <version>${project.version}</version>
359             </dependency>
360             <dependency>
361                 <groupId>org.opendaylight.yangtools</groupId>
362                 <artifactId>restconf-test-service</artifactId>
363                 <version>${project.version}</version>
364             </dependency>
365             <dependency>
366                 <groupId>org.opendaylight.yangtools</groupId>
367                 <artifactId>restconf-client-impl</artifactId>
368                 <version>${project.version}</version>
369             </dependency>
370             <dependency>
371                 <groupId>org.opendaylight.yangtools</groupId>
372                 <artifactId>restconf-jaxrs-api</artifactId>
373                 <version>${project.version}</version>
374             </dependency>
375
376             <dependency>
377                 <groupId>org.opendaylight.yangtools</groupId>
378                 <artifactId>bug527-test-model</artifactId>
379                 <version>0.6.2-SNAPSHOT</version>
380                 <scope>test</scope>
381             </dependency>
382             <dependency>
383                 <groupId>org.opendaylight.yangtools</groupId>
384                 <artifactId>bug1196-test-model</artifactId>
385                 <version>0.6.2-SNAPSHOT</version>
386                 <scope>test</scope>
387             </dependency>
388
389             <dependency>
390                 <groupId>org.opendaylight.yangtools</groupId>
391                 <artifactId>websocket-client</artifactId>
392                 <version>${project.version}</version>
393             </dependency>
394
395             <dependency>
396                 <groupId>${project.groupId}</groupId>
397                 <artifactId>object-cache-api</artifactId>
398                 <version>${project.version}</version>
399             </dependency>
400             <dependency>
401                 <groupId>${project.groupId}</groupId>
402                 <artifactId>object-cache-guava</artifactId>
403                 <version>${project.version}</version>
404             </dependency>
405             <dependency>
406                 <groupId>${project.groupId}</groupId>
407                 <artifactId>object-cache-noop</artifactId>
408                 <version>${project.version}</version>
409             </dependency>
410             <dependency>
411                 <groupId>${project.groupId}</groupId>
412                 <artifactId>util</artifactId>
413                 <version>${project.version}</version>
414             </dependency>
415             <dependency>
416               <groupId>org.opendaylight.yangtools.model</groupId>
417               <artifactId>opendaylight-l2-types</artifactId>
418               <version>${opendaylight.l2.types.version}</version>
419             </dependency>
420             <dependency>
421               <groupId>org.opendaylight.yangtools.model</groupId>
422               <artifactId>yang-ext</artifactId>
423               <version>${yang.ext.version}</version>
424             </dependency>
425             <dependency>
426               <groupId>org.opendaylight.yangtools</groupId>
427               <artifactId>binding-type-provider</artifactId>
428               <version>${project.version}</version>
429             </dependency>
430             <dependency>
431               <groupId>org.opendaylight.yangtools</groupId>
432               <artifactId>yang-data-operations</artifactId>
433               <version>${project.version}</version>
434             </dependency>
435             <dependency>
436               <groupId>org.opendaylight.yangtools</groupId>
437               <artifactId>features-test</artifactId>
438               <version>${project.version}</version>
439               <scope>test</scope>
440             </dependency>
441         </dependencies>
442     </dependencyManagement>
443
444     <dependencies>
445         <!-- Sonar -->
446         <dependency>
447             <groupId>org.codehaus.sonar-plugins.java</groupId>
448             <artifactId>sonar-jacoco-listeners</artifactId>
449             <version>${sonar-jacoco-listeners.version}</version>
450             <scope>test</scope>
451         </dependency>
452     </dependencies>
453
454     <build>
455         <pluginManagement>
456             <plugins>
457                 <plugin>
458                     <groupId>org.apache.maven.plugins</groupId>
459                     <artifactId>maven-jar-plugin</artifactId>
460                     <version>${maven.jar.version}</version>
461                     <configuration>
462                         <archive>
463                             <!--
464                                  Bundle OSGi Manifest created by maven-bundle-plugin
465                                  into a jar file
466                                  -->
467                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
468                         </archive>
469                     </configuration>
470                 </plugin>
471                 <plugin>
472                     <groupId>org.apache.felix</groupId>
473                     <artifactId>maven-bundle-plugin</artifactId>
474                     <version>${maven.bundle.version}</version>
475                     <extensions>true</extensions>
476                     <executions>
477                         <execution>
478                             <id>bundle-manifest</id>
479                             <phase>process-classes</phase>
480                             <goals>
481                                 <goal>manifest</goal>
482                             </goals>
483                         </execution>
484                     </executions>
485                 </plugin>
486                 <plugin>
487                     <groupId>org.apache.maven.plugins</groupId>
488                     <artifactId>maven-failsafe-plugin</artifactId>
489                     <configuration>
490                         <!-- Specific to generate mapping between tests and covered code -->
491                         <argLine>${jacoco.agent.it.arg}</argLine>
492                         <properties>
493                             <property>
494                                 <name>listener</name>
495                                 <value>org.sonar.java.jacoco.JUnitListener</value>
496                             </property>
497                         </properties>
498                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
499                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
500                     </configuration>
501                 </plugin>
502                 <plugin>
503                     <groupId>org.apache.maven.plugins</groupId>
504                     <artifactId>maven-surefire-plugin</artifactId>
505                     <version>${maven.surefire.version}</version>
506                     <configuration>
507                         <!-- Specific to generate mapping between tests and covered code -->
508                         <argLine>${jacoco.agent.ut.arg}</argLine>
509                         <properties>
510                             <property>
511                                 <name>listener</name>
512                                 <value>org.sonar.java.jacoco.JUnitListener</value>
513                             </property>
514                         </properties>
515                     </configuration>
516                 </plugin>
517
518                 <plugin>
519                     <groupId>org.eclipse.m2e</groupId>
520                     <artifactId>lifecycle-mapping</artifactId>
521                     <version>1.0.0</version>
522                     <configuration>
523                         <lifecycleMappingMetadata>
524                             <pluginExecutions>
525                                 <pluginExecution>
526                                     <pluginExecutionFilter>
527                                         <groupId>org.apache.felix</groupId>
528                                         <artifactId>maven-bundle-plugin</artifactId>
529                                         <versionRange>[1.0,)</versionRange>
530                                         <goals>
531                                             <goal>manifest</goal>
532                                         </goals>
533                                     </pluginExecutionFilter>
534                                     <action>
535                                         <execute />
536                                     </action>
537                                 </pluginExecution>
538                                 <pluginExecution>
539                                     <pluginExecutionFilter>
540                                         <groupId>org.apache.maven.plugins</groupId>
541                                         <artifactId>maven-antrun-plugin</artifactId>
542                                         <versionRange>[1.0,)</versionRange>
543                                         <goals>
544                                             <goal>run</goal>
545                                         </goals>
546                                     </pluginExecutionFilter>
547                                     <action>
548                                         <execute/>
549                                     </action>
550                                 </pluginExecution>
551                                 <pluginExecution>
552                                     <pluginExecutionFilter>
553                                         <groupId>org.opendaylight.yangtools</groupId>
554                                         <artifactId>yang-maven-plugin</artifactId>
555                                         <versionRange>[0.5,)</versionRange>
556                                         <goals>
557                                             <goal>generate-sources</goal>
558                                         </goals>
559                                      </pluginExecutionFilter>
560                                      <action>
561                                          <ignore />
562                                      </action>
563                                  </pluginExecution>
564                                  <pluginExecution>
565                                     <pluginExecutionFilter>
566                                         <groupId>org.codehaus.mojo</groupId>
567                                         <artifactId>properties-maven-plugin</artifactId>
568                                         <versionRange>1.0-alpha-2</versionRange>
569                                         <goals>
570                                             <goal>write-project-properties</goal>
571                                         </goals>
572                                      </pluginExecutionFilter>
573                                      <action>
574                                          <ignore />
575                                      </action>
576                                  </pluginExecution>
577                                  <pluginExecution>
578                                     <pluginExecutionFilter>
579                                         <groupId>org.ops4j.pax.exam</groupId>
580                                         <artifactId>maven-paxexam-plugin</artifactId>
581                                         <versionRange>1.2.4</versionRange>
582                                         <goals>
583                                             <goal>generate-depends-file</goal>
584                                         </goals>
585                                      </pluginExecutionFilter>
586                                      <action>
587                                          <ignore />
588                                      </action>
589                                  </pluginExecution>
590                                  <pluginExecution>
591                                     <pluginExecutionFilter>
592                                         <groupId>org.jacoco</groupId>
593                                         <artifactId>jacoco-maven-plugin</artifactId>
594                                         <versionRange>[0.6,)</versionRange>
595                                         <goals>
596                                             <goal>prepare-agent</goal>
597                                         </goals>
598                                      </pluginExecutionFilter>
599                                      <action>
600                                          <ignore/>
601                                      </action>
602                                  </pluginExecution>
603                             </pluginExecutions>
604                         </lifecycleMappingMetadata>
605                     </configuration>
606                 </plugin>
607                 <plugin>
608                     <groupId>org.opendaylight.yangtools</groupId>
609                     <artifactId>yang-maven-plugin</artifactId>
610                     <version>0.6.2-SNAPSHOT</version>
611                     <executions>
612                         <execution>
613                             <goals>
614                                 <goal>generate-sources</goal>
615                             </goals>
616                             <configuration>
617                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
618                                 <codeGenerators>
619                                     <generator>
620                                         <codeGeneratorClass>
621                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
622                                         </codeGeneratorClass>
623                                         <outputBaseDir>
624                                             target/generated-sources/sal
625                                         </outputBaseDir>
626                                     </generator>
627                                     <generator>
628                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
629                                         <outputBaseDir>target/site/restconf</outputBaseDir>
630                                     </generator>
631                                     <generator>
632                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
633                                         <outputBaseDir>target/site/restconf</outputBaseDir>
634                                     </generator>
635                                 </codeGenerators>
636                                 <inspectDependencies>true</inspectDependencies>
637                             </configuration>
638                         </execution>
639                     </executions>
640                     <dependencies>
641                         <dependency>
642                             <groupId>org.opendaylight.yangtools</groupId>
643                             <artifactId>maven-sal-api-gen-plugin</artifactId>
644                             <version>0.6.2-SNAPSHOT</version>
645                             <type>jar</type>
646                         </dependency>
647                     </dependencies>
648                 </plugin>
649                 <plugin>
650                     <groupId>org.ops4j.pax.exam</groupId>
651                     <artifactId>maven-paxexam-plugin</artifactId>
652                     <version>1.2.4</version>
653                     <executions>
654                         <execution>
655                             <id>generate-config</id>
656                             <goals>
657                                 <goal>generate-depends-file</goal>
658                             </goals>
659                         </execution>
660                     </executions>
661                 </plugin>
662                 <plugin>
663                     <groupId>org.apache.maven.plugins</groupId>
664                     <artifactId>maven-javadoc-plugin</artifactId>
665                     <version>${maven.javadoc.version}</version>
666                     <configuration>
667                         <stylesheetfile>stylesheet.css</stylesheetfile>
668                     </configuration>
669                     <executions>
670                         <execution>
671                             <id>attach-javadocs</id>
672                             <goals>
673                                 <goal>jar</goal>
674                             </goals>
675                         </execution>
676                         <execution>
677                             <goals>
678                                 <goal>aggregate</goal>
679                             </goals>
680                             <phase>site</phase>
681                         </execution>
682                     </executions>
683                 </plugin>
684                 <plugin>
685                     <groupId>org.codehaus.mojo</groupId>
686                     <artifactId>build-helper-maven-plugin</artifactId>
687                     <version>1.8</version>
688                     <executions>
689                         <execution>
690                             <phase>generate-sources</phase>
691                             <goals>
692                                 <goal>add-source</goal>
693                             </goals>
694                             <configuration>
695                                 <sources>
696                                     <source>target/generated-sources/parser</source>
697                                     <source>target/generated-sources/sal</source>
698                                     <source>${basedir}/src/main/xtend-gen</source>
699                                 </sources>
700                             </configuration>
701                         </execution>
702                     </executions>
703                 </plugin>
704             </plugins>
705         </pluginManagement>
706
707         <plugins>
708             <!--
709             <plugin>
710                 <groupId>org.apache.maven.plugins</groupId>
711                 <artifactId>maven-enforcer-plugin</artifactId>
712                 <version>1.0</version>
713                 <executions>
714                     <execution>
715                         <id>enforce</id>
716                         <configuration>
717                             <rules>
718                                 <DependencyConvergence />
719                             </rules>
720                         </configuration>
721                         <goals>
722                             <goal>enforce</goal>
723                         </goals>
724                     </execution>
725                 </executions>
726             </plugin>
727             -->
728             <plugin>
729                 <groupId>org.eclipse.xtend</groupId>
730                 <artifactId>xtend-maven-plugin</artifactId>
731                 <version>${xtend.version}</version>
732                 <executions>
733                     <execution>
734                         <goals>
735                             <goal>compile</goal>
736                         </goals>
737                         <configuration>
738                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
739                         </configuration>
740                     </execution>
741                 </executions>
742             </plugin>
743             <plugin>
744                 <artifactId>maven-clean-plugin</artifactId>
745                 <version>2.5</version>
746                 <configuration>
747                     <filesets>
748                         <fileset>
749                             <directory>${basedir}/src/main/xtend-gen</directory>
750                             <includes>
751                                 <include>**</include>
752                             </includes>
753                         </fileset>
754                     </filesets>
755                 </configuration>
756             </plugin>
757             <plugin>
758                 <groupId>org.apache.maven.plugins</groupId>
759                 <artifactId>maven-jar-plugin</artifactId>
760             </plugin>
761             <plugin>
762                 <groupId>org.apache.felix</groupId>
763                 <artifactId>maven-bundle-plugin</artifactId>
764             </plugin>
765             <plugin>
766                 <groupId>org.apache.maven.plugins</groupId>
767                 <artifactId>maven-source-plugin</artifactId>
768                 <version>${maven.source.version}</version>
769                 <executions>
770                     <execution>
771                         <id>attach-sources</id>
772                         <goals>
773                             <goal>jar</goal>
774                         </goals>
775                     </execution>
776                 </executions>
777             </plugin>
778             <plugin>
779                 <groupId>org.apache.maven.plugins</groupId>
780                 <artifactId>maven-javadoc-plugin</artifactId>
781             </plugin>
782             <plugin>
783                 <groupId>org.jacoco</groupId>
784                 <artifactId>jacoco-maven-plugin</artifactId>
785                 <executions>
786                     <execution>
787                         <id>prepare-ut-agent</id>
788                         <phase>process-test-classes</phase>
789                         <goals>
790                             <goal>prepare-agent</goal>
791                         </goals>
792                         <configuration>
793                             <destFile>${sonar.jacoco.reportPath}</destFile>
794                             <propertyName>jacoco.agent.ut.arg</propertyName>
795                         </configuration>
796                     </execution>
797                     <execution>
798                         <id>prepare-it-agent</id>
799                         <phase>pre-integration-test</phase>
800                         <goals>
801                             <goal>prepare-agent</goal>
802                         </goals>
803                         <configuration>
804                             <destFile>${sonar.jacoco.itReportPath}</destFile>
805                             <propertyName>jacoco.agent.it.arg</propertyName>
806                         </configuration>
807                     </execution>
808                 </executions>
809             </plugin>
810         </plugins>
811     </build>
812
813     <reporting>
814         <plugins>
815             <plugin>
816                 <groupId>org.codehaus.mojo</groupId>
817                 <artifactId>findbugs-maven-plugin</artifactId>
818                 <version>${findbugs.maven.plugin.version}</version>
819                 <configuration>
820                     <effort>Max</effort>
821                     <threshold>Low</threshold>
822                     <goal>site</goal>
823                 </configuration>
824             </plugin>
825             <plugin>
826                 <groupId>org.codehaus.mojo</groupId>
827                 <artifactId>jdepend-maven-plugin</artifactId>
828                 <version>${jdepend.maven.plugin.version}</version>
829             </plugin>
830         </plugins>
831     </reporting>
832     <repositories>
833         <!-- OpenDayLight Repo Mirror -->
834         <repository>
835             <id>opendaylight-mirror</id>
836             <name>opendaylight-mirror</name>
837             <url>http://nexus.opendaylight.org/content/groups/public/</url>
838             <snapshots>
839                 <enabled>false</enabled>
840             </snapshots>
841             <releases>
842                 <enabled>true</enabled>
843                 <updatePolicy>never</updatePolicy>
844             </releases>
845         </repository>
846
847         <!-- OpenDayLight Snapshot artifact -->
848         <repository>
849             <id>opendaylight-snapshot</id>
850             <name>opendaylight-snapshot</name>
851             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
852             <snapshots>
853                 <enabled>true</enabled>
854             </snapshots>
855             <releases>
856                 <enabled>false</enabled>
857             </releases>
858         </repository>
859     </repositories>
860 </project>