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>
10 <groupId>org.opendaylight.bgpcep</groupId>
11 <artifactId>commons.parent</artifactId>
12 <name>BGPCEP common parent</name>
13 <version>0.3.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
18 <name>The Eclipse Public License v1.0</name>
19 <url>http://www.eclipse.org/legal/epl-v10.html</url>
20 <distribution>repo</distribution>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <commonscodec.version>1.7</commonscodec.version>
27 <dependency.version>2.8</dependency.version>
28 <guava.version>14.0.1</guava.version>
29 <java.version.source>1.7</java.version.source>
30 <java.version.target>1.7</java.version.target>
31 <junit.version>4.10</junit.version>
32 <logback.version>1.0.7</logback.version>
33 <maven.bundle.version>2.4.0</maven.bundle.version>
34 <maven.compiler.version>3.1</maven.compiler.version>
35 <maven.info.reports.version>2.7</maven.info.reports.version>
36 <maven.jar.version>2.4</maven.jar.version>
37 <maven.shade.version>2.1</maven.shade.version>
38 <maven.site.version>3.3</maven.site.version>
39 <mockito.version>1.9.5</mockito.version>
40 <netty.version>4.0.10.Final</netty.version>
41 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
42 <slf4j.version>1.7.2</slf4j.version>
43 <surefire.version>2.15</surefire.version>
44 <osgi.version>5.0.0</osgi.version>
46 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
47 <controller.config.version>0.2.3-SNAPSHOT</controller.config.version>
48 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
49 <ietf.types.version>2010.09.24.1</ietf.types.version>
50 <ietf.topology.version>2013.10.21.0-SNAPSHOT</ietf.topology.version>
53 <dependencyManagement>
57 <groupId>${project.groupId}</groupId>
58 <artifactId>concepts</artifactId>
59 <version>${project.version}</version>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>framework</artifactId>
64 <version>${project.version}</version>
67 <groupId>${project.groupId}</groupId>
68 <artifactId>util</artifactId>
69 <version>${project.version}</version>
72 <!-- Testing Dependencies -->
74 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
76 <version>${junit.version}</version>
80 <groupId>org.mockito</groupId>
81 <artifactId>mockito-core</artifactId>
82 <version>${mockito.version}</version>
86 <groupId>${project.groupId}</groupId>
87 <artifactId>mockito-configuration</artifactId>
88 <version>${project.version}</version>
92 <!-- Supporting Libraries -->
94 <groupId>org.slf4j</groupId>
95 <artifactId>slf4j-api</artifactId>
96 <version>${slf4j.version}</version>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
101 <version>${guava.version}</version>
104 <groupId>com.google.code.findbugs</groupId>
105 <artifactId>jsr305</artifactId>
106 <version>2.0.1</version>
111 <groupId>io.netty</groupId>
112 <artifactId>netty-buffer</artifactId>
113 <version>${netty.version}</version>
116 <groupId>io.netty</groupId>
117 <artifactId>netty-codec</artifactId>
118 <version>${netty.version}</version>
121 <groupId>io.netty</groupId>
122 <artifactId>netty-common</artifactId>
123 <version>${netty.version}</version>
126 <groupId>io.netty</groupId>
127 <artifactId>netty-transport</artifactId>
128 <version>${netty.version}</version>
133 <groupId>org.opendaylight.yangtools</groupId>
134 <artifactId>yang-binding</artifactId>
135 <version>${yang.binding.version}</version>
138 <groupId>org.opendaylight.yangtools</groupId>
139 <artifactId>yang-common</artifactId>
140 <version>${yangtools.version}</version>
143 <!-- Controller infrastructure -->
145 <groupId>org.opendaylight.controller</groupId>
146 <artifactId>config-api</artifactId>
147 <version>${controller.config.version}</version>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>sal-binding-api</artifactId>
152 <version>1.0-SNAPSHOT</version>
155 <groupId>org.opendaylight.controller</groupId>
156 <artifactId>sal-binding-config</artifactId>
157 <version>1.0-SNAPSHOT</version>
160 <groupId>org.opendaylight.controller</groupId>
161 <artifactId>sal-binding-broker-impl</artifactId>
162 <version>1.0-SNAPSHOT</version>
168 <groupId>org.osgi</groupId>
169 <artifactId>org.osgi.core</artifactId>
170 <version>${osgi.version}</version>
171 <scope>provided</scope>
176 <groupId>org.opendaylight.yangtools.model</groupId>
177 <artifactId>ietf-inet-types</artifactId>
178 <version>${ietf.types.version}</version>
181 <groupId>org.opendaylight.yangtools.model</groupId>
182 <artifactId>ietf-ted</artifactId>
183 <version>${ietf.topology.version}</version>
186 <groupId>org.opendaylight.yangtools.model</groupId>
187 <artifactId>ietf-topology</artifactId>
188 <version>${ietf.topology.version}</version>
191 <groupId>org.opendaylight.yangtools.model</groupId>
192 <artifactId>ietf-topology-isis</artifactId>
193 <version>${ietf.topology.version}</version>
196 <groupId>org.opendaylight.yangtools.model</groupId>
197 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
198 <version>${ietf.topology.version}</version>
201 <groupId>org.opendaylight.yangtools.model</groupId>
202 <artifactId>ietf-topology-ospf</artifactId>
203 <version>${ietf.topology.version}</version>
206 </dependencyManagement>
210 <groupId>ch.qos.logback</groupId>
211 <artifactId>logback-classic</artifactId>
212 <version>${logback.version}</version>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-project-info-reports-plugin</artifactId>
222 <version>${maven.info.reports.version}</version>
226 <report>dependency-info</report>
227 <report>license</report>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-javadoc-plugin</artifactId>
237 <id>non-aggregate</id>
239 <report>javadoc</report>
245 <groupId>org.codehaus.mojo</groupId>
246 <artifactId>findbugs-maven-plugin</artifactId>
247 <version>2.4.0</version>
250 <threshold>Low</threshold>
257 <distributionManagement>
258 <!-- OpenDayLight Released artifact -->
260 <id>opendaylight-release</id>
261 <url>${nexusproxy}/repositories/opendaylight.release/</url>
263 <!-- OpenDayLight Snapshot artifact -->
265 <id>opendaylight-snapshot</id>
266 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
267 </snapshotRepository>
269 <id>wiki.opendaylight.org</id>
270 <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main/site</url>
272 </distributionManagement>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-compiler-plugin</artifactId>
279 <version>${maven.compiler.version}</version>
281 <source>${java.version.source}</source>
282 <target>${java.version.target}</target>
283 <testSource>${java.version.source}</testSource>
284 <testTarget>${java.version.target}</testTarget>
285 <showDeprecation>true</showDeprecation>
286 <showWarnings>true</showWarnings>
287 <optimize>true</optimize>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-surefire-plugin</artifactId>
293 <version>${surefire.version}</version>
295 <redirectTestOutputToFile>true</redirectTestOutputToFile>
296 <!--parallel>classes</parallel>
297 <forkCount>1C</forkCount>
298 <reuseForks>false</reuseForks>
299 <perCoreThreadCount>true</perCoreThreadCount-->
300 <threadCount>1</threadCount>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-dependency-plugin</artifactId>
307 <version>${dependency.version}</version>
309 <failOnWarning>true</failOnWarning>
310 <ignoreNonCompile>true</ignoreNonCompile>
314 <!-- Let eclipse know about the generated sources -->
315 <groupId>org.codehaus.mojo</groupId>
316 <artifactId>build-helper-maven-plugin</artifactId>
317 <version>1.8</version>
320 <phase>generate-sources</phase>
322 <goal>add-source</goal>
326 <source>target/generated-sources/sal</source>
327 <source>target/generated-sources/config</source>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-source-plugin</artifactId>
339 <id>attach-sources</id>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-javadoc-plugin</artifactId>
352 <id>attach-javadocs</id>
363 <!--This plugin's configuration is used to store Eclipse m2e settings
364 only. It has no influence on the Maven build itself. -->
366 <groupId>org.eclipse.m2e</groupId>
367 <artifactId>lifecycle-mapping</artifactId>
368 <version>1.0.0</version>
370 <lifecycleMappingMetadata>
373 <pluginExecutionFilter>
374 <groupId>pl.project13.maven</groupId>
375 <artifactId>git-commit-id-plugin</artifactId>
376 <versionRange>[2.1.4,)</versionRange>
378 <goal>revision</goal>
380 </pluginExecutionFilter>
386 <pluginExecutionFilter>
387 <groupId>org.opendaylight.yangtools</groupId>
388 <artifactId>yang-maven-plugin</artifactId>
389 <versionRange>[0.5,)</versionRange>
391 <goal>generate-sources</goal>
393 </pluginExecutionFilter>
399 </lifecycleMappingMetadata>
403 <!-- Our YANG->DTO generation plugin -->
405 <groupId>org.opendaylight.yangtools</groupId>
406 <artifactId>yang-maven-plugin</artifactId>
407 <version>${yangtools.version}</version>
411 <goal>generate-sources</goal>
414 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
418 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
419 </codeGeneratorClass>
421 target/generated-sources/sal
425 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
426 <outputBaseDir>target/site</outputBaseDir>
429 <inspectDependencies>true</inspectDependencies>
435 <groupId>org.opendaylight.yangtools</groupId>
436 <artifactId>maven-sal-api-gen-plugin</artifactId>
437 <version>${yang.binding.version}</version>
443 <!-- Maven site plugin -->
445 <artifactId>maven-site-plugin</artifactId>
446 <version>${maven.site.version}</version>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-javadoc-plugin</artifactId>
451 <version>2.9.1</version>
454 <groupId>org.apache.maven.plugins</groupId>
455 <artifactId>maven-source-plugin</artifactId>
456 <version>2.2.1</version>
464 <id>opendaylight-release</id>
465 <name>opendaylight-release</name>
466 <url>${nexusproxy}/repositories/opendaylight.release/</url>
469 <id>opendaylight-snapshot</id>
470 <name>opendaylight-snapshot</name>
471 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
477 <id>opendaylight-release</id>
478 <name>opendaylight-release</name>
479 <url>${nexusproxy}/repositories/opendaylight.release/</url>
482 <id>opendaylight-snapshot</id>
483 <name>opendaylight-snapshot</name>
484 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
486 </pluginRepositories>