1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
7 <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
8 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
9 <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
16 <groupId>org.opendaylight.bgpcep</groupId>
17 <artifactId>commons.parent</artifactId>
18 <name>BGPCEP common parent</name>
19 <version>0.3.0-SNAPSHOT</version>
20 <packaging>pom</packaging>
24 <name>The Eclipse Public License v1.0</name>
25 <url>http://www.eclipse.org/legal/epl-v10.html</url>
26 <distribution>repo</distribution>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
34 <commonscodec.version>1.7</commonscodec.version>
35 <guava.version>14.0.1</guava.version>
36 <java.version.source>1.7</java.version.source>
37 <java.version.target>1.7</java.version.target>
38 <junit.version>4.10</junit.version>
39 <logback.version>1.0.9</logback.version>
40 <maven.bundle.version>2.4.0</maven.bundle.version>
41 <maven.compiler.version>3.1</maven.compiler.version>
42 <maven.dependency.version>2.8</maven.dependency.version>
43 <maven.info.reports.version>2.7</maven.info.reports.version>
44 <maven.jar.version>2.4</maven.jar.version>
45 <maven.javadoc.version>2.9.1</maven.javadoc.version>
46 <maven.release.version>2.4.2</maven.release.version>
47 <maven.shade.version>2.1</maven.shade.version>
48 <maven.site.version>3.3</maven.site.version>
49 <mockito.version>1.9.5</mockito.version>
50 <netty.version>4.0.10.Final</netty.version>
51 <slf4j.version>1.7.2</slf4j.version>
52 <surefire.version>2.15</surefire.version>
54 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
55 <controller.config.version>0.2.3-SNAPSHOT</controller.config.version>
56 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
57 <ietf.types.version>2010.09.24.2-SNAPSHOT</ietf.types.version>
58 <ietf.topology.version>2013.10.21.0-SNAPSHOT</ietf.topology.version>
61 <dependencyManagement>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>concepts</artifactId>
67 <version>${project.version}</version>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>framework</artifactId>
72 <version>${project.version}</version>
75 <groupId>${project.groupId}</groupId>
76 <artifactId>util</artifactId>
77 <version>${project.version}</version>
80 <!-- Testing Dependencies -->
82 <groupId>junit</groupId>
83 <artifactId>junit</artifactId>
84 <version>${junit.version}</version>
88 <groupId>org.mockito</groupId>
89 <artifactId>mockito-core</artifactId>
90 <version>${mockito.version}</version>
94 <groupId>org.opendaylight.yangtools</groupId>
95 <artifactId>mockito-configuration</artifactId>
96 <!-- FIXME: change to yangtools.version once it's 0.6.0 -->
97 <version>${yang.binding.version}</version>
101 <!-- Supporting Libraries -->
103 <groupId>org.slf4j</groupId>
104 <artifactId>slf4j-api</artifactId>
105 <version>${slf4j.version}</version>
108 <groupId>com.google.guava</groupId>
109 <artifactId>guava</artifactId>
110 <version>${guava.version}</version>
113 <groupId>com.google.code.findbugs</groupId>
114 <artifactId>jsr305</artifactId>
115 <version>2.0.1</version>
120 <groupId>io.netty</groupId>
121 <artifactId>netty-buffer</artifactId>
122 <version>${netty.version}</version>
125 <groupId>io.netty</groupId>
126 <artifactId>netty-codec</artifactId>
127 <version>${netty.version}</version>
130 <groupId>io.netty</groupId>
131 <artifactId>netty-common</artifactId>
132 <version>${netty.version}</version>
135 <groupId>io.netty</groupId>
136 <artifactId>netty-transport</artifactId>
137 <version>${netty.version}</version>
142 <groupId>org.opendaylight.yangtools</groupId>
143 <artifactId>yang-binding</artifactId>
144 <version>${yang.binding.version}</version>
147 <groupId>org.opendaylight.yangtools</groupId>
148 <artifactId>yang-common</artifactId>
149 <version>${yangtools.version}</version>
152 <!-- Controller infrastructure -->
154 <groupId>org.opendaylight.controller</groupId>
155 <artifactId>config-api</artifactId>
156 <version>${controller.config.version}</version>
159 <groupId>org.opendaylight.controller</groupId>
160 <artifactId>netty-config-api</artifactId>
161 <version>${controller.config.version}</version>
164 <groupId>org.opendaylight.controller</groupId>
165 <artifactId>sal-binding-api</artifactId>
166 <version>1.0-SNAPSHOT</version>
169 <groupId>org.opendaylight.controller</groupId>
170 <artifactId>sal-binding-config</artifactId>
171 <version>1.0-SNAPSHOT</version>
174 <groupId>org.opendaylight.controller</groupId>
175 <artifactId>sal-binding-broker-impl</artifactId>
176 <version>1.0-SNAPSHOT</version>
182 <groupId>org.opendaylight.yangtools.model</groupId>
183 <artifactId>ietf-inet-types</artifactId>
184 <version>${ietf.types.version}</version>
187 <groupId>org.opendaylight.yangtools.model</groupId>
188 <artifactId>ietf-ted</artifactId>
189 <version>${ietf.topology.version}</version>
192 <groupId>org.opendaylight.yangtools.model</groupId>
193 <artifactId>ietf-topology</artifactId>
194 <version>${ietf.topology.version}</version>
197 <groupId>org.opendaylight.yangtools.model</groupId>
198 <artifactId>ietf-topology-isis</artifactId>
199 <version>${ietf.topology.version}</version>
202 <groupId>org.opendaylight.yangtools.model</groupId>
203 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
204 <version>${ietf.topology.version}</version>
207 <groupId>org.opendaylight.yangtools.model</groupId>
208 <artifactId>ietf-topology-ospf</artifactId>
209 <version>${ietf.topology.version}</version>
212 </dependencyManagement>
216 <groupId>ch.qos.logback</groupId>
217 <artifactId>logback-classic</artifactId>
218 <version>${logback.version}</version>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-project-info-reports-plugin</artifactId>
228 <version>${maven.info.reports.version}</version>
232 <report>dependency-info</report>
233 <report>license</report>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-javadoc-plugin</artifactId>
241 <version>${maven.javadoc.version}</version>
244 <id>non-aggregate</id>
246 <report>javadoc</report>
252 <groupId>org.codehaus.mojo</groupId>
253 <artifactId>findbugs-maven-plugin</artifactId>
254 <version>2.4.0</version>
257 <threshold>Low</threshold>
264 <distributionManagement>
265 <!-- OpenDayLight Released artifact -->
267 <id>opendaylight-release</id>
268 <url>${nexusproxy}/repositories/opendaylight.release/</url>
270 <!-- OpenDayLight Snapshot artifact -->
272 <id>opendaylight-snapshot</id>
273 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
274 </snapshotRepository>
276 <id>wiki.opendaylight.org</id>
277 <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main/site</url>
279 </distributionManagement>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-compiler-plugin</artifactId>
286 <version>${maven.compiler.version}</version>
288 <source>${java.version.source}</source>
289 <target>${java.version.target}</target>
290 <testSource>${java.version.source}</testSource>
291 <testTarget>${java.version.target}</testTarget>
292 <showDeprecation>true</showDeprecation>
293 <showWarnings>true</showWarnings>
294 <optimize>true</optimize>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-surefire-plugin</artifactId>
300 <version>${surefire.version}</version>
302 <redirectTestOutputToFile>true</redirectTestOutputToFile>
303 <!--parallel>classes</parallel>
304 <forkCount>1C</forkCount>
305 <reuseForks>false</reuseForks>
306 <perCoreThreadCount>true</perCoreThreadCount-->
307 <threadCount>1</threadCount>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-dependency-plugin</artifactId>
314 <version>${maven.dependency.version}</version>
316 <failOnWarning>true</failOnWarning>
317 <ignoreNonCompile>true</ignoreNonCompile>
321 <!-- Let eclipse know about the generated sources -->
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>build-helper-maven-plugin</artifactId>
324 <version>1.8</version>
327 <phase>generate-sources</phase>
329 <goal>add-source</goal>
333 <source>target/generated-sources/sal</source>
334 <source>target/generated-sources/config</source>
344 <groupId>org.apache.felix</groupId>
345 <artifactId>maven-bundle-plugin</artifactId>
346 <version>${maven.bundle.version}</version>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-jar-plugin</artifactId>
351 <version>${maven.jar.version}</version>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-release-plugin</artifactId>
356 <version>${maven.release.version}</version>
359 <!--This plugin's configuration is used to store Eclipse m2e settings
360 only. It has no influence on the Maven build itself. -->
362 <groupId>org.eclipse.m2e</groupId>
363 <artifactId>lifecycle-mapping</artifactId>
364 <version>1.0.0</version>
366 <lifecycleMappingMetadata>
369 <pluginExecutionFilter>
370 <groupId>pl.project13.maven</groupId>
371 <artifactId>git-commit-id-plugin</artifactId>
372 <versionRange>[2.1.4,)</versionRange>
374 <goal>revision</goal>
376 </pluginExecutionFilter>
382 <pluginExecutionFilter>
383 <groupId>org.opendaylight.yangtools</groupId>
384 <artifactId>yang-maven-plugin</artifactId>
385 <versionRange>[0.5,)</versionRange>
387 <goal>generate-sources</goal>
389 </pluginExecutionFilter>
395 </lifecycleMappingMetadata>
399 <!-- Our YANG->DTO generation plugin -->
401 <groupId>org.opendaylight.yangtools</groupId>
402 <artifactId>yang-maven-plugin</artifactId>
403 <version>${yangtools.version}</version>
407 <goal>generate-sources</goal>
410 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
414 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
415 </codeGeneratorClass>
417 target/generated-sources/sal
422 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
423 <outputBaseDir>target/site</outputBaseDir>
426 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
427 <outputBaseDir>target/site</outputBaseDir>
431 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
432 </codeGeneratorClass>
433 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
434 <additionalConfiguration>
435 <namespaceToPackage1>
436 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
437 </namespaceToPackage1>
438 </additionalConfiguration>
441 <inspectDependencies>true</inspectDependencies>
447 <groupId>org.opendaylight.yangtools</groupId>
448 <artifactId>maven-sal-api-gen-plugin</artifactId>
449 <version>${yang.binding.version}</version>
453 <groupId>org.opendaylight.controller</groupId>
454 <artifactId>yang-jmx-generator-plugin</artifactId>
455 <version>${controller.config.version}</version>
460 <!-- Maven site plugin -->
462 <artifactId>maven-site-plugin</artifactId>
463 <version>${maven.site.version}</version>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-javadoc-plugin</artifactId>
468 <version>${maven.javadoc.version}</version>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-source-plugin</artifactId>
473 <version>2.2.1</version>
481 <id>opendaylight-mirror</id>
482 <name>opendaylight-mirror</name>
483 <url>${nexusproxy}/groups/public/</url>
485 <enabled>false</enabled>
488 <enabled>true</enabled>
489 <updatePolicy>never</updatePolicy>
493 <id>opendaylight-snapshot</id>
494 <name>opendaylight-snapshot</name>
495 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
501 <id>opendaylight-mirror</id>
502 <name>opendaylight-mirror</name>
503 <url>${nexusproxy}/groups/public/</url>
505 <enabled>false</enabled>
508 <enabled>true</enabled>
509 <updatePolicy>never</updatePolicy>
513 <id>opendaylight-snapshot</id>
514 <name>opendaylight-snapshot</name>
515 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
517 </pluginRepositories>
524 <name>repoBuild</name>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-javadoc-plugin</artifactId>
534 <id>attach-javadocs</id>
542 <groupId>org.apache.maven.plugins</groupId>
543 <artifactId>maven-source-plugin</artifactId>
546 <id>attach-sources</id>