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 <groupId>org.opendaylight.bgpcep</groupId>
8 <artifactId>protocol-parent</artifactId>
9 <name>OpenDaylight protocols</name>
10 <description>OpenDaylight BGP+PCEP protocol parent</description>
11 <version>0.3.0-SNAPSHOT</version>
12 <packaging>pom</packaging>
16 <name>The Eclipse Public License v1.0</name>
17 <url>http://www.eclipse.org/legal/epl-v10.html</url>
18 <distribution>repo</distribution>
23 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24 <commonscodec.version>1.7</commonscodec.version>
25 <dependency.version>2.8</dependency.version>
26 <guava.version>14.0.1</guava.version>
27 <java.version.source>1.7</java.version.source>
28 <java.version.target>1.7</java.version.target>
29 <junit.version>4.10</junit.version>
30 <logback.version>1.0.7</logback.version>
31 <maven.bundle.version>2.4.0</maven.bundle.version>
32 <maven.compiler.version>3.1</maven.compiler.version>
33 <maven.info.reports.version>2.7</maven.info.reports.version>
34 <maven.jar.version>2.4</maven.jar.version>
35 <maven.shade.version>2.1</maven.shade.version>
36 <maven.site.version>3.3</maven.site.version>
37 <mockito.version>1.9.5</mockito.version>
38 <netty.version>4.0.10.Final</netty.version>
39 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
40 <slf4j.version>1.7.2</slf4j.version>
41 <surefire.version>2.15</surefire.version>
42 <osgi.version>5.0.0</osgi.version>
44 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
45 <controller.config.version>0.2.3-SNAPSHOT</controller.config.version>
46 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
47 <ietf.types.version>2010.09.24.1</ietf.types.version>
48 <ietf.topology.version>2013.10.21.0-SNAPSHOT</ietf.topology.version>
56 <module>concepts</module>
57 <module>framework</module>
58 <module>mockito-configuration</module>
64 <module>programming</module>
66 <module>topology</module>
68 <!-- Integration tests -->
69 <module>integration-tests</module>
72 <dependencyManagement>
76 <groupId>${project.groupId}</groupId>
77 <artifactId>concepts</artifactId>
78 <version>${project.version}</version>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>framework</artifactId>
83 <version>${project.version}</version>
86 <groupId>${project.groupId}</groupId>
87 <artifactId>util</artifactId>
88 <version>${project.version}</version>
91 <!-- Testing Dependencies -->
93 <groupId>junit</groupId>
94 <artifactId>junit</artifactId>
95 <version>${junit.version}</version>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-core</artifactId>
101 <version>${mockito.version}</version>
105 <groupId>${project.groupId}</groupId>
106 <artifactId>mockito-configuration</artifactId>
107 <version>${project.version}</version>
111 <!-- Supporting Libraries -->
113 <groupId>org.slf4j</groupId>
114 <artifactId>slf4j-api</artifactId>
115 <version>${slf4j.version}</version>
118 <groupId>com.google.guava</groupId>
119 <artifactId>guava</artifactId>
120 <version>${guava.version}</version>
123 <groupId>com.google.code.findbugs</groupId>
124 <artifactId>jsr305</artifactId>
125 <version>2.0.1</version>
130 <groupId>io.netty</groupId>
131 <artifactId>netty-buffer</artifactId>
132 <version>${netty.version}</version>
135 <groupId>io.netty</groupId>
136 <artifactId>netty-codec</artifactId>
137 <version>${netty.version}</version>
140 <groupId>io.netty</groupId>
141 <artifactId>netty-common</artifactId>
142 <version>${netty.version}</version>
145 <groupId>io.netty</groupId>
146 <artifactId>netty-transport</artifactId>
147 <version>${netty.version}</version>
152 <groupId>org.opendaylight.yangtools</groupId>
153 <artifactId>yang-binding</artifactId>
154 <version>${yang.binding.version}</version>
157 <groupId>org.opendaylight.yangtools</groupId>
158 <artifactId>yang-common</artifactId>
159 <version>${yangtools.version}</version>
162 <!-- Controller infrastructure -->
164 <groupId>org.opendaylight.controller</groupId>
165 <artifactId>config-api</artifactId>
166 <version>${controller.config.version}</version>
169 <groupId>org.opendaylight.controller</groupId>
170 <artifactId>sal-binding-api</artifactId>
171 <version>1.0-SNAPSHOT</version>
174 <groupId>org.opendaylight.controller</groupId>
175 <artifactId>sal-binding-config</artifactId>
176 <version>1.0-SNAPSHOT</version>
179 <groupId>org.opendaylight.controller</groupId>
180 <artifactId>sal-binding-broker-impl</artifactId>
181 <version>1.0-SNAPSHOT</version>
187 <groupId>org.osgi</groupId>
188 <artifactId>org.osgi.core</artifactId>
189 <version>${osgi.version}</version>
190 <scope>provided</scope>
195 <groupId>org.opendaylight.yangtools.model</groupId>
196 <artifactId>ietf-inet-types</artifactId>
197 <version>${ietf.types.version}</version>
200 <groupId>org.opendaylight.yangtools.model</groupId>
201 <artifactId>ietf-ted</artifactId>
202 <version>${ietf.topology.version}</version>
205 <groupId>org.opendaylight.yangtools.model</groupId>
206 <artifactId>ietf-topology</artifactId>
207 <version>${ietf.topology.version}</version>
210 <groupId>org.opendaylight.yangtools.model</groupId>
211 <artifactId>ietf-topology-isis</artifactId>
212 <version>${ietf.topology.version}</version>
215 <groupId>org.opendaylight.yangtools.model</groupId>
216 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
217 <version>${ietf.topology.version}</version>
220 <groupId>org.opendaylight.yangtools.model</groupId>
221 <artifactId>ietf-topology-ospf</artifactId>
222 <version>${ietf.topology.version}</version>
225 </dependencyManagement>
229 <groupId>ch.qos.logback</groupId>
230 <artifactId>logback-classic</artifactId>
231 <version>${logback.version}</version>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-project-info-reports-plugin</artifactId>
241 <version>${maven.info.reports.version}</version>
245 <report>dependency-info</report>
246 <report>license</report>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-javadoc-plugin</artifactId>
256 <id>non-aggregate</id>
258 <report>javadoc</report>
264 <report>aggregate</report>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>findbugs-maven-plugin</artifactId>
272 <version>2.4.0</version>
275 <threshold>Low</threshold>
282 <distributionManagement>
283 <!-- OpenDayLight Released artifact -->
285 <id>opendaylight-release</id>
286 <url>${nexusproxy}/repositories/opendaylight.release/</url>
288 <!-- OpenDayLight Snapshot artifact -->
290 <id>opendaylight-snapshot</id>
291 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
292 </snapshotRepository>
294 <id>wiki.opendaylight.org</id>
295 <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main/site</url>
297 </distributionManagement>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-compiler-plugin</artifactId>
304 <version>${maven.compiler.version}</version>
306 <source>${java.version.source}</source>
307 <target>${java.version.target}</target>
308 <testSource>${java.version.source}</testSource>
309 <testTarget>${java.version.target}</testTarget>
310 <showDeprecation>true</showDeprecation>
311 <showWarnings>true</showWarnings>
312 <optimize>true</optimize>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-surefire-plugin</artifactId>
318 <version>${surefire.version}</version>
320 <redirectTestOutputToFile>true</redirectTestOutputToFile>
321 <!--parallel>classes</parallel>
322 <forkCount>1C</forkCount>
323 <reuseForks>false</reuseForks>
324 <perCoreThreadCount>true</perCoreThreadCount-->
325 <threadCount>1</threadCount>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-dependency-plugin</artifactId>
332 <version>${dependency.version}</version>
334 <failOnWarning>true</failOnWarning>
335 <ignoreNonCompile>true</ignoreNonCompile>
339 <!-- Let eclipse know about the generated sources -->
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>build-helper-maven-plugin</artifactId>
342 <version>1.8</version>
345 <phase>generate-sources</phase>
347 <goal>add-source</goal>
351 <source>target/generated-sources/sal</source>
352 <source>target/generated-sources/config</source>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-source-plugin</artifactId>
364 <id>attach-sources</id>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-javadoc-plugin</artifactId>
377 <id>attach-javadocs</id>
385 <goal>aggregate</goal>
395 <!--This plugin's configuration is used to store Eclipse m2e settings
396 only. It has no influence on the Maven build itself. -->
398 <groupId>org.eclipse.m2e</groupId>
399 <artifactId>lifecycle-mapping</artifactId>
400 <version>1.0.0</version>
402 <lifecycleMappingMetadata>
405 <pluginExecutionFilter>
406 <groupId>pl.project13.maven</groupId>
407 <artifactId>git-commit-id-plugin</artifactId>
408 <versionRange>[2.1.4,)</versionRange>
410 <goal>revision</goal>
412 </pluginExecutionFilter>
418 <pluginExecutionFilter>
419 <groupId>org.opendaylight.yangtools</groupId>
420 <artifactId>yang-maven-plugin</artifactId>
421 <versionRange>[0.5,)</versionRange>
423 <goal>generate-sources</goal>
425 </pluginExecutionFilter>
431 </lifecycleMappingMetadata>
435 <!-- Our YANG->DTO generation plugin -->
437 <groupId>org.opendaylight.yangtools</groupId>
438 <artifactId>yang-maven-plugin</artifactId>
439 <version>${yangtools.version}</version>
443 <goal>generate-sources</goal>
446 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
450 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
451 </codeGeneratorClass>
453 target/generated-sources/sal
457 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
458 <outputBaseDir>target/site</outputBaseDir>
461 <inspectDependencies>true</inspectDependencies>
467 <groupId>org.opendaylight.yangtools</groupId>
468 <artifactId>maven-sal-api-gen-plugin</artifactId>
469 <version>${yang.binding.version}</version>
475 <!-- Maven site plugin -->
477 <artifactId>maven-site-plugin</artifactId>
478 <version>${maven.site.version}</version>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-javadoc-plugin</artifactId>
484 <version>2.9.1</version>
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-source-plugin</artifactId>
489 <version>2.2.1</version>
497 <id>opendaylight-release</id>
498 <name>opendaylight-release</name>
499 <url>${nexusproxy}/repositories/opendaylight.release/</url>
502 <id>opendaylight-snapshot</id>
503 <name>opendaylight-snapshot</name>
504 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
510 <id>opendaylight-release</id>
511 <name>opendaylight-release</name>
512 <url>${nexusproxy}/repositories/opendaylight.release/</url>
515 <id>opendaylight-snapshot</id>
516 <name>opendaylight-snapshot</name>
517 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
519 </pluginRepositories>