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.7.0-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 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
36 <karaf.version>3.0.1</karaf.version>
37 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
38 <maven.javadoc.version>2.9.1</maven.javadoc.version>
39 <jsr305.version>2.0.1</jsr305.version>
41 <!-- Model versions -->
42 <ietf.topology.version>2013.10.21.7-SNAPSHOT</ietf.topology.version>
43 <ietf.inet.types.version>2010.09.24.7-SNAPSHOT</ietf.inet.types.version>
44 <ietf.yang.types.version>2010.09.24.7-SNAPSHOT</ietf.yang.types.version>
45 <ietf.yang.types.20130715.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.20130715.version>
46 <ietf.restconf.version>2013.10.19.7-SNAPSHOT</ietf.restconf.version>
47 <opendaylight.l2.types.version>2013.08.27.7-SNAPSHOT</opendaylight.l2.types.version>
48 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
51 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
52 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
53 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
54 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
55 <sonar.profile>Sonar way with Findbugs</sonar.profile>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-javadoc-plugin</artifactId>
70 <version>${maven.javadoc.version}</version>
72 <stylesheetfile>stylesheet.css</stylesheetfile>
73 <additionalparam>-Xdoclint:none</additionalparam>
77 <id>attach-javadocs</id>
84 <goal>aggregate</goal>
96 <dependencyManagement>
98 <!-- Testing Dependencies -->
100 <groupId>org.apache.maven.shared</groupId>
101 <artifactId>maven-verifier</artifactId>
102 <version>1.5</version>
106 <groupId>equinoxSDK381</groupId>
107 <artifactId>org.eclipse.osgi</artifactId>
108 <version>3.8.1.v20120830-144521</version>
112 <groupId>org.codehaus.groovy</groupId>
113 <artifactId>groovy</artifactId>
114 <version>2.1.6</version>
118 <groupId>org.codehaus.groovy</groupId>
119 <artifactId>groovy-xml</artifactId>
120 <version>2.1.6</version>
124 <groupId>xmlunit</groupId>
125 <artifactId>xmlunit</artifactId>
126 <version>1.5</version>
130 <groupId>org.opendaylight.yangtools</groupId>
131 <artifactId>yang-data-util</artifactId>
132 <version>${yangtools.version}</version>
135 <groupId>org.opendaylight.yangtools</groupId>
136 <artifactId>maven-sal-api-gen-plugin</artifactId>
137 <version>${yangtools.version}</version>
140 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
141 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
142 <version>4.0</version>
146 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
147 <artifactId>xtend-lib-osgi</artifactId>
148 <version>2.4.3</version>
152 <groupId>org.opendaylight.yangtools</groupId>
153 <artifactId>concepts</artifactId>
154 <version>${yangtools.version}</version>
157 <groupId>org.opendaylight.yangtools</groupId>
158 <artifactId>object-cache-api</artifactId>
159 <version>${yangtools.version}</version>
162 <groupId>org.opendaylight.yangtools</groupId>
163 <artifactId>object-cache-guava</artifactId>
164 <version>${yangtools.version}</version>
167 <groupId>org.opendaylight.yangtools</groupId>
168 <artifactId>object-cache-noop</artifactId>
169 <version>${yangtools.version}</version>
172 <groupId>org.opendaylight.yangtools</groupId>
173 <artifactId>binding-model-api</artifactId>
174 <version>${yangtools.version}</version>
177 <groupId>org.opendaylight.yangtools</groupId>
178 <artifactId>binding-generator-api</artifactId>
179 <version>${yangtools.version}</version>
182 <groupId>org.opendaylight.yangtools</groupId>
183 <artifactId>binding-generator-spi</artifactId>
184 <version>${yangtools.version}</version>
187 <groupId>org.opendaylight.yangtools</groupId>
188 <artifactId>binding-generator-util</artifactId>
189 <version>${yangtools.version}</version>
192 <groupId>org.opendaylight.yangtools</groupId>
193 <artifactId>binding-generator-impl</artifactId>
194 <version>${yangtools.version}</version>
197 <groupId>org.opendaylight.yangtools</groupId>
198 <artifactId>binding-java-api-generator</artifactId>
199 <version>${yangtools.version}</version>
202 <groupId>org.opendaylight.yangtools</groupId>
203 <artifactId>yang-common</artifactId>
204 <version>${yangtools.version}</version>
207 <groupId>org.opendaylight.yangtools</groupId>
208 <artifactId>yang-data-api</artifactId>
209 <version>${yangtools.version}</version>
212 <groupId>org.opendaylight.yangtools</groupId>
213 <artifactId>yang-data-impl</artifactId>
214 <version>${yangtools.version}</version>
217 <groupId>org.opendaylight.yangtools</groupId>
218 <artifactId>yang-data-codec-gson</artifactId>
219 <version>${yangtools.version}</version>
222 <groupId>org.opendaylight.yangtools</groupId>
223 <artifactId>yang-model-api</artifactId>
224 <version>${yangtools.version}</version>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>yang-model-util</artifactId>
229 <version>${yangtools.version}</version>
232 <groupId>org.opendaylight.yangtools</groupId>
233 <artifactId>yang-binding</artifactId>
234 <version>${yangtools.version}</version>
237 <groupId>org.opendaylight.yangtools</groupId>
238 <artifactId>yang-parser-api</artifactId>
239 <version>${yangtools.version}</version>
242 <groupId>org.opendaylight.yangtools</groupId>
243 <artifactId>yang-parser-impl</artifactId>
244 <version>${yangtools.version}</version>
247 <groupId>org.opendaylight.yangtools</groupId>
248 <artifactId>yang-maven-plugin</artifactId>
249 <version>${yangtools.version}</version>
252 <groupId>org.opendaylight.yangtools</groupId>
253 <artifactId>yang-maven-plugin-spi</artifactId>
254 <version>${yangtools.version}</version>
257 <groupId>org.opendaylight.yangtools.model</groupId>
258 <artifactId>ietf-inet-types</artifactId>
259 <version>${ietf.inet.types.version}</version>
262 <groupId>org.opendaylight.yangtools.model</groupId>
263 <artifactId>ietf-yang-types</artifactId>
264 <version>${ietf.yang.types.version}</version>
267 <groupId>org.opendaylight.yangtools.model</groupId>
268 <artifactId>ietf-yang-types-20130715</artifactId>
269 <version>${ietf.yang.types.20130715.version}</version>
272 <groupId>org.opendaylight.yangtools.model</groupId>
273 <artifactId>ietf-restconf</artifactId>
274 <version>${ietf.restconf.version}</version>
277 <groupId>org.opendaylight.yangtools.model</groupId>
278 <artifactId>ietf-ted</artifactId>
279 <version>${ietf.topology.version}</version>
282 <groupId>org.opendaylight.yangtools.model</groupId>
283 <artifactId>ietf-topology</artifactId>
284 <version>${ietf.topology.version}</version>
287 <groupId>org.opendaylight.yangtools.model</groupId>
288 <artifactId>ietf-topology-isis</artifactId>
289 <version>${ietf.topology.version}</version>
292 <groupId>org.opendaylight.yangtools.model</groupId>
293 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
294 <version>${ietf.topology.version}</version>
297 <groupId>org.opendaylight.yangtools.model</groupId>
298 <artifactId>ietf-topology-ospf</artifactId>
299 <version>${ietf.topology.version}</version>
302 <groupId>org.opendaylight.yangtools.model</groupId>
303 <artifactId>ietf-topology-l3-unicast</artifactId>
304 <version>${ietf.topology.version}</version>
307 <groupId>org.opendaylight.yangtools</groupId>
308 <artifactId>yang-data-composite-node</artifactId>
309 <version>${yangtools.version}</version>
312 <groupId>org.apache.maven</groupId>
313 <artifactId>maven-core</artifactId>
314 <version>3.0.5</version>
317 <groupId>org.apache.maven</groupId>
318 <artifactId>maven-plugin-api</artifactId>
319 <version>3.0.5</version>
322 <groupId>org.javassist</groupId>
323 <artifactId>javassist</artifactId>
324 <version>${javassist.version}</version>
327 <groupId>xml-apis</groupId>
328 <artifactId>xml-apis</artifactId>
329 <version>2.0.2</version>
332 <groupId>org.eclipse.xtend</groupId>
333 <artifactId>org.eclipse.xtend.lib</artifactId>
334 <version>2.4.3</version>
337 <groupId>org.osgi</groupId>
338 <artifactId>org.osgi.core</artifactId>
339 <version>5.0.0</version>
340 <scope>provided</scope>
343 <groupId>javax.ws.rs</groupId>
344 <artifactId>javax.ws.rs-api</artifactId>
345 <version>2.0</version>
349 <groupId>org.glassfish.jersey.ext</groupId>
350 <artifactId>jersey-proxy-client</artifactId>
351 <version>2.0</version>
354 <groupId>org.glassfish.jersey.core</groupId>
355 <artifactId>jersey-client</artifactId>
356 <version>2.0</version>
360 <groupId>org.opendaylight.yangtools</groupId>
361 <artifactId>restconf-client-api</artifactId>
362 <version>${yangtools.version}</version>
365 <groupId>org.opendaylight.yangtools</groupId>
366 <artifactId>restconf-common</artifactId>
367 <version>${yangtools.version}</version>
370 <groupId>org.opendaylight.yangtools</groupId>
371 <artifactId>restconf-util</artifactId>
372 <version>${yangtools.version}</version>
375 <groupId>org.opendaylight.yangtools</groupId>
376 <artifactId>restconf-test-service</artifactId>
377 <version>${yangtools.version}</version>
380 <groupId>org.opendaylight.yangtools</groupId>
381 <artifactId>restconf-client-impl</artifactId>
382 <version>${yangtools.version}</version>
385 <groupId>org.opendaylight.yangtools</groupId>
386 <artifactId>restconf-jaxrs-api</artifactId>
387 <version>${yangtools.version}</version>
391 <groupId>org.opendaylight.yangtools</groupId>
392 <artifactId>bug527-test-model</artifactId>
393 <version>${yangtools.version}</version>
397 <groupId>org.opendaylight.yangtools</groupId>
398 <artifactId>bug1196-test-model</artifactId>
399 <version>${yangtools.version}</version>
404 <groupId>org.opendaylight.yangtools</groupId>
405 <artifactId>websocket-client</artifactId>
406 <version>${yangtools.version}</version>
410 <groupId>${project.groupId}</groupId>
411 <artifactId>object-cache-api</artifactId>
412 <version>${yangtools.version}</version>
415 <groupId>${project.groupId}</groupId>
416 <artifactId>object-cache-guava</artifactId>
417 <version>${yangtools.version}</version>
420 <groupId>${project.groupId}</groupId>
421 <artifactId>object-cache-noop</artifactId>
422 <version>${yangtools.version}</version>
425 <groupId>${project.groupId}</groupId>
426 <artifactId>util</artifactId>
427 <version>${yangtools.version}</version>
430 <groupId>org.opendaylight.yangtools.model</groupId>
431 <artifactId>opendaylight-l2-types</artifactId>
432 <version>${opendaylight.l2.types.version}</version>
435 <groupId>org.opendaylight.yangtools.model</groupId>
436 <artifactId>yang-ext</artifactId>
437 <version>${yang.ext.version}</version>
440 <groupId>org.opendaylight.yangtools</groupId>
441 <artifactId>binding-type-provider</artifactId>
442 <version>${yangtools.version}</version>
445 <groupId>org.opendaylight.yangtools</groupId>
446 <artifactId>yang-data-operations</artifactId>
447 <version>${yangtools.version}</version>
450 <groupId>org.opendaylight.yangtools</groupId>
451 <artifactId>binding-data-codec</artifactId>
452 <version>${yangtools.version}</version>
455 <groupId>org.opendaylight.yangtools</groupId>
456 <artifactId>features-test</artifactId>
457 <version>${yangtools.version}</version>
461 </dependencyManagement>
466 <groupId>org.codehaus.sonar-plugins.java</groupId>
467 <artifactId>sonar-jacoco-listeners</artifactId>
468 <version>${sonar-jacoco-listeners.version}</version>
472 <groupId>org.slf4j</groupId>
473 <artifactId>slf4j-simple</artifactId>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-jar-plugin</artifactId>
484 <version>${maven.jar.version}</version>
488 Bundle OSGi Manifest created by maven-bundle-plugin
491 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
496 <groupId>org.apache.felix</groupId>
497 <artifactId>maven-bundle-plugin</artifactId>
498 <version>${maven.bundle.version}</version>
499 <extensions>true</extensions>
502 <id>bundle-manifest</id>
503 <phase>process-classes</phase>
505 <goal>manifest</goal>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-failsafe-plugin</artifactId>
514 <!-- Specific to generate mapping between tests and covered code -->
515 <argLine>${jacoco.agent.it.arg}</argLine>
518 <name>listener</name>
519 <value>org.sonar.java.jacoco.JUnitListener</value>
522 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
523 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-surefire-plugin</artifactId>
529 <version>${maven.surefire.version}</version>
531 <!-- Specific to generate mapping between tests and covered code -->
532 <argLine>${jacoco.agent.ut.arg}</argLine>
535 <name>listener</name>
536 <value>org.sonar.java.jacoco.JUnitListener</value>
543 <groupId>org.eclipse.m2e</groupId>
544 <artifactId>lifecycle-mapping</artifactId>
545 <version>1.0.0</version>
547 <lifecycleMappingMetadata>
550 <pluginExecutionFilter>
551 <groupId>org.apache.felix</groupId>
552 <artifactId>maven-bundle-plugin</artifactId>
553 <versionRange>[1.0,)</versionRange>
555 <goal>manifest</goal>
557 </pluginExecutionFilter>
563 <pluginExecutionFilter>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-antrun-plugin</artifactId>
566 <versionRange>[1.0,)</versionRange>
570 </pluginExecutionFilter>
576 <pluginExecutionFilter>
577 <groupId>org.opendaylight.yangtools</groupId>
578 <artifactId>yang-maven-plugin</artifactId>
579 <versionRange>[0.5,)</versionRange>
581 <goal>generate-sources</goal>
583 </pluginExecutionFilter>
589 <pluginExecutionFilter>
590 <groupId>org.codehaus.mojo</groupId>
591 <artifactId>properties-maven-plugin</artifactId>
592 <versionRange>1.0-alpha-2</versionRange>
594 <goal>write-project-properties</goal>
596 </pluginExecutionFilter>
602 <pluginExecutionFilter>
603 <groupId>org.ops4j.pax.exam</groupId>
604 <artifactId>maven-paxexam-plugin</artifactId>
605 <versionRange>1.2.4</versionRange>
607 <goal>generate-depends-file</goal>
609 </pluginExecutionFilter>
615 <pluginExecutionFilter>
616 <groupId>org.jacoco</groupId>
617 <artifactId>jacoco-maven-plugin</artifactId>
618 <versionRange>[0.6,)</versionRange>
620 <goal>prepare-agent</goal>
622 </pluginExecutionFilter>
628 </lifecycleMappingMetadata>
632 <groupId>org.opendaylight.yangtools</groupId>
633 <artifactId>yang-maven-plugin</artifactId>
634 <version>0.7.0-SNAPSHOT</version>
638 <goal>generate-sources</goal>
641 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
645 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
646 </codeGeneratorClass>
648 target/generated-sources/sal
652 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
653 <outputBaseDir>target/site/restconf</outputBaseDir>
656 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
657 <outputBaseDir>target/site/restconf</outputBaseDir>
660 <inspectDependencies>true</inspectDependencies>
666 <groupId>org.opendaylight.yangtools</groupId>
667 <artifactId>maven-sal-api-gen-plugin</artifactId>
668 <version>0.7.0-SNAPSHOT</version>
674 <groupId>org.ops4j.pax.exam</groupId>
675 <artifactId>maven-paxexam-plugin</artifactId>
676 <version>1.2.4</version>
679 <id>generate-config</id>
681 <goal>generate-depends-file</goal>
687 <groupId>org.apache.maven.plugins</groupId>
688 <artifactId>maven-javadoc-plugin</artifactId>
689 <version>${maven.javadoc.version}</version>
691 <stylesheetfile>stylesheet.css</stylesheetfile>
695 <id>attach-javadocs</id>
702 <goal>aggregate</goal>
709 <groupId>org.codehaus.mojo</groupId>
710 <artifactId>build-helper-maven-plugin</artifactId>
711 <version>1.8</version>
714 <phase>generate-sources</phase>
716 <goal>add-source</goal>
720 <source>target/generated-sources/parser</source>
721 <source>target/generated-sources/sal</source>
722 <source>${basedir}/src/main/xtend-gen</source>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-enforcer-plugin</artifactId>
736 <version>1.0</version>
742 <DependencyConvergence />
753 <groupId>org.eclipse.xtend</groupId>
754 <artifactId>xtend-maven-plugin</artifactId>
755 <version>${xtend.version}</version>
762 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
768 <artifactId>maven-clean-plugin</artifactId>
769 <version>2.5</version>
773 <directory>${basedir}/src/main/xtend-gen</directory>
775 <include>**</include>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-jar-plugin</artifactId>
786 <groupId>org.apache.felix</groupId>
787 <artifactId>maven-bundle-plugin</artifactId>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-source-plugin</artifactId>
792 <version>${maven.source.version}</version>
795 <id>attach-sources</id>
803 <groupId>org.apache.maven.plugins</groupId>
804 <artifactId>maven-javadoc-plugin</artifactId>
807 <groupId>org.jacoco</groupId>
808 <artifactId>jacoco-maven-plugin</artifactId>
811 <id>prepare-ut-agent</id>
812 <phase>process-test-classes</phase>
814 <goal>prepare-agent</goal>
817 <destFile>${sonar.jacoco.reportPath}</destFile>
818 <propertyName>jacoco.agent.ut.arg</propertyName>
822 <id>prepare-it-agent</id>
823 <phase>pre-integration-test</phase>
825 <goal>prepare-agent</goal>
828 <destFile>${sonar.jacoco.itReportPath}</destFile>
829 <propertyName>jacoco.agent.it.arg</propertyName>
840 <groupId>org.codehaus.mojo</groupId>
841 <artifactId>findbugs-maven-plugin</artifactId>
842 <version>${findbugs.maven.plugin.version}</version>
845 <threshold>Low</threshold>
850 <groupId>org.codehaus.mojo</groupId>
851 <artifactId>jdepend-maven-plugin</artifactId>
852 <version>${jdepend.maven.plugin.version}</version>
858 <!-- Note: we can not use variables for these URLs because we need to
859 be able to download the parent pom from the repository the first
860 time we go to use it (since it is in a different project).
861 To override the settings, use the "mirror" section of the
862 settings.xml. See http://maven.apache.org/settings.html -->
864 <!-- OpenDayLight Repo Mirror -->
866 <id>opendaylight-mirror</id>
867 <name>opendaylight-mirror</name>
868 <url>http://nexus.opendaylight.org/content/groups/public/</url>
870 <enabled>false</enabled>
873 <enabled>true</enabled>
874 <updatePolicy>never</updatePolicy>
878 <!-- OpenDayLight Snapshot artifact -->
880 <id>opendaylight-snapshot</id>
881 <name>opendaylight-snapshot</name>
882 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
884 <enabled>true</enabled>
887 <enabled>false</enabled>