1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set 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 <name>OpenDaylight protocols</name>
7 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.opendaylight.bgpcep</groupId>
9 <artifactId>protocol-parent</artifactId>
10 <description>OpenDaylight BGP+PCEP protocol parent</description>
11 <version>0.3.0-SNAPSHOT</version>
12 <packaging>pom</packaging>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <commonscodec.version>1.7</commonscodec.version>
17 <dependency.version>2.8</dependency.version>
18 <guava.version>14.0.1</guava.version>
19 <java.version.source>1.7</java.version.source>
20 <java.version.target>1.7</java.version.target>
21 <junit.version>4.10</junit.version>
22 <logback.version>1.0.7</logback.version>
23 <maven.bundle.version>2.4.0</maven.bundle.version>
24 <maven.compiler.version>3.1</maven.compiler.version>
25 <maven.jar.version>2.4</maven.jar.version>
26 <maven.shade.version>2.1</maven.shade.version>
27 <mockito.version>1.9.5</mockito.version>
28 <netty.version>4.0.10.Final</netty.version>
29 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
30 <slf4j.version>1.7.2</slf4j.version>
31 <surefire.version>2.15</surefire.version>
32 <osgi.version>5.0.0</osgi.version>
34 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
35 <controller.config.version>0.2.3-SNAPSHOT</controller.config.version>
36 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
37 <ietf.types.version>2010.09.24.1</ietf.types.version>
45 <module>concepts</module>
46 <module>framework</module>
47 <module>mockito-configuration</module>
53 <module>programming</module>
55 <module>topology</module>
57 <!-- Integration tests -->
58 <module>integration-tests</module>
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>${project.groupId}</groupId>
95 <artifactId>mockito-configuration</artifactId>
96 <version>${project.version}</version>
100 <!-- Supporting Libraries -->
102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-api</artifactId>
104 <version>${slf4j.version}</version>
107 <groupId>com.google.guava</groupId>
108 <artifactId>guava</artifactId>
109 <version>${guava.version}</version>
112 <groupId>com.google.code.findbugs</groupId>
113 <artifactId>jsr305</artifactId>
114 <version>2.0.1</version>
119 <groupId>io.netty</groupId>
120 <artifactId>netty-buffer</artifactId>
121 <version>${netty.version}</version>
124 <groupId>io.netty</groupId>
125 <artifactId>netty-codec</artifactId>
126 <version>${netty.version}</version>
129 <groupId>io.netty</groupId>
130 <artifactId>netty-common</artifactId>
131 <version>${netty.version}</version>
134 <groupId>io.netty</groupId>
135 <artifactId>netty-transport</artifactId>
136 <version>${netty.version}</version>
141 <groupId>org.opendaylight.yangtools</groupId>
142 <artifactId>yang-binding</artifactId>
143 <version>${yang.binding.version}</version>
146 <groupId>org.opendaylight.yangtools</groupId>
147 <artifactId>yang-common</artifactId>
148 <version>${yangtools.version}</version>
151 <!-- Controller infrastructure -->
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>config-api</artifactId>
155 <version>${controller.config.version}</version>
160 <groupId>org.osgi</groupId>
161 <artifactId>org.osgi.core</artifactId>
162 <version>${osgi.version}</version>
163 <scope>provided</scope>
166 </dependencyManagement>
170 <groupId>ch.qos.logback</groupId>
171 <artifactId>logback-classic</artifactId>
172 <version>${logback.version}</version>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-javadoc-plugin</artifactId>
182 <version>2.9.1</version>
187 <distributionManagement>
188 <!-- OpenDayLight Released artifact -->
190 <id>opendaylight-release</id>
191 <url>${nexusproxy}/repositories/opendaylight.release/</url>
193 <!-- OpenDayLight Snapshot artifact -->
195 <id>opendaylight-snapshot</id>
196 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
197 </snapshotRepository>
199 <id>${project.artifactId}-site</id>
202 </distributionManagement>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>${maven.compiler.version}</version>
211 <source>${java.version.source}</source>
212 <target>${java.version.target}</target>
213 <testSource>${java.version.source}</testSource>
214 <testTarget>${java.version.target}</testTarget>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-surefire-plugin</artifactId>
220 <version>${surefire.version}</version>
222 <redirectTestOutputToFile>true</redirectTestOutputToFile>
223 <!--parallel>classes</parallel>
224 <forkCount>1C</forkCount>
225 <reuseForks>false</reuseForks>
226 <perCoreThreadCount>true</perCoreThreadCount-->
227 <threadCount>1</threadCount>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-dependency-plugin</artifactId>
234 <version>${dependency.version}</version>
236 <failOnWarning>true</failOnWarning>
237 <ignoreNonCompile>true</ignoreNonCompile>
241 <!-- Let eclipse know about the generated sources -->
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>build-helper-maven-plugin</artifactId>
244 <version>1.8</version>
247 <phase>generate-sources</phase>
249 <goal>add-source</goal>
253 <source>target/generated-sources/sal</source>
254 <source>target/generated-sources/config</source>
263 <!--This plugin's configuration is used to store Eclipse m2e settings
264 only. It has no influence on the Maven build itself. -->
266 <groupId>org.eclipse.m2e</groupId>
267 <artifactId>lifecycle-mapping</artifactId>
268 <version>1.0.0</version>
270 <lifecycleMappingMetadata>
273 <pluginExecutionFilter>
274 <groupId>pl.project13.maven</groupId>
275 <artifactId>git-commit-id-plugin</artifactId>
276 <versionRange>[2.1.4,)</versionRange>
278 <goal>revision</goal>
280 </pluginExecutionFilter>
286 <pluginExecutionFilter>
287 <groupId>org.opendaylight.yangtools</groupId>
288 <artifactId>yang-maven-plugin</artifactId>
289 <versionRange>[0.5,)</versionRange>
291 <goal>generate-sources</goal>
293 </pluginExecutionFilter>
299 </lifecycleMappingMetadata>
303 <!-- Our YANG->DTO generation plugin -->
305 <groupId>org.opendaylight.yangtools</groupId>
306 <artifactId>yang-maven-plugin</artifactId>
307 <version>${yangtools.version}</version>
311 <goal>generate-sources</goal>
314 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
318 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
319 </codeGeneratorClass>
321 target/generated-sources/sal
325 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
326 <outputBaseDir>target/generated-sources/site</outputBaseDir>
329 <inspectDependencies>true</inspectDependencies>
335 <groupId>org.opendaylight.yangtools</groupId>
336 <artifactId>maven-sal-api-gen-plugin</artifactId>
337 <version>${yang.binding.version}</version>
349 <id>opendaylight-release</id>
350 <name>opendaylight-release</name>
351 <url>${nexusproxy}/repositories/opendaylight.release/</url>
354 <id>opendaylight-snapshot</id>
355 <name>opendaylight-snapshot</name>
356 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
362 <id>opendaylight-release</id>
363 <name>opendaylight-release</name>
364 <url>${nexusproxy}/repositories/opendaylight.release/</url>
367 <id>opendaylight-snapshot</id>
368 <name>opendaylight-snapshot</name>
369 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
371 </pluginRepositories>