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