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
11 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
14 <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
15 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
16 <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
20 <groupId>org.opendaylight.odlparent</groupId>
21 <artifactId>odlparent</artifactId>
22 <version>1.5.3-Lithium-SR3</version>
23 <relativePath></relativePath>
26 <groupId>org.opendaylight.bgpcep</groupId>
27 <artifactId>bgpcep-parent</artifactId>
28 <name>BGPCEP common parent</name>
29 <version>0.4.3-Lithium-SR3</version>
30 <packaging>pom</packaging>
34 <name>The Eclipse Public License v1.0</name>
35 <url>http://www.eclipse.org/legal/epl-v10.html</url>
36 <distribution>repo</distribution>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
43 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
45 <maven.info.reports.version>2.7</maven.info.reports.version>
47 <!-- YANG tools artifacts -->
48 <yangtools.version>0.7.3-Lithium-SR3</yangtools.version>
50 <!-- Controller artifacts -->
51 <controller.config.version>0.3.3-Lithium-SR3</controller.config.version>
52 <controller.framework.version>0.6.3-Lithium-SR3</controller.framework.version>
53 <controller.mdsal.version>1.2.3-Lithium-SR3</controller.mdsal.version>
55 <!-- TCP-MD5 artifacts -->
56 <tcpmd5.version>1.1.3-Lithium-SR3</tcpmd5.version>
58 <bgpcep.version>0.4.3-Lithium-SR3</bgpcep.version>
61 <dependencyManagement>
64 <groupId>org.opendaylight.bgpcep</groupId>
65 <artifactId>bgpcep-artifacts</artifactId>
66 <version>${bgpcep.version}</version>
71 <!-- TCP/MD5 support -->
73 <groupId>org.opendaylight.tcpmd5</groupId>
74 <artifactId>tcpmd5-artifacts</artifactId>
75 <version>${tcpmd5.version}</version>
82 <groupId>org.opendaylight.yangtools</groupId>
83 <artifactId>yangtools-artifacts</artifactId>
84 <version>${yangtools.version}</version>
89 <!-- Controller infrastructure -->
91 <groupId>org.opendaylight.controller</groupId>
92 <artifactId>mdsal-artifacts</artifactId>
93 <version>${controller.mdsal.version}</version>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>config-artifacts</artifactId>
100 <version>${controller.config.version}</version>
101 <scope>import</scope>
106 <groupId>org.opendaylight.controller</groupId>
107 <artifactId>protocol-framework</artifactId>
108 <version>${controller.framework.version}</version>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>protocol-framework</artifactId>
113 <version>${controller.framework.version}</version>
114 <type>test-jar</type>
118 </dependencyManagement>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-project-info-reports-plugin</artifactId>
125 <version>${maven.info.reports.version}</version>
129 <report>dependency-info</report>
130 <report>license</report>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-javadoc-plugin</artifactId>
138 <version>${maven.javadoc.version}</version>
141 <id>non-aggregate</id>
143 <report>javadoc</report>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>findbugs-maven-plugin</artifactId>
151 <version>2.4.0</version>
154 <threshold>Low</threshold>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-compiler-plugin</artifactId>
167 <source>${java.version.source}</source>
168 <target>${java.version.target}</target>
169 <testSource>${java.version.source}</testSource>
170 <testTarget>${java.version.target}</testTarget>
171 <showDeprecation>true</showDeprecation>
172 <showWarnings>true</showWarnings>
173 <optimize>true</optimize>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-surefire-plugin</artifactId>
180 <redirectTestOutputToFile>true</redirectTestOutputToFile>
181 <!--parallel>classes</parallel>
182 <forkCount>1C</forkCount>
183 <perCoreThreadCount>true</perCoreThreadCount-->
184 <runOrder>alphabetical</runOrder>
185 <threadCount>1</threadCount>
186 <reuseForks>false</reuseForks>
187 <!-- Specific to generate mapping between tests and covered code -->
190 <name>listener</name>
191 <value>org.sonar.java.jacoco.JUnitListener</value>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-dependency-plugin</artifactId>
201 <failOnWarning>true</failOnWarning>
202 <ignoreNonCompile>true</ignoreNonCompile>
206 <!-- Let eclipse know about the generated sources -->
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>build-helper-maven-plugin</artifactId>
211 <phase>generate-sources</phase>
213 <goal>add-source</goal>
217 <source>target/generated-sources/sal</source>
218 <source>target/generated-sources/config</source>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-checkstyle-plugin</artifactId>
228 <failOnViolation>true</failOnViolation>
229 <configLocation>checkstyle-logging.xml</configLocation>
230 <consoleOutput>true</consoleOutput>
231 <includeTestSourceDirectory>true</includeTestSourceDirectory>
232 <sourceDirectory>${project.basedir}</sourceDirectory>
233 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
234 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/.m2repo\/</excludes>
238 <groupId>org.opendaylight.yangtools</groupId>
239 <artifactId>checkstyle-logging</artifactId>
240 <version>${yangtools.version}</version>
252 <groupId>org.jacoco</groupId>
253 <artifactId>jacoco-maven-plugin</artifactId>
256 <id>prepare-ut-agent</id>
257 <phase>process-test-classes</phase>
259 <goal>prepare-agent</goal>
262 <destFile>${sonar.jacoco.reportPath}</destFile>
266 <id>prepare-it-agent</id>
267 <phase>pre-integration-test</phase>
269 <goal>prepare-agent</goal>
272 <destFile>${sonar.jacoco.itReportPath}</destFile>
278 <artifactId>maven-javadoc-plugin</artifactId>
281 <artifactId>maven-source-plugin</artifactId>
287 <!--This plugin's configuration is used to store Eclipse m2e settings
288 only. It has no influence on the Maven build itself. -->
290 <groupId>org.eclipse.m2e</groupId>
291 <artifactId>lifecycle-mapping</artifactId>
292 <version>1.0.0</version>
294 <lifecycleMappingMetadata>
297 <pluginExecutionFilter>
298 <groupId>pl.project13.maven</groupId>
299 <artifactId>git-commit-id-plugin</artifactId>
300 <versionRange>[2.1.4,)</versionRange>
302 <goal>revision</goal>
304 </pluginExecutionFilter>
310 <pluginExecutionFilter>
311 <groupId>org.opendaylight.yangtools</groupId>
312 <artifactId>yang-maven-plugin</artifactId>
313 <versionRange>[0.5,)</versionRange>
315 <goal>generate-sources</goal>
317 </pluginExecutionFilter>
323 <pluginExecutionFilter>
324 <groupId>org.jacoco</groupId>
325 <artifactId>jacoco-maven-plugin</artifactId>
326 <versionRange>[0.6,)</versionRange>
328 <goal>prepare-agent</goal>
330 </pluginExecutionFilter>
336 <pluginExecutionFilter>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-checkstyle-plugin</artifactId>
339 <versionRange>[2.13,)</versionRange>
343 </pluginExecutionFilter>
349 </lifecycleMappingMetadata>
353 <!-- Our YANG->DTO generation plugin -->
355 <groupId>org.opendaylight.yangtools</groupId>
356 <artifactId>yang-maven-plugin</artifactId>
357 <version>${yangtools.version}</version>
361 <goal>generate-sources</goal>
364 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
368 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
369 </codeGeneratorClass>
371 target/generated-sources/sal
375 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
376 <outputBaseDir>target/site</outputBaseDir>
379 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
380 <outputBaseDir>target/site</outputBaseDir>
384 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
385 </codeGeneratorClass>
386 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
387 <additionalConfiguration>
388 <namespaceToPackage1>
389 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
390 </namespaceToPackage1>
391 </additionalConfiguration>
394 <inspectDependencies>true</inspectDependencies>
400 <groupId>org.opendaylight.yangtools</groupId>
401 <artifactId>maven-sal-api-gen-plugin</artifactId>
402 <version>${yangtools.version}</version>
406 <groupId>org.opendaylight.controller</groupId>
407 <artifactId>yang-jmx-generator-plugin</artifactId>
408 <version>${controller.config.version}</version>