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.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>
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>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-javadoc-plugin</artifactId>
67 <version>${maven.javadoc.version}</version>
69 <stylesheetfile>stylesheet.css</stylesheetfile>
70 <additionalparam>-Xdoclint:none</additionalparam>
74 <id>attach-javadocs</id>
81 <goal>aggregate</goal>
93 <dependencyManagement>
95 <!-- Testing Dependencies -->
97 <groupId>org.apache.maven.shared</groupId>
98 <artifactId>maven-verifier</artifactId>
99 <version>1.5</version>
103 <groupId>equinoxSDK381</groupId>
104 <artifactId>org.eclipse.osgi</artifactId>
105 <version>3.8.1.v20120830-144521</version>
109 <groupId>org.codehaus.groovy</groupId>
110 <artifactId>groovy</artifactId>
111 <version>2.1.6</version>
115 <groupId>org.codehaus.groovy</groupId>
116 <artifactId>groovy-xml</artifactId>
117 <version>2.1.6</version>
121 <groupId>xmlunit</groupId>
122 <artifactId>xmlunit</artifactId>
123 <version>1.5</version>
127 <groupId>org.opendaylight.yangtools</groupId>
128 <artifactId>yang-data-util</artifactId>
129 <version>0.6.2-SNAPSHOT</version>
132 <groupId>org.opendaylight.yangtools</groupId>
133 <artifactId>maven-sal-api-gen-plugin</artifactId>
134 <version>0.6.2-SNAPSHOT</version>
137 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
138 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
139 <version>4.0</version>
143 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
144 <artifactId>xtend-lib-osgi</artifactId>
145 <version>2.4.3</version>
149 <groupId>org.opendaylight.yangtools</groupId>
150 <artifactId>concepts</artifactId>
151 <version>0.6.2-SNAPSHOT</version>
154 <groupId>org.opendaylight.yangtools</groupId>
155 <artifactId>object-cache-api</artifactId>
156 <version>0.6.2-SNAPSHOT</version>
159 <groupId>org.opendaylight.yangtools</groupId>
160 <artifactId>object-cache-guava</artifactId>
161 <version>0.6.2-SNAPSHOT</version>
164 <groupId>org.opendaylight.yangtools</groupId>
165 <artifactId>object-cache-noop</artifactId>
166 <version>0.6.2-SNAPSHOT</version>
169 <groupId>org.opendaylight.yangtools</groupId>
170 <artifactId>binding-model-api</artifactId>
171 <version>0.6.2-SNAPSHOT</version>
174 <groupId>org.opendaylight.yangtools</groupId>
175 <artifactId>binding-generator-api</artifactId>
176 <version>0.6.2-SNAPSHOT</version>
179 <groupId>org.opendaylight.yangtools</groupId>
180 <artifactId>binding-generator-spi</artifactId>
181 <version>0.6.2-SNAPSHOT</version>
184 <groupId>org.opendaylight.yangtools</groupId>
185 <artifactId>binding-generator-util</artifactId>
186 <version>0.6.2-SNAPSHOT</version>
189 <groupId>org.opendaylight.yangtools</groupId>
190 <artifactId>binding-generator-impl</artifactId>
191 <version>0.6.2-SNAPSHOT</version>
194 <groupId>org.opendaylight.yangtools</groupId>
195 <artifactId>binding-java-api-generator</artifactId>
196 <version>0.6.2-SNAPSHOT</version>
199 <groupId>org.opendaylight.yangtools</groupId>
200 <artifactId>yang-common</artifactId>
201 <version>0.6.2-SNAPSHOT</version>
204 <groupId>org.opendaylight.yangtools</groupId>
205 <artifactId>yang-data-api</artifactId>
206 <version>0.6.2-SNAPSHOT</version>
209 <groupId>org.opendaylight.yangtools</groupId>
210 <artifactId>yang-data-impl</artifactId>
211 <version>0.6.2-SNAPSHOT</version>
214 <groupId>org.opendaylight.yangtools</groupId>
215 <artifactId>yang-data-codec-gson</artifactId>
216 <version>0.6.2-SNAPSHOT</version>
219 <groupId>org.opendaylight.yangtools</groupId>
220 <artifactId>yang-model-api</artifactId>
221 <version>0.6.2-SNAPSHOT</version>
224 <groupId>org.opendaylight.yangtools</groupId>
225 <artifactId>yang-model-util</artifactId>
226 <version>0.6.2-SNAPSHOT</version>
229 <groupId>org.opendaylight.yangtools</groupId>
230 <artifactId>yang-binding</artifactId>
231 <version>0.6.2-SNAPSHOT</version>
234 <groupId>org.opendaylight.yangtools</groupId>
235 <artifactId>yang-parser-api</artifactId>
236 <version>0.6.2-SNAPSHOT</version>
239 <groupId>org.opendaylight.yangtools</groupId>
240 <artifactId>yang-parser-impl</artifactId>
241 <version>0.6.2-SNAPSHOT</version>
244 <groupId>org.opendaylight.yangtools</groupId>
245 <artifactId>yang-maven-plugin</artifactId>
246 <version>0.6.2-SNAPSHOT</version>
249 <groupId>org.opendaylight.yangtools</groupId>
250 <artifactId>yang-maven-plugin-spi</artifactId>
251 <version>0.6.2-SNAPSHOT</version>
254 <groupId>org.opendaylight.yangtools.model</groupId>
255 <artifactId>ietf-inet-types</artifactId>
256 <version>2010.09.24.4-SNAPSHOT</version>
259 <groupId>org.opendaylight.yangtools.model</groupId>
260 <artifactId>ietf-yang-types</artifactId>
261 <version>2010.09.24.4-SNAPSHOT</version>
264 <groupId>org.opendaylight.yangtools.model</groupId>
265 <artifactId>ietf-yang-types-20130715</artifactId>
266 <version>2013.07.15.1-SNAPSHOT</version>
269 <groupId>org.opendaylight.yangtools.model</groupId>
270 <artifactId>ietf-restconf</artifactId>
271 <version>2013.09.04.1-SNAPSHOT</version>
274 <groupId>org.opendaylight.yangtools.model</groupId>
275 <artifactId>ietf-ted</artifactId>
276 <version>2013.10.21.2-SNAPSHOT</version>
279 <groupId>org.opendaylight.yangtools.model</groupId>
280 <artifactId>ietf-topology</artifactId>
281 <version>2013.10.21.2-SNAPSHOT</version>
284 <groupId>org.opendaylight.yangtools.model</groupId>
285 <artifactId>ietf-topology-isis</artifactId>
286 <version>2013.10.21.2-SNAPSHOT</version>
289 <groupId>org.opendaylight.yangtools.model</groupId>
290 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
291 <version>2013.10.21.2-SNAPSHOT</version>
294 <groupId>org.opendaylight.yangtools.model</groupId>
295 <artifactId>ietf-topology-ospf</artifactId>
296 <version>2013.10.21.2-SNAPSHOT</version>
299 <groupId>org.opendaylight.yangtools.model</groupId>
300 <artifactId>ietf-topology-l3-unicast</artifactId>
301 <version>2013.10.21.2-SNAPSHOT</version>
304 <groupId>org.opendaylight.yangtools</groupId>
305 <artifactId>yang-data-composite-node</artifactId>
306 <version>0.6.2-SNAPSHOT</version>
309 <groupId>org.apache.maven</groupId>
310 <artifactId>maven-core</artifactId>
311 <version>3.0.5</version>
314 <groupId>org.apache.maven</groupId>
315 <artifactId>maven-plugin-api</artifactId>
316 <version>3.0.5</version>
319 <groupId>org.javassist</groupId>
320 <artifactId>javassist</artifactId>
321 <version>3.17.1-GA</version>
324 <groupId>xml-apis</groupId>
325 <artifactId>xml-apis</artifactId>
326 <version>2.0.2</version>
329 <groupId>org.eclipse.xtend</groupId>
330 <artifactId>org.eclipse.xtend.lib</artifactId>
331 <version>2.4.3</version>
334 <groupId>org.osgi</groupId>
335 <artifactId>org.osgi.core</artifactId>
336 <version>5.0.0</version>
337 <scope>provided</scope>
340 <groupId>javax.ws.rs</groupId>
341 <artifactId>javax.ws.rs-api</artifactId>
342 <version>2.0</version>
346 <groupId>org.glassfish.jersey.ext</groupId>
347 <artifactId>jersey-proxy-client</artifactId>
348 <version>2.0</version>
351 <groupId>org.glassfish.jersey.core</groupId>
352 <artifactId>jersey-client</artifactId>
353 <version>2.0</version>
357 <groupId>org.opendaylight.yangtools</groupId>
358 <artifactId>restconf-client-api</artifactId>
359 <version>${project.version}</version>
362 <groupId>org.opendaylight.yangtools</groupId>
363 <artifactId>restconf-common</artifactId>
364 <version>${project.version}</version>
367 <groupId>org.opendaylight.yangtools</groupId>
368 <artifactId>restconf-util</artifactId>
369 <version>${project.version}</version>
372 <groupId>org.opendaylight.yangtools</groupId>
373 <artifactId>restconf-test-service</artifactId>
374 <version>${project.version}</version>
377 <groupId>org.opendaylight.yangtools</groupId>
378 <artifactId>restconf-client-impl</artifactId>
379 <version>${project.version}</version>
382 <groupId>org.opendaylight.yangtools</groupId>
383 <artifactId>restconf-jaxrs-api</artifactId>
384 <version>${project.version}</version>
388 <groupId>org.opendaylight.yangtools</groupId>
389 <artifactId>bug527-test-model</artifactId>
390 <version>0.6.2-SNAPSHOT</version>
394 <groupId>org.opendaylight.yangtools</groupId>
395 <artifactId>bug1196-test-model</artifactId>
396 <version>0.6.2-SNAPSHOT</version>
401 <groupId>org.opendaylight.yangtools</groupId>
402 <artifactId>websocket-client</artifactId>
403 <version>${project.version}</version>
407 <groupId>${project.groupId}</groupId>
408 <artifactId>object-cache-api</artifactId>
409 <version>${project.version}</version>
412 <groupId>${project.groupId}</groupId>
413 <artifactId>object-cache-guava</artifactId>
414 <version>${project.version}</version>
417 <groupId>${project.groupId}</groupId>
418 <artifactId>object-cache-noop</artifactId>
419 <version>${project.version}</version>
422 <groupId>${project.groupId}</groupId>
423 <artifactId>util</artifactId>
424 <version>${project.version}</version>
427 <groupId>org.opendaylight.yangtools.model</groupId>
428 <artifactId>opendaylight-l2-types</artifactId>
429 <version>${opendaylight.l2.types.version}</version>
432 <groupId>org.opendaylight.yangtools.model</groupId>
433 <artifactId>yang-ext</artifactId>
434 <version>${yang.ext.version}</version>
437 <groupId>org.opendaylight.yangtools</groupId>
438 <artifactId>binding-type-provider</artifactId>
439 <version>${project.version}</version>
442 <groupId>org.opendaylight.yangtools</groupId>
443 <artifactId>yang-data-operations</artifactId>
444 <version>${project.version}</version>
447 <groupId>org.opendaylight.yangtools</groupId>
448 <artifactId>binding-data-codec</artifactId>
449 <version>${project.version}</version>
452 <groupId>org.opendaylight.yangtools</groupId>
453 <artifactId>features-test</artifactId>
454 <version>${project.version}</version>
458 </dependencyManagement>
463 <groupId>org.codehaus.sonar-plugins.java</groupId>
464 <artifactId>sonar-jacoco-listeners</artifactId>
465 <version>${sonar-jacoco-listeners.version}</version>
469 <groupId>org.slf4j</groupId>
470 <artifactId>slf4j-simple</artifactId>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-jar-plugin</artifactId>
481 <version>${maven.jar.version}</version>
485 Bundle OSGi Manifest created by maven-bundle-plugin
488 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
493 <groupId>org.apache.felix</groupId>
494 <artifactId>maven-bundle-plugin</artifactId>
495 <version>${maven.bundle.version}</version>
496 <extensions>true</extensions>
499 <id>bundle-manifest</id>
500 <phase>process-classes</phase>
502 <goal>manifest</goal>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-failsafe-plugin</artifactId>
511 <!-- Specific to generate mapping between tests and covered code -->
512 <argLine>${jacoco.agent.it.arg}</argLine>
515 <name>listener</name>
516 <value>org.sonar.java.jacoco.JUnitListener</value>
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>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-surefire-plugin</artifactId>
526 <version>${maven.surefire.version}</version>
528 <!-- Specific to generate mapping between tests and covered code -->
529 <argLine>${jacoco.agent.ut.arg}</argLine>
532 <name>listener</name>
533 <value>org.sonar.java.jacoco.JUnitListener</value>
540 <groupId>org.eclipse.m2e</groupId>
541 <artifactId>lifecycle-mapping</artifactId>
542 <version>1.0.0</version>
544 <lifecycleMappingMetadata>
547 <pluginExecutionFilter>
548 <groupId>org.apache.felix</groupId>
549 <artifactId>maven-bundle-plugin</artifactId>
550 <versionRange>[1.0,)</versionRange>
552 <goal>manifest</goal>
554 </pluginExecutionFilter>
560 <pluginExecutionFilter>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-antrun-plugin</artifactId>
563 <versionRange>[1.0,)</versionRange>
567 </pluginExecutionFilter>
573 <pluginExecutionFilter>
574 <groupId>org.opendaylight.yangtools</groupId>
575 <artifactId>yang-maven-plugin</artifactId>
576 <versionRange>[0.5,)</versionRange>
578 <goal>generate-sources</goal>
580 </pluginExecutionFilter>
586 <pluginExecutionFilter>
587 <groupId>org.codehaus.mojo</groupId>
588 <artifactId>properties-maven-plugin</artifactId>
589 <versionRange>1.0-alpha-2</versionRange>
591 <goal>write-project-properties</goal>
593 </pluginExecutionFilter>
599 <pluginExecutionFilter>
600 <groupId>org.ops4j.pax.exam</groupId>
601 <artifactId>maven-paxexam-plugin</artifactId>
602 <versionRange>1.2.4</versionRange>
604 <goal>generate-depends-file</goal>
606 </pluginExecutionFilter>
612 <pluginExecutionFilter>
613 <groupId>org.jacoco</groupId>
614 <artifactId>jacoco-maven-plugin</artifactId>
615 <versionRange>[0.6,)</versionRange>
617 <goal>prepare-agent</goal>
619 </pluginExecutionFilter>
625 </lifecycleMappingMetadata>
629 <groupId>org.opendaylight.yangtools</groupId>
630 <artifactId>yang-maven-plugin</artifactId>
631 <version>0.6.2-SNAPSHOT</version>
635 <goal>generate-sources</goal>
638 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
642 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
643 </codeGeneratorClass>
645 target/generated-sources/sal
649 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
650 <outputBaseDir>target/site/restconf</outputBaseDir>
653 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
654 <outputBaseDir>target/site/restconf</outputBaseDir>
657 <inspectDependencies>true</inspectDependencies>
663 <groupId>org.opendaylight.yangtools</groupId>
664 <artifactId>maven-sal-api-gen-plugin</artifactId>
665 <version>0.6.2-SNAPSHOT</version>
671 <groupId>org.ops4j.pax.exam</groupId>
672 <artifactId>maven-paxexam-plugin</artifactId>
673 <version>1.2.4</version>
676 <id>generate-config</id>
678 <goal>generate-depends-file</goal>
684 <groupId>org.apache.maven.plugins</groupId>
685 <artifactId>maven-javadoc-plugin</artifactId>
686 <version>${maven.javadoc.version}</version>
688 <stylesheetfile>stylesheet.css</stylesheetfile>
692 <id>attach-javadocs</id>
699 <goal>aggregate</goal>
706 <groupId>org.codehaus.mojo</groupId>
707 <artifactId>build-helper-maven-plugin</artifactId>
708 <version>1.8</version>
711 <phase>generate-sources</phase>
713 <goal>add-source</goal>
717 <source>target/generated-sources/parser</source>
718 <source>target/generated-sources/sal</source>
719 <source>${basedir}/src/main/xtend-gen</source>
731 <groupId>org.apache.maven.plugins</groupId>
732 <artifactId>maven-enforcer-plugin</artifactId>
733 <version>1.0</version>
739 <DependencyConvergence />
750 <groupId>org.eclipse.xtend</groupId>
751 <artifactId>xtend-maven-plugin</artifactId>
752 <version>${xtend.version}</version>
759 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
765 <artifactId>maven-clean-plugin</artifactId>
766 <version>2.5</version>
770 <directory>${basedir}/src/main/xtend-gen</directory>
772 <include>**</include>
779 <groupId>org.apache.maven.plugins</groupId>
780 <artifactId>maven-jar-plugin</artifactId>
783 <groupId>org.apache.felix</groupId>
784 <artifactId>maven-bundle-plugin</artifactId>
787 <groupId>org.apache.maven.plugins</groupId>
788 <artifactId>maven-source-plugin</artifactId>
789 <version>${maven.source.version}</version>
792 <id>attach-sources</id>
800 <groupId>org.apache.maven.plugins</groupId>
801 <artifactId>maven-javadoc-plugin</artifactId>
804 <groupId>org.jacoco</groupId>
805 <artifactId>jacoco-maven-plugin</artifactId>
808 <id>prepare-ut-agent</id>
809 <phase>process-test-classes</phase>
811 <goal>prepare-agent</goal>
814 <destFile>${sonar.jacoco.reportPath}</destFile>
815 <propertyName>jacoco.agent.ut.arg</propertyName>
819 <id>prepare-it-agent</id>
820 <phase>pre-integration-test</phase>
822 <goal>prepare-agent</goal>
825 <destFile>${sonar.jacoco.itReportPath}</destFile>
826 <propertyName>jacoco.agent.it.arg</propertyName>
837 <groupId>org.codehaus.mojo</groupId>
838 <artifactId>findbugs-maven-plugin</artifactId>
839 <version>${findbugs.maven.plugin.version}</version>
842 <threshold>Low</threshold>
847 <groupId>org.codehaus.mojo</groupId>
848 <artifactId>jdepend-maven-plugin</artifactId>
849 <version>${jdepend.maven.plugin.version}</version>
854 <!-- OpenDayLight Repo Mirror -->
856 <id>opendaylight-mirror</id>
857 <name>opendaylight-mirror</name>
858 <url>${nexusproxy}/groups/public/</url>
860 <enabled>false</enabled>
863 <enabled>true</enabled>
864 <updatePolicy>never</updatePolicy>
868 <!-- OpenDayLight Snapshot artifact -->
870 <id>opendaylight-snapshot</id>
871 <name>opendaylight-snapshot</name>
872 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
874 <enabled>true</enabled>
877 <enabled>false</enabled>