Merge "BUG-1770: emit proper namespaces"
[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-data-codec-gson</artifactId>
216                 <version>0.6.2-SNAPSHOT</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.opendaylight.yangtools</groupId>
220                 <artifactId>yang-model-api</artifactId>
221                 <version>0.6.2-SNAPSHOT</version>
222             </dependency>
223             <dependency>
224                 <groupId>org.opendaylight.yangtools</groupId>
225                 <artifactId>yang-model-util</artifactId>
226                 <version>0.6.2-SNAPSHOT</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.opendaylight.yangtools</groupId>
230                 <artifactId>yang-binding</artifactId>
231                 <version>0.6.2-SNAPSHOT</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.opendaylight.yangtools</groupId>
235                 <artifactId>yang-parser-api</artifactId>
236                 <version>0.6.2-SNAPSHOT</version>
237             </dependency>
238             <dependency>
239                 <groupId>org.opendaylight.yangtools</groupId>
240                 <artifactId>yang-parser-impl</artifactId>
241                 <version>0.6.2-SNAPSHOT</version>
242             </dependency>
243             <dependency>
244                 <groupId>org.opendaylight.yangtools</groupId>
245                 <artifactId>yang-maven-plugin</artifactId>
246                 <version>0.6.2-SNAPSHOT</version>
247             </dependency>
248             <dependency>
249                 <groupId>org.opendaylight.yangtools</groupId>
250                 <artifactId>yang-maven-plugin-spi</artifactId>
251                 <version>0.6.2-SNAPSHOT</version>
252             </dependency>
253             <dependency>
254                 <groupId>org.opendaylight.yangtools.model</groupId>
255                 <artifactId>ietf-inet-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</artifactId>
261                 <version>2010.09.24.4-SNAPSHOT</version>
262             </dependency>
263             <dependency>
264                 <groupId>org.opendaylight.yangtools.model</groupId>
265                 <artifactId>ietf-yang-types-20130715</artifactId>
266                 <version>2013.07.15.1-SNAPSHOT</version>
267             </dependency>
268             <dependency>
269                 <groupId>org.opendaylight.yangtools.model</groupId>
270                 <artifactId>ietf-restconf</artifactId>
271                 <version>${ietf.restconf.version}</version>
272             </dependency>
273             <dependency>
274                 <groupId>org.opendaylight.yangtools.model</groupId>
275                 <artifactId>ietf-ted</artifactId>
276                 <version>2013.10.21.2-SNAPSHOT</version>
277             </dependency>
278             <dependency>
279                 <groupId>org.opendaylight.yangtools.model</groupId>
280                 <artifactId>ietf-topology</artifactId>
281                 <version>2013.10.21.2-SNAPSHOT</version>
282             </dependency>
283             <dependency>
284                 <groupId>org.opendaylight.yangtools.model</groupId>
285                 <artifactId>ietf-topology-isis</artifactId>
286                 <version>2013.10.21.2-SNAPSHOT</version>
287             </dependency>
288             <dependency>
289                 <groupId>org.opendaylight.yangtools.model</groupId>
290                 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
291                 <version>2013.10.21.2-SNAPSHOT</version>
292             </dependency>
293             <dependency>
294                 <groupId>org.opendaylight.yangtools.model</groupId>
295                 <artifactId>ietf-topology-ospf</artifactId>
296                 <version>2013.10.21.2-SNAPSHOT</version>
297             </dependency>
298             <dependency>
299                 <groupId>org.opendaylight.yangtools.model</groupId>
300                 <artifactId>ietf-topology-l3-unicast</artifactId>
301                 <version>2013.10.21.2-SNAPSHOT</version>
302             </dependency>
303             <dependency>
304                 <groupId>org.opendaylight.yangtools</groupId>
305                 <artifactId>yang-data-composite-node</artifactId>
306                 <version>0.6.2-SNAPSHOT</version>
307             </dependency>
308             <dependency>
309                 <groupId>org.apache.maven</groupId>
310                 <artifactId>maven-core</artifactId>
311                 <version>3.0.5</version>
312             </dependency>
313             <dependency>
314                 <groupId>org.apache.maven</groupId>
315                 <artifactId>maven-plugin-api</artifactId>
316                 <version>3.0.5</version>
317             </dependency>
318             <dependency>
319                 <groupId>org.javassist</groupId>
320                 <artifactId>javassist</artifactId>
321                 <version>${javassist.version}</version>
322             </dependency>
323             <dependency>
324                 <groupId>xml-apis</groupId>
325                 <artifactId>xml-apis</artifactId>
326                 <version>2.0.2</version>
327             </dependency>
328             <dependency>
329                 <groupId>org.eclipse.xtend</groupId>
330                 <artifactId>org.eclipse.xtend.lib</artifactId>
331                 <version>2.4.3</version>
332             </dependency>
333             <dependency>
334                 <groupId>org.osgi</groupId>
335                 <artifactId>org.osgi.core</artifactId>
336                 <version>5.0.0</version>
337                 <scope>provided</scope>
338             </dependency>
339             <dependency>
340                 <groupId>javax.ws.rs</groupId>
341                 <artifactId>javax.ws.rs-api</artifactId>
342                 <version>2.0</version>
343             </dependency>
344
345             <dependency>
346                 <groupId>org.glassfish.jersey.ext</groupId>
347                 <artifactId>jersey-proxy-client</artifactId>
348                 <version>2.0</version>
349             </dependency>
350             <dependency>
351                 <groupId>org.glassfish.jersey.core</groupId>
352                 <artifactId>jersey-client</artifactId>
353                 <version>2.0</version>
354             </dependency>
355
356             <dependency>
357                 <groupId>org.opendaylight.yangtools</groupId>
358                 <artifactId>restconf-client-api</artifactId>
359                 <version>${project.version}</version>
360             </dependency>
361             <dependency>
362                 <groupId>org.opendaylight.yangtools</groupId>
363                 <artifactId>restconf-common</artifactId>
364                 <version>${project.version}</version>
365             </dependency>
366             <dependency>
367                 <groupId>org.opendaylight.yangtools</groupId>
368                 <artifactId>restconf-util</artifactId>
369                 <version>${project.version}</version>
370             </dependency>
371             <dependency>
372                 <groupId>org.opendaylight.yangtools</groupId>
373                 <artifactId>restconf-test-service</artifactId>
374                 <version>${project.version}</version>
375             </dependency>
376             <dependency>
377                 <groupId>org.opendaylight.yangtools</groupId>
378                 <artifactId>restconf-client-impl</artifactId>
379                 <version>${project.version}</version>
380             </dependency>
381             <dependency>
382                 <groupId>org.opendaylight.yangtools</groupId>
383                 <artifactId>restconf-jaxrs-api</artifactId>
384                 <version>${project.version}</version>
385             </dependency>
386
387             <dependency>
388                 <groupId>org.opendaylight.yangtools</groupId>
389                 <artifactId>bug527-test-model</artifactId>
390                 <version>0.6.2-SNAPSHOT</version>
391                 <scope>test</scope>
392             </dependency>
393             <dependency>
394                 <groupId>org.opendaylight.yangtools</groupId>
395                 <artifactId>bug1196-test-model</artifactId>
396                 <version>0.6.2-SNAPSHOT</version>
397                 <scope>test</scope>
398             </dependency>
399
400             <dependency>
401                 <groupId>org.opendaylight.yangtools</groupId>
402                 <artifactId>websocket-client</artifactId>
403                 <version>${project.version}</version>
404             </dependency>
405
406             <dependency>
407                 <groupId>${project.groupId}</groupId>
408                 <artifactId>object-cache-api</artifactId>
409                 <version>${project.version}</version>
410             </dependency>
411             <dependency>
412                 <groupId>${project.groupId}</groupId>
413                 <artifactId>object-cache-guava</artifactId>
414                 <version>${project.version}</version>
415             </dependency>
416             <dependency>
417                 <groupId>${project.groupId}</groupId>
418                 <artifactId>object-cache-noop</artifactId>
419                 <version>${project.version}</version>
420             </dependency>
421             <dependency>
422                 <groupId>${project.groupId}</groupId>
423                 <artifactId>util</artifactId>
424                 <version>${project.version}</version>
425             </dependency>
426             <dependency>
427               <groupId>org.opendaylight.yangtools.model</groupId>
428               <artifactId>opendaylight-l2-types</artifactId>
429               <version>${opendaylight.l2.types.version}</version>
430             </dependency>
431             <dependency>
432               <groupId>org.opendaylight.yangtools.model</groupId>
433               <artifactId>yang-ext</artifactId>
434               <version>${yang.ext.version}</version>
435             </dependency>
436             <dependency>
437               <groupId>org.opendaylight.yangtools</groupId>
438               <artifactId>binding-type-provider</artifactId>
439               <version>${project.version}</version>
440             </dependency>
441             <dependency>
442               <groupId>org.opendaylight.yangtools</groupId>
443               <artifactId>yang-data-operations</artifactId>
444               <version>${project.version}</version>
445             </dependency>
446             <dependency>
447               <groupId>org.opendaylight.yangtools</groupId>
448               <artifactId>binding-data-codec</artifactId>
449               <version>${project.version}</version>
450             </dependency>
451             <dependency>
452               <groupId>org.opendaylight.yangtools</groupId>
453               <artifactId>features-test</artifactId>
454               <version>${project.version}</version>
455               <scope>test</scope>
456             </dependency>
457         </dependencies>
458     </dependencyManagement>
459
460     <dependencies>
461         <!-- Sonar -->
462         <dependency>
463             <groupId>org.codehaus.sonar-plugins.java</groupId>
464             <artifactId>sonar-jacoco-listeners</artifactId>
465             <version>${sonar-jacoco-listeners.version}</version>
466             <scope>test</scope>
467         </dependency>
468         <dependency>
469             <groupId>org.slf4j</groupId>
470             <artifactId>slf4j-simple</artifactId>
471             <scope>test</scope>
472         </dependency>
473     </dependencies>
474
475     <build>
476         <pluginManagement>
477             <plugins>
478                 <plugin>
479                     <groupId>org.apache.maven.plugins</groupId>
480                     <artifactId>maven-jar-plugin</artifactId>
481                     <version>${maven.jar.version}</version>
482                     <configuration>
483                         <archive>
484                             <!--
485                                  Bundle OSGi Manifest created by maven-bundle-plugin
486                                  into a jar file
487                                  -->
488                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
489                         </archive>
490                     </configuration>
491                 </plugin>
492                 <plugin>
493                     <groupId>org.apache.felix</groupId>
494                     <artifactId>maven-bundle-plugin</artifactId>
495                     <version>${maven.bundle.version}</version>
496                     <extensions>true</extensions>
497                     <executions>
498                         <execution>
499                             <id>bundle-manifest</id>
500                             <phase>process-classes</phase>
501                             <goals>
502                                 <goal>manifest</goal>
503                             </goals>
504                         </execution>
505                     </executions>
506                 </plugin>
507                 <plugin>
508                     <groupId>org.apache.maven.plugins</groupId>
509                     <artifactId>maven-failsafe-plugin</artifactId>
510                     <configuration>
511                         <!-- Specific to generate mapping between tests and covered code -->
512                         <argLine>${jacoco.agent.it.arg}</argLine>
513                         <properties>
514                             <property>
515                                 <name>listener</name>
516                                 <value>org.sonar.java.jacoco.JUnitListener</value>
517                             </property>
518                         </properties>
519                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
520                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
521                     </configuration>
522                 </plugin>
523                 <plugin>
524                     <groupId>org.apache.maven.plugins</groupId>
525                     <artifactId>maven-surefire-plugin</artifactId>
526                     <version>${maven.surefire.version}</version>
527                     <configuration>
528                         <!-- Specific to generate mapping between tests and covered code -->
529                         <argLine>${jacoco.agent.ut.arg}</argLine>
530                         <properties>
531                             <property>
532                                 <name>listener</name>
533                                 <value>org.sonar.java.jacoco.JUnitListener</value>
534                             </property>
535                         </properties>
536                     </configuration>
537                 </plugin>
538
539                 <plugin>
540                     <groupId>org.eclipse.m2e</groupId>
541                     <artifactId>lifecycle-mapping</artifactId>
542                     <version>1.0.0</version>
543                     <configuration>
544                         <lifecycleMappingMetadata>
545                             <pluginExecutions>
546                                 <pluginExecution>
547                                     <pluginExecutionFilter>
548                                         <groupId>org.apache.felix</groupId>
549                                         <artifactId>maven-bundle-plugin</artifactId>
550                                         <versionRange>[1.0,)</versionRange>
551                                         <goals>
552                                             <goal>manifest</goal>
553                                         </goals>
554                                     </pluginExecutionFilter>
555                                     <action>
556                                         <execute />
557                                     </action>
558                                 </pluginExecution>
559                                 <pluginExecution>
560                                     <pluginExecutionFilter>
561                                         <groupId>org.apache.maven.plugins</groupId>
562                                         <artifactId>maven-antrun-plugin</artifactId>
563                                         <versionRange>[1.0,)</versionRange>
564                                         <goals>
565                                             <goal>run</goal>
566                                         </goals>
567                                     </pluginExecutionFilter>
568                                     <action>
569                                         <execute/>
570                                     </action>
571                                 </pluginExecution>
572                                 <pluginExecution>
573                                     <pluginExecutionFilter>
574                                         <groupId>org.opendaylight.yangtools</groupId>
575                                         <artifactId>yang-maven-plugin</artifactId>
576                                         <versionRange>[0.5,)</versionRange>
577                                         <goals>
578                                             <goal>generate-sources</goal>
579                                         </goals>
580                                      </pluginExecutionFilter>
581                                      <action>
582                                          <ignore />
583                                      </action>
584                                  </pluginExecution>
585                                  <pluginExecution>
586                                     <pluginExecutionFilter>
587                                         <groupId>org.codehaus.mojo</groupId>
588                                         <artifactId>properties-maven-plugin</artifactId>
589                                         <versionRange>1.0-alpha-2</versionRange>
590                                         <goals>
591                                             <goal>write-project-properties</goal>
592                                         </goals>
593                                      </pluginExecutionFilter>
594                                      <action>
595                                          <ignore />
596                                      </action>
597                                  </pluginExecution>
598                                  <pluginExecution>
599                                     <pluginExecutionFilter>
600                                         <groupId>org.ops4j.pax.exam</groupId>
601                                         <artifactId>maven-paxexam-plugin</artifactId>
602                                         <versionRange>1.2.4</versionRange>
603                                         <goals>
604                                             <goal>generate-depends-file</goal>
605                                         </goals>
606                                      </pluginExecutionFilter>
607                                      <action>
608                                          <ignore />
609                                      </action>
610                                  </pluginExecution>
611                                  <pluginExecution>
612                                     <pluginExecutionFilter>
613                                         <groupId>org.jacoco</groupId>
614                                         <artifactId>jacoco-maven-plugin</artifactId>
615                                         <versionRange>[0.6,)</versionRange>
616                                         <goals>
617                                             <goal>prepare-agent</goal>
618                                         </goals>
619                                      </pluginExecutionFilter>
620                                      <action>
621                                          <ignore/>
622                                      </action>
623                                  </pluginExecution>
624                             </pluginExecutions>
625                         </lifecycleMappingMetadata>
626                     </configuration>
627                 </plugin>
628                 <plugin>
629                     <groupId>org.opendaylight.yangtools</groupId>
630                     <artifactId>yang-maven-plugin</artifactId>
631                     <version>0.6.2-SNAPSHOT</version>
632                     <executions>
633                         <execution>
634                             <goals>
635                                 <goal>generate-sources</goal>
636                             </goals>
637                             <configuration>
638                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
639                                 <codeGenerators>
640                                     <generator>
641                                         <codeGeneratorClass>
642                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
643                                         </codeGeneratorClass>
644                                         <outputBaseDir>
645                                             target/generated-sources/sal
646                                         </outputBaseDir>
647                                     </generator>
648                                     <generator>
649                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
650                                         <outputBaseDir>target/site/restconf</outputBaseDir>
651                                     </generator>
652                                     <generator>
653                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
654                                         <outputBaseDir>target/site/restconf</outputBaseDir>
655                                     </generator>
656                                 </codeGenerators>
657                                 <inspectDependencies>true</inspectDependencies>
658                             </configuration>
659                         </execution>
660                     </executions>
661                     <dependencies>
662                         <dependency>
663                             <groupId>org.opendaylight.yangtools</groupId>
664                             <artifactId>maven-sal-api-gen-plugin</artifactId>
665                             <version>0.6.2-SNAPSHOT</version>
666                             <type>jar</type>
667                         </dependency>
668                     </dependencies>
669                 </plugin>
670                 <plugin>
671                     <groupId>org.ops4j.pax.exam</groupId>
672                     <artifactId>maven-paxexam-plugin</artifactId>
673                     <version>1.2.4</version>
674                     <executions>
675                         <execution>
676                             <id>generate-config</id>
677                             <goals>
678                                 <goal>generate-depends-file</goal>
679                             </goals>
680                         </execution>
681                     </executions>
682                 </plugin>
683                 <plugin>
684                     <groupId>org.apache.maven.plugins</groupId>
685                     <artifactId>maven-javadoc-plugin</artifactId>
686                     <version>${maven.javadoc.version}</version>
687                     <configuration>
688                         <stylesheetfile>stylesheet.css</stylesheetfile>
689                     </configuration>
690                     <executions>
691                         <execution>
692                             <id>attach-javadocs</id>
693                             <goals>
694                                 <goal>jar</goal>
695                             </goals>
696                         </execution>
697                         <execution>
698                             <goals>
699                                 <goal>aggregate</goal>
700                             </goals>
701                             <phase>site</phase>
702                         </execution>
703                     </executions>
704                 </plugin>
705                 <plugin>
706                     <groupId>org.codehaus.mojo</groupId>
707                     <artifactId>build-helper-maven-plugin</artifactId>
708                     <version>1.8</version>
709                     <executions>
710                         <execution>
711                             <phase>generate-sources</phase>
712                             <goals>
713                                 <goal>add-source</goal>
714                             </goals>
715                             <configuration>
716                                 <sources>
717                                     <source>target/generated-sources/parser</source>
718                                     <source>target/generated-sources/sal</source>
719                                     <source>${basedir}/src/main/xtend-gen</source>
720                                 </sources>
721                             </configuration>
722                         </execution>
723                     </executions>
724                 </plugin>
725             </plugins>
726         </pluginManagement>
727
728         <plugins>
729             <!--
730             <plugin>
731                 <groupId>org.apache.maven.plugins</groupId>
732                 <artifactId>maven-enforcer-plugin</artifactId>
733                 <version>1.0</version>
734                 <executions>
735                     <execution>
736                         <id>enforce</id>
737                         <configuration>
738                             <rules>
739                                 <DependencyConvergence />
740                             </rules>
741                         </configuration>
742                         <goals>
743                             <goal>enforce</goal>
744                         </goals>
745                     </execution>
746                 </executions>
747             </plugin>
748             -->
749             <plugin>
750                 <groupId>org.eclipse.xtend</groupId>
751                 <artifactId>xtend-maven-plugin</artifactId>
752                 <version>${xtend.version}</version>
753                 <executions>
754                     <execution>
755                         <goals>
756                             <goal>compile</goal>
757                         </goals>
758                         <configuration>
759                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
760                         </configuration>
761                     </execution>
762                 </executions>
763             </plugin>
764             <plugin>
765                 <artifactId>maven-clean-plugin</artifactId>
766                 <version>2.5</version>
767                 <configuration>
768                     <filesets>
769                         <fileset>
770                             <directory>${basedir}/src/main/xtend-gen</directory>
771                             <includes>
772                                 <include>**</include>
773                             </includes>
774                         </fileset>
775                     </filesets>
776                 </configuration>
777             </plugin>
778             <plugin>
779                 <groupId>org.apache.maven.plugins</groupId>
780                 <artifactId>maven-jar-plugin</artifactId>
781             </plugin>
782             <plugin>
783                 <groupId>org.apache.felix</groupId>
784                 <artifactId>maven-bundle-plugin</artifactId>
785             </plugin>
786             <plugin>
787                 <groupId>org.apache.maven.plugins</groupId>
788                 <artifactId>maven-source-plugin</artifactId>
789                 <version>${maven.source.version}</version>
790                 <executions>
791                     <execution>
792                         <id>attach-sources</id>
793                         <goals>
794                             <goal>jar</goal>
795                         </goals>
796                     </execution>
797                 </executions>
798             </plugin>
799             <plugin>
800                 <groupId>org.apache.maven.plugins</groupId>
801                 <artifactId>maven-javadoc-plugin</artifactId>
802             </plugin>
803             <plugin>
804                 <groupId>org.jacoco</groupId>
805                 <artifactId>jacoco-maven-plugin</artifactId>
806                 <executions>
807                     <execution>
808                         <id>prepare-ut-agent</id>
809                         <phase>process-test-classes</phase>
810                         <goals>
811                             <goal>prepare-agent</goal>
812                         </goals>
813                         <configuration>
814                             <destFile>${sonar.jacoco.reportPath}</destFile>
815                             <propertyName>jacoco.agent.ut.arg</propertyName>
816                         </configuration>
817                     </execution>
818                     <execution>
819                         <id>prepare-it-agent</id>
820                         <phase>pre-integration-test</phase>
821                         <goals>
822                             <goal>prepare-agent</goal>
823                         </goals>
824                         <configuration>
825                             <destFile>${sonar.jacoco.itReportPath}</destFile>
826                             <propertyName>jacoco.agent.it.arg</propertyName>
827                         </configuration>
828                     </execution>
829                 </executions>
830             </plugin>
831         </plugins>
832     </build>
833
834     <reporting>
835         <plugins>
836             <plugin>
837                 <groupId>org.codehaus.mojo</groupId>
838                 <artifactId>findbugs-maven-plugin</artifactId>
839                 <version>${findbugs.maven.plugin.version}</version>
840                 <configuration>
841                     <effort>Max</effort>
842                     <threshold>Low</threshold>
843                     <goal>site</goal>
844                 </configuration>
845             </plugin>
846             <plugin>
847                 <groupId>org.codehaus.mojo</groupId>
848                 <artifactId>jdepend-maven-plugin</artifactId>
849                 <version>${jdepend.maven.plugin.version}</version>
850             </plugin>
851         </plugins>
852     </reporting>
853
854
855     <!-- Note: we can not use variables for these URLs because we need to
856          be able to download the parent pom from the repository the first 
857          time we go to use it (since it is in a different project).
858          To override the settings, use the "mirror" section of the
859          settings.xml. See http://maven.apache.org/settings.html -->
860     <repositories>
861         <!-- OpenDayLight Repo Mirror -->
862         <repository>
863             <id>opendaylight-mirror</id>
864             <name>opendaylight-mirror</name>
865             <url>http://nexus.opendaylight.org/content/groups/public/</url>
866             <snapshots>
867                 <enabled>false</enabled>
868             </snapshots>
869             <releases>
870                 <enabled>true</enabled>
871                 <updatePolicy>never</updatePolicy>
872             </releases>
873         </repository>
874
875         <!-- OpenDayLight Snapshot artifact -->
876         <repository>
877             <id>opendaylight-snapshot</id>
878             <name>opendaylight-snapshot</name>
879             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
880             <snapshots>
881                 <enabled>true</enabled>
882             </snapshots>
883             <releases>
884                 <enabled>false</enabled>
885             </releases>
886         </repository>
887     </repositories>
888 </project>