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