1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
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">
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent</artifactId>
16 <version>1.4.2-SNAPSHOT</version>
17 <relativePath></relativePath>
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>
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>
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>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-javadoc-plugin</artifactId>
66 <version>${maven.javadoc.version}</version>
68 <stylesheetfile>stylesheet.css</stylesheetfile>
69 <additionalparam>-Xdoclint:none</additionalparam>
73 <id>attach-javadocs</id>
80 <goal>aggregate</goal>
92 <dependencyManagement>
94 <!-- Testing Dependencies -->
96 <groupId>org.apache.maven.shared</groupId>
97 <artifactId>maven-verifier</artifactId>
98 <version>1.5</version>
102 <groupId>equinoxSDK381</groupId>
103 <artifactId>org.eclipse.osgi</artifactId>
104 <version>3.8.1.v20120830-144521</version>
108 <groupId>org.codehaus.groovy</groupId>
109 <artifactId>groovy</artifactId>
110 <version>2.1.6</version>
114 <groupId>org.codehaus.groovy</groupId>
115 <artifactId>groovy-xml</artifactId>
116 <version>2.1.6</version>
120 <groupId>xmlunit</groupId>
121 <artifactId>xmlunit</artifactId>
122 <version>1.5</version>
126 <groupId>org.opendaylight.yangtools</groupId>
127 <artifactId>yang-data-util</artifactId>
128 <version>0.6.2-SNAPSHOT</version>
131 <groupId>org.opendaylight.yangtools</groupId>
132 <artifactId>maven-sal-api-gen-plugin</artifactId>
133 <version>0.6.2-SNAPSHOT</version>
136 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
137 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
138 <version>4.0</version>
142 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
143 <artifactId>xtend-lib-osgi</artifactId>
144 <version>2.4.3</version>
148 <groupId>org.opendaylight.yangtools</groupId>
149 <artifactId>concepts</artifactId>
150 <version>0.6.2-SNAPSHOT</version>
153 <groupId>org.opendaylight.yangtools</groupId>
154 <artifactId>object-cache-api</artifactId>
155 <version>0.6.2-SNAPSHOT</version>
158 <groupId>org.opendaylight.yangtools</groupId>
159 <artifactId>object-cache-guava</artifactId>
160 <version>0.6.2-SNAPSHOT</version>
163 <groupId>org.opendaylight.yangtools</groupId>
164 <artifactId>object-cache-noop</artifactId>
165 <version>0.6.2-SNAPSHOT</version>
168 <groupId>org.opendaylight.yangtools</groupId>
169 <artifactId>binding-model-api</artifactId>
170 <version>0.6.2-SNAPSHOT</version>
173 <groupId>org.opendaylight.yangtools</groupId>
174 <artifactId>binding-generator-api</artifactId>
175 <version>0.6.2-SNAPSHOT</version>
178 <groupId>org.opendaylight.yangtools</groupId>
179 <artifactId>binding-generator-spi</artifactId>
180 <version>0.6.2-SNAPSHOT</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>binding-generator-util</artifactId>
185 <version>0.6.2-SNAPSHOT</version>
188 <groupId>org.opendaylight.yangtools</groupId>
189 <artifactId>binding-generator-impl</artifactId>
190 <version>0.6.2-SNAPSHOT</version>
193 <groupId>org.opendaylight.yangtools</groupId>
194 <artifactId>binding-java-api-generator</artifactId>
195 <version>0.6.2-SNAPSHOT</version>
198 <groupId>org.opendaylight.yangtools</groupId>
199 <artifactId>yang-common</artifactId>
200 <version>0.6.2-SNAPSHOT</version>
203 <groupId>org.opendaylight.yangtools</groupId>
204 <artifactId>yang-data-api</artifactId>
205 <version>0.6.2-SNAPSHOT</version>
208 <groupId>org.opendaylight.yangtools</groupId>
209 <artifactId>yang-data-impl</artifactId>
210 <version>0.6.2-SNAPSHOT</version>
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>yang-model-api</artifactId>
215 <version>0.6.2-SNAPSHOT</version>
218 <groupId>org.opendaylight.yangtools</groupId>
219 <artifactId>yang-model-util</artifactId>
220 <version>0.6.2-SNAPSHOT</version>
223 <groupId>org.opendaylight.yangtools</groupId>
224 <artifactId>yang-binding</artifactId>
225 <version>0.6.2-SNAPSHOT</version>
228 <groupId>org.opendaylight.yangtools</groupId>
229 <artifactId>yang-parser-api</artifactId>
230 <version>0.6.2-SNAPSHOT</version>
233 <groupId>org.opendaylight.yangtools</groupId>
234 <artifactId>yang-parser-impl</artifactId>
235 <version>0.6.2-SNAPSHOT</version>
238 <groupId>org.opendaylight.yangtools</groupId>
239 <artifactId>yang-maven-plugin</artifactId>
240 <version>0.6.2-SNAPSHOT</version>
243 <groupId>org.opendaylight.yangtools</groupId>
244 <artifactId>yang-maven-plugin-spi</artifactId>
245 <version>0.6.2-SNAPSHOT</version>
248 <groupId>org.opendaylight.yangtools.model</groupId>
249 <artifactId>ietf-inet-types</artifactId>
250 <version>2010.09.24.4-SNAPSHOT</version>
253 <groupId>org.opendaylight.yangtools.model</groupId>
254 <artifactId>ietf-yang-types</artifactId>
255 <version>2010.09.24.4-SNAPSHOT</version>
258 <groupId>org.opendaylight.yangtools.model</groupId>
259 <artifactId>ietf-restconf</artifactId>
260 <version>2013.09.04.1-SNAPSHOT</version>
263 <groupId>org.opendaylight.yangtools.model</groupId>
264 <artifactId>ietf-ted</artifactId>
265 <version>2013.10.21.2-SNAPSHOT</version>
268 <groupId>org.opendaylight.yangtools.model</groupId>
269 <artifactId>ietf-topology</artifactId>
270 <version>2013.10.21.2-SNAPSHOT</version>
273 <groupId>org.opendaylight.yangtools.model</groupId>
274 <artifactId>ietf-topology-isis</artifactId>
275 <version>2013.10.21.2-SNAPSHOT</version>
278 <groupId>org.opendaylight.yangtools.model</groupId>
279 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
280 <version>2013.10.21.2-SNAPSHOT</version>
283 <groupId>org.opendaylight.yangtools.model</groupId>
284 <artifactId>ietf-topology-ospf</artifactId>
285 <version>2013.10.21.2-SNAPSHOT</version>
288 <groupId>org.opendaylight.yangtools.model</groupId>
289 <artifactId>ietf-topology-l3-unicast</artifactId>
290 <version>2013.10.21.2-SNAPSHOT</version>
293 <groupId>org.opendaylight.yangtools</groupId>
294 <artifactId>yang-data-composite-node</artifactId>
295 <version>0.6.2-SNAPSHOT</version>
298 <groupId>org.apache.maven</groupId>
299 <artifactId>maven-core</artifactId>
300 <version>3.0.5</version>
303 <groupId>org.apache.maven</groupId>
304 <artifactId>maven-plugin-api</artifactId>
305 <version>3.0.5</version>
308 <groupId>org.javassist</groupId>
309 <artifactId>javassist</artifactId>
310 <version>3.17.1-GA</version>
313 <groupId>xml-apis</groupId>
314 <artifactId>xml-apis</artifactId>
315 <version>2.0.2</version>
318 <groupId>org.eclipse.xtend</groupId>
319 <artifactId>org.eclipse.xtend.lib</artifactId>
320 <version>2.4.3</version>
323 <groupId>org.osgi</groupId>
324 <artifactId>org.osgi.core</artifactId>
325 <version>5.0.0</version>
326 <scope>provided</scope>
329 <groupId>javax.ws.rs</groupId>
330 <artifactId>javax.ws.rs-api</artifactId>
331 <version>2.0</version>
335 <groupId>org.glassfish.jersey.ext</groupId>
336 <artifactId>jersey-proxy-client</artifactId>
337 <version>2.0</version>
340 <groupId>org.glassfish.jersey.core</groupId>
341 <artifactId>jersey-client</artifactId>
342 <version>2.0</version>
346 <groupId>org.opendaylight.yangtools</groupId>
347 <artifactId>restconf-client-api</artifactId>
348 <version>${project.version}</version>
351 <groupId>org.opendaylight.yangtools</groupId>
352 <artifactId>restconf-common</artifactId>
353 <version>${project.version}</version>
356 <groupId>org.opendaylight.yangtools</groupId>
357 <artifactId>restconf-util</artifactId>
358 <version>${project.version}</version>
361 <groupId>org.opendaylight.yangtools</groupId>
362 <artifactId>restconf-test-service</artifactId>
363 <version>${project.version}</version>
366 <groupId>org.opendaylight.yangtools</groupId>
367 <artifactId>restconf-client-impl</artifactId>
368 <version>${project.version}</version>
371 <groupId>org.opendaylight.yangtools</groupId>
372 <artifactId>restconf-jaxrs-api</artifactId>
373 <version>${project.version}</version>
377 <groupId>org.opendaylight.yangtools</groupId>
378 <artifactId>bug527-test-model</artifactId>
379 <version>0.6.2-SNAPSHOT</version>
383 <groupId>org.opendaylight.yangtools</groupId>
384 <artifactId>bug1196-test-model</artifactId>
385 <version>0.6.2-SNAPSHOT</version>
390 <groupId>org.opendaylight.yangtools</groupId>
391 <artifactId>websocket-client</artifactId>
392 <version>${project.version}</version>
396 <groupId>${project.groupId}</groupId>
397 <artifactId>object-cache-api</artifactId>
398 <version>${project.version}</version>
401 <groupId>${project.groupId}</groupId>
402 <artifactId>object-cache-guava</artifactId>
403 <version>${project.version}</version>
406 <groupId>${project.groupId}</groupId>
407 <artifactId>object-cache-noop</artifactId>
408 <version>${project.version}</version>
411 <groupId>${project.groupId}</groupId>
412 <artifactId>util</artifactId>
413 <version>${project.version}</version>
416 <groupId>org.opendaylight.yangtools.model</groupId>
417 <artifactId>opendaylight-l2-types</artifactId>
418 <version>${opendaylight.l2.types.version}</version>
421 <groupId>org.opendaylight.yangtools.model</groupId>
422 <artifactId>yang-ext</artifactId>
423 <version>${yang.ext.version}</version>
426 <groupId>org.opendaylight.yangtools</groupId>
427 <artifactId>binding-type-provider</artifactId>
428 <version>${project.version}</version>
431 <groupId>org.opendaylight.yangtools</groupId>
432 <artifactId>yang-data-operations</artifactId>
433 <version>${project.version}</version>
436 <groupId>org.opendaylight.yangtools</groupId>
437 <artifactId>binding-data-codec</artifactId>
438 <version>${project.version}</version>
441 <groupId>org.opendaylight.yangtools</groupId>
442 <artifactId>features-test</artifactId>
443 <version>${project.version}</version>
447 </dependencyManagement>
452 <groupId>org.codehaus.sonar-plugins.java</groupId>
453 <artifactId>sonar-jacoco-listeners</artifactId>
454 <version>${sonar-jacoco-listeners.version}</version>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-jar-plugin</artifactId>
465 <version>${maven.jar.version}</version>
469 Bundle OSGi Manifest created by maven-bundle-plugin
472 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
477 <groupId>org.apache.felix</groupId>
478 <artifactId>maven-bundle-plugin</artifactId>
479 <version>${maven.bundle.version}</version>
480 <extensions>true</extensions>
483 <id>bundle-manifest</id>
484 <phase>process-classes</phase>
486 <goal>manifest</goal>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-failsafe-plugin</artifactId>
495 <!-- Specific to generate mapping between tests and covered code -->
496 <argLine>${jacoco.agent.it.arg}</argLine>
499 <name>listener</name>
500 <value>org.sonar.java.jacoco.JUnitListener</value>
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>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-surefire-plugin</artifactId>
510 <version>${maven.surefire.version}</version>
512 <!-- Specific to generate mapping between tests and covered code -->
513 <argLine>${jacoco.agent.ut.arg}</argLine>
516 <name>listener</name>
517 <value>org.sonar.java.jacoco.JUnitListener</value>
524 <groupId>org.eclipse.m2e</groupId>
525 <artifactId>lifecycle-mapping</artifactId>
526 <version>1.0.0</version>
528 <lifecycleMappingMetadata>
531 <pluginExecutionFilter>
532 <groupId>org.apache.felix</groupId>
533 <artifactId>maven-bundle-plugin</artifactId>
534 <versionRange>[1.0,)</versionRange>
536 <goal>manifest</goal>
538 </pluginExecutionFilter>
544 <pluginExecutionFilter>
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-antrun-plugin</artifactId>
547 <versionRange>[1.0,)</versionRange>
551 </pluginExecutionFilter>
557 <pluginExecutionFilter>
558 <groupId>org.opendaylight.yangtools</groupId>
559 <artifactId>yang-maven-plugin</artifactId>
560 <versionRange>[0.5,)</versionRange>
562 <goal>generate-sources</goal>
564 </pluginExecutionFilter>
570 <pluginExecutionFilter>
571 <groupId>org.codehaus.mojo</groupId>
572 <artifactId>properties-maven-plugin</artifactId>
573 <versionRange>1.0-alpha-2</versionRange>
575 <goal>write-project-properties</goal>
577 </pluginExecutionFilter>
583 <pluginExecutionFilter>
584 <groupId>org.ops4j.pax.exam</groupId>
585 <artifactId>maven-paxexam-plugin</artifactId>
586 <versionRange>1.2.4</versionRange>
588 <goal>generate-depends-file</goal>
590 </pluginExecutionFilter>
596 <pluginExecutionFilter>
597 <groupId>org.jacoco</groupId>
598 <artifactId>jacoco-maven-plugin</artifactId>
599 <versionRange>[0.6,)</versionRange>
601 <goal>prepare-agent</goal>
603 </pluginExecutionFilter>
609 </lifecycleMappingMetadata>
613 <groupId>org.opendaylight.yangtools</groupId>
614 <artifactId>yang-maven-plugin</artifactId>
615 <version>0.6.2-SNAPSHOT</version>
619 <goal>generate-sources</goal>
622 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
626 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
627 </codeGeneratorClass>
629 target/generated-sources/sal
633 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
634 <outputBaseDir>target/site/restconf</outputBaseDir>
637 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
638 <outputBaseDir>target/site/restconf</outputBaseDir>
641 <inspectDependencies>true</inspectDependencies>
647 <groupId>org.opendaylight.yangtools</groupId>
648 <artifactId>maven-sal-api-gen-plugin</artifactId>
649 <version>0.6.2-SNAPSHOT</version>
655 <groupId>org.ops4j.pax.exam</groupId>
656 <artifactId>maven-paxexam-plugin</artifactId>
657 <version>1.2.4</version>
660 <id>generate-config</id>
662 <goal>generate-depends-file</goal>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-javadoc-plugin</artifactId>
670 <version>${maven.javadoc.version}</version>
672 <stylesheetfile>stylesheet.css</stylesheetfile>
676 <id>attach-javadocs</id>
683 <goal>aggregate</goal>
690 <groupId>org.codehaus.mojo</groupId>
691 <artifactId>build-helper-maven-plugin</artifactId>
692 <version>1.8</version>
695 <phase>generate-sources</phase>
697 <goal>add-source</goal>
701 <source>target/generated-sources/parser</source>
702 <source>target/generated-sources/sal</source>
703 <source>${basedir}/src/main/xtend-gen</source>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-enforcer-plugin</artifactId>
717 <version>1.0</version>
723 <DependencyConvergence />
734 <groupId>org.eclipse.xtend</groupId>
735 <artifactId>xtend-maven-plugin</artifactId>
736 <version>${xtend.version}</version>
743 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
749 <artifactId>maven-clean-plugin</artifactId>
750 <version>2.5</version>
754 <directory>${basedir}/src/main/xtend-gen</directory>
756 <include>**</include>
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-jar-plugin</artifactId>
767 <groupId>org.apache.felix</groupId>
768 <artifactId>maven-bundle-plugin</artifactId>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-source-plugin</artifactId>
773 <version>${maven.source.version}</version>
776 <id>attach-sources</id>
784 <groupId>org.apache.maven.plugins</groupId>
785 <artifactId>maven-javadoc-plugin</artifactId>
788 <groupId>org.jacoco</groupId>
789 <artifactId>jacoco-maven-plugin</artifactId>
792 <id>prepare-ut-agent</id>
793 <phase>process-test-classes</phase>
795 <goal>prepare-agent</goal>
798 <destFile>${sonar.jacoco.reportPath}</destFile>
799 <propertyName>jacoco.agent.ut.arg</propertyName>
803 <id>prepare-it-agent</id>
804 <phase>pre-integration-test</phase>
806 <goal>prepare-agent</goal>
809 <destFile>${sonar.jacoco.itReportPath}</destFile>
810 <propertyName>jacoco.agent.it.arg</propertyName>
821 <groupId>org.codehaus.mojo</groupId>
822 <artifactId>findbugs-maven-plugin</artifactId>
823 <version>${findbugs.maven.plugin.version}</version>
826 <threshold>Low</threshold>
831 <groupId>org.codehaus.mojo</groupId>
832 <artifactId>jdepend-maven-plugin</artifactId>
833 <version>${jdepend.maven.plugin.version}</version>
838 <!-- OpenDayLight Repo Mirror -->
840 <id>opendaylight-mirror</id>
841 <name>opendaylight-mirror</name>
842 <url>http://nexus.opendaylight.org/content/groups/public/</url>
844 <enabled>false</enabled>
847 <enabled>true</enabled>
848 <updatePolicy>never</updatePolicy>
852 <!-- OpenDayLight Snapshot artifact -->
854 <id>opendaylight-snapshot</id>
855 <name>opendaylight-snapshot</name>
856 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
858 <enabled>true</enabled>
861 <enabled>false</enabled>