Fix for features - added missing dependency
[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>binding-data-codec</artifactId>
438               <version>${project.version}</version>
439             </dependency>
440             <dependency>
441               <groupId>org.opendaylight.yangtools</groupId>
442               <artifactId>features-test</artifactId>
443               <version>${project.version}</version>
444               <scope>test</scope>
445             </dependency>
446         </dependencies>
447     </dependencyManagement>
448
449     <dependencies>
450         <!-- Sonar -->
451         <dependency>
452             <groupId>org.codehaus.sonar-plugins.java</groupId>
453             <artifactId>sonar-jacoco-listeners</artifactId>
454             <version>${sonar-jacoco-listeners.version}</version>
455             <scope>test</scope>
456         </dependency>
457     </dependencies>
458
459     <build>
460         <pluginManagement>
461             <plugins>
462                 <plugin>
463                     <groupId>org.apache.maven.plugins</groupId>
464                     <artifactId>maven-jar-plugin</artifactId>
465                     <version>${maven.jar.version}</version>
466                     <configuration>
467                         <archive>
468                             <!--
469                                  Bundle OSGi Manifest created by maven-bundle-plugin
470                                  into a jar file
471                                  -->
472                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
473                         </archive>
474                     </configuration>
475                 </plugin>
476                 <plugin>
477                     <groupId>org.apache.felix</groupId>
478                     <artifactId>maven-bundle-plugin</artifactId>
479                     <version>${maven.bundle.version}</version>
480                     <extensions>true</extensions>
481                     <executions>
482                         <execution>
483                             <id>bundle-manifest</id>
484                             <phase>process-classes</phase>
485                             <goals>
486                                 <goal>manifest</goal>
487                             </goals>
488                         </execution>
489                     </executions>
490                 </plugin>
491                 <plugin>
492                     <groupId>org.apache.maven.plugins</groupId>
493                     <artifactId>maven-failsafe-plugin</artifactId>
494                     <configuration>
495                         <!-- Specific to generate mapping between tests and covered code -->
496                         <argLine>${jacoco.agent.it.arg}</argLine>
497                         <properties>
498                             <property>
499                                 <name>listener</name>
500                                 <value>org.sonar.java.jacoco.JUnitListener</value>
501                             </property>
502                         </properties>
503                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
504                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
505                     </configuration>
506                 </plugin>
507                 <plugin>
508                     <groupId>org.apache.maven.plugins</groupId>
509                     <artifactId>maven-surefire-plugin</artifactId>
510                     <version>${maven.surefire.version}</version>
511                     <configuration>
512                         <!-- Specific to generate mapping between tests and covered code -->
513                         <argLine>${jacoco.agent.ut.arg}</argLine>
514                         <properties>
515                             <property>
516                                 <name>listener</name>
517                                 <value>org.sonar.java.jacoco.JUnitListener</value>
518                             </property>
519                         </properties>
520                     </configuration>
521                 </plugin>
522
523                 <plugin>
524                     <groupId>org.eclipse.m2e</groupId>
525                     <artifactId>lifecycle-mapping</artifactId>
526                     <version>1.0.0</version>
527                     <configuration>
528                         <lifecycleMappingMetadata>
529                             <pluginExecutions>
530                                 <pluginExecution>
531                                     <pluginExecutionFilter>
532                                         <groupId>org.apache.felix</groupId>
533                                         <artifactId>maven-bundle-plugin</artifactId>
534                                         <versionRange>[1.0,)</versionRange>
535                                         <goals>
536                                             <goal>manifest</goal>
537                                         </goals>
538                                     </pluginExecutionFilter>
539                                     <action>
540                                         <execute />
541                                     </action>
542                                 </pluginExecution>
543                                 <pluginExecution>
544                                     <pluginExecutionFilter>
545                                         <groupId>org.apache.maven.plugins</groupId>
546                                         <artifactId>maven-antrun-plugin</artifactId>
547                                         <versionRange>[1.0,)</versionRange>
548                                         <goals>
549                                             <goal>run</goal>
550                                         </goals>
551                                     </pluginExecutionFilter>
552                                     <action>
553                                         <execute/>
554                                     </action>
555                                 </pluginExecution>
556                                 <pluginExecution>
557                                     <pluginExecutionFilter>
558                                         <groupId>org.opendaylight.yangtools</groupId>
559                                         <artifactId>yang-maven-plugin</artifactId>
560                                         <versionRange>[0.5,)</versionRange>
561                                         <goals>
562                                             <goal>generate-sources</goal>
563                                         </goals>
564                                      </pluginExecutionFilter>
565                                      <action>
566                                          <ignore />
567                                      </action>
568                                  </pluginExecution>
569                                  <pluginExecution>
570                                     <pluginExecutionFilter>
571                                         <groupId>org.codehaus.mojo</groupId>
572                                         <artifactId>properties-maven-plugin</artifactId>
573                                         <versionRange>1.0-alpha-2</versionRange>
574                                         <goals>
575                                             <goal>write-project-properties</goal>
576                                         </goals>
577                                      </pluginExecutionFilter>
578                                      <action>
579                                          <ignore />
580                                      </action>
581                                  </pluginExecution>
582                                  <pluginExecution>
583                                     <pluginExecutionFilter>
584                                         <groupId>org.ops4j.pax.exam</groupId>
585                                         <artifactId>maven-paxexam-plugin</artifactId>
586                                         <versionRange>1.2.4</versionRange>
587                                         <goals>
588                                             <goal>generate-depends-file</goal>
589                                         </goals>
590                                      </pluginExecutionFilter>
591                                      <action>
592                                          <ignore />
593                                      </action>
594                                  </pluginExecution>
595                                  <pluginExecution>
596                                     <pluginExecutionFilter>
597                                         <groupId>org.jacoco</groupId>
598                                         <artifactId>jacoco-maven-plugin</artifactId>
599                                         <versionRange>[0.6,)</versionRange>
600                                         <goals>
601                                             <goal>prepare-agent</goal>
602                                         </goals>
603                                      </pluginExecutionFilter>
604                                      <action>
605                                          <ignore/>
606                                      </action>
607                                  </pluginExecution>
608                             </pluginExecutions>
609                         </lifecycleMappingMetadata>
610                     </configuration>
611                 </plugin>
612                 <plugin>
613                     <groupId>org.opendaylight.yangtools</groupId>
614                     <artifactId>yang-maven-plugin</artifactId>
615                     <version>0.6.2-SNAPSHOT</version>
616                     <executions>
617                         <execution>
618                             <goals>
619                                 <goal>generate-sources</goal>
620                             </goals>
621                             <configuration>
622                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
623                                 <codeGenerators>
624                                     <generator>
625                                         <codeGeneratorClass>
626                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
627                                         </codeGeneratorClass>
628                                         <outputBaseDir>
629                                             target/generated-sources/sal
630                                         </outputBaseDir>
631                                     </generator>
632                                     <generator>
633                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
634                                         <outputBaseDir>target/site/restconf</outputBaseDir>
635                                     </generator>
636                                     <generator>
637                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
638                                         <outputBaseDir>target/site/restconf</outputBaseDir>
639                                     </generator>
640                                 </codeGenerators>
641                                 <inspectDependencies>true</inspectDependencies>
642                             </configuration>
643                         </execution>
644                     </executions>
645                     <dependencies>
646                         <dependency>
647                             <groupId>org.opendaylight.yangtools</groupId>
648                             <artifactId>maven-sal-api-gen-plugin</artifactId>
649                             <version>0.6.2-SNAPSHOT</version>
650                             <type>jar</type>
651                         </dependency>
652                     </dependencies>
653                 </plugin>
654                 <plugin>
655                     <groupId>org.ops4j.pax.exam</groupId>
656                     <artifactId>maven-paxexam-plugin</artifactId>
657                     <version>1.2.4</version>
658                     <executions>
659                         <execution>
660                             <id>generate-config</id>
661                             <goals>
662                                 <goal>generate-depends-file</goal>
663                             </goals>
664                         </execution>
665                     </executions>
666                 </plugin>
667                 <plugin>
668                     <groupId>org.apache.maven.plugins</groupId>
669                     <artifactId>maven-javadoc-plugin</artifactId>
670                     <version>${maven.javadoc.version}</version>
671                     <configuration>
672                         <stylesheetfile>stylesheet.css</stylesheetfile>
673                     </configuration>
674                     <executions>
675                         <execution>
676                             <id>attach-javadocs</id>
677                             <goals>
678                                 <goal>jar</goal>
679                             </goals>
680                         </execution>
681                         <execution>
682                             <goals>
683                                 <goal>aggregate</goal>
684                             </goals>
685                             <phase>site</phase>
686                         </execution>
687                     </executions>
688                 </plugin>
689                 <plugin>
690                     <groupId>org.codehaus.mojo</groupId>
691                     <artifactId>build-helper-maven-plugin</artifactId>
692                     <version>1.8</version>
693                     <executions>
694                         <execution>
695                             <phase>generate-sources</phase>
696                             <goals>
697                                 <goal>add-source</goal>
698                             </goals>
699                             <configuration>
700                                 <sources>
701                                     <source>target/generated-sources/parser</source>
702                                     <source>target/generated-sources/sal</source>
703                                     <source>${basedir}/src/main/xtend-gen</source>
704                                 </sources>
705                             </configuration>
706                         </execution>
707                     </executions>
708                 </plugin>
709             </plugins>
710         </pluginManagement>
711
712         <plugins>
713             <!--
714             <plugin>
715                 <groupId>org.apache.maven.plugins</groupId>
716                 <artifactId>maven-enforcer-plugin</artifactId>
717                 <version>1.0</version>
718                 <executions>
719                     <execution>
720                         <id>enforce</id>
721                         <configuration>
722                             <rules>
723                                 <DependencyConvergence />
724                             </rules>
725                         </configuration>
726                         <goals>
727                             <goal>enforce</goal>
728                         </goals>
729                     </execution>
730                 </executions>
731             </plugin>
732             -->
733             <plugin>
734                 <groupId>org.eclipse.xtend</groupId>
735                 <artifactId>xtend-maven-plugin</artifactId>
736                 <version>${xtend.version}</version>
737                 <executions>
738                     <execution>
739                         <goals>
740                             <goal>compile</goal>
741                         </goals>
742                         <configuration>
743                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
744                         </configuration>
745                     </execution>
746                 </executions>
747             </plugin>
748             <plugin>
749                 <artifactId>maven-clean-plugin</artifactId>
750                 <version>2.5</version>
751                 <configuration>
752                     <filesets>
753                         <fileset>
754                             <directory>${basedir}/src/main/xtend-gen</directory>
755                             <includes>
756                                 <include>**</include>
757                             </includes>
758                         </fileset>
759                     </filesets>
760                 </configuration>
761             </plugin>
762             <plugin>
763                 <groupId>org.apache.maven.plugins</groupId>
764                 <artifactId>maven-jar-plugin</artifactId>
765             </plugin>
766             <plugin>
767                 <groupId>org.apache.felix</groupId>
768                 <artifactId>maven-bundle-plugin</artifactId>
769             </plugin>
770             <plugin>
771                 <groupId>org.apache.maven.plugins</groupId>
772                 <artifactId>maven-source-plugin</artifactId>
773                 <version>${maven.source.version}</version>
774                 <executions>
775                     <execution>
776                         <id>attach-sources</id>
777                         <goals>
778                             <goal>jar</goal>
779                         </goals>
780                     </execution>
781                 </executions>
782             </plugin>
783             <plugin>
784                 <groupId>org.apache.maven.plugins</groupId>
785                 <artifactId>maven-javadoc-plugin</artifactId>
786             </plugin>
787             <plugin>
788                 <groupId>org.jacoco</groupId>
789                 <artifactId>jacoco-maven-plugin</artifactId>
790                 <executions>
791                     <execution>
792                         <id>prepare-ut-agent</id>
793                         <phase>process-test-classes</phase>
794                         <goals>
795                             <goal>prepare-agent</goal>
796                         </goals>
797                         <configuration>
798                             <destFile>${sonar.jacoco.reportPath}</destFile>
799                             <propertyName>jacoco.agent.ut.arg</propertyName>
800                         </configuration>
801                     </execution>
802                     <execution>
803                         <id>prepare-it-agent</id>
804                         <phase>pre-integration-test</phase>
805                         <goals>
806                             <goal>prepare-agent</goal>
807                         </goals>
808                         <configuration>
809                             <destFile>${sonar.jacoco.itReportPath}</destFile>
810                             <propertyName>jacoco.agent.it.arg</propertyName>
811                         </configuration>
812                     </execution>
813                 </executions>
814             </plugin>
815         </plugins>
816     </build>
817
818     <reporting>
819         <plugins>
820             <plugin>
821                 <groupId>org.codehaus.mojo</groupId>
822                 <artifactId>findbugs-maven-plugin</artifactId>
823                 <version>${findbugs.maven.plugin.version}</version>
824                 <configuration>
825                     <effort>Max</effort>
826                     <threshold>Low</threshold>
827                     <goal>site</goal>
828                 </configuration>
829             </plugin>
830             <plugin>
831                 <groupId>org.codehaus.mojo</groupId>
832                 <artifactId>jdepend-maven-plugin</artifactId>
833                 <version>${jdepend.maven.plugin.version}</version>
834             </plugin>
835         </plugins>
836     </reporting>
837     <repositories>
838         <!-- OpenDayLight Repo Mirror -->
839         <repository>
840             <id>opendaylight-mirror</id>
841             <name>opendaylight-mirror</name>
842             <url>http://nexus.opendaylight.org/content/groups/public/</url>
843             <snapshots>
844                 <enabled>false</enabled>
845             </snapshots>
846             <releases>
847                 <enabled>true</enabled>
848                 <updatePolicy>never</updatePolicy>
849             </releases>
850         </repository>
851
852         <!-- OpenDayLight Snapshot artifact -->
853         <repository>
854             <id>opendaylight-snapshot</id>
855             <name>opendaylight-snapshot</name>
856             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
857             <snapshots>
858                 <enabled>true</enabled>
859             </snapshots>
860             <releases>
861                 <enabled>false</enabled>
862             </releases>
863         </repository>
864     </repositories>
865 </project>