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.6.0-SNAPSHOT</version>
23 <relativePath></relativePath>
26 <groupId>org.opendaylight.bgpcep</groupId>
27 <artifactId>bgpcep-parent</artifactId>
28 <name>BGPCEP common parent</name>
29 <version>0.5.0-SNAPSHOT</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.8.0-SNAPSHOT</yangtools.version>
50 <!-- MD-SAL artifacts -->
51 <mdsal.version>2.0.0-SNAPSHOT</mdsal.version>
52 <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
54 <!-- Controller artifacts -->
55 <controller.config.version>0.4.0-SNAPSHOT</controller.config.version>
56 <controller.framework.version>0.7.0-SNAPSHOT</controller.framework.version>
57 <controller.mdsal.version>1.3.0-SNAPSHOT</controller.mdsal.version>
59 <!-- Netconf artifacts -->
60 <netconf.version>1.0.0-SNAPSHOT</netconf.version>
62 <!-- TCP-MD5 artifacts -->
63 <tcpmd5.version>1.2.0-SNAPSHOT</tcpmd5.version>
65 <bgpcep.version>0.5.0-SNAPSHOT</bgpcep.version>
68 <dependencyManagement>
71 <groupId>org.opendaylight.bgpcep</groupId>
72 <artifactId>bgpcep-artifacts</artifactId>
73 <version>${bgpcep.version}</version>
78 <!-- TCP/MD5 support -->
80 <groupId>org.opendaylight.tcpmd5</groupId>
81 <artifactId>tcpmd5-artifacts</artifactId>
82 <version>${tcpmd5.version}</version>
89 <groupId>org.opendaylight.yangtools</groupId>
90 <artifactId>yangtools-artifacts</artifactId>
91 <version>${yangtools.version}</version>
98 <groupId>org.opendaylight.mdsal</groupId>
99 <artifactId>mdsal-artifacts</artifactId>
100 <version>${mdsal.version}</version>
101 <scope>import</scope>
105 <groupId>org.opendaylight.mdsal.model</groupId>
106 <artifactId>mdsal-model-artifacts</artifactId>
107 <version>${mdsal.model.version}</version>
108 <scope>import</scope>
112 <!-- Controller infrastructure -->
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>mdsal-artifacts</artifactId>
116 <version>${controller.mdsal.version}</version>
117 <scope>import</scope>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>config-artifacts</artifactId>
123 <version>${controller.config.version}</version>
124 <scope>import</scope>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>protocol-framework</artifactId>
131 <version>${controller.framework.version}</version>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>protocol-framework</artifactId>
136 <version>${controller.framework.version}</version>
137 <type>test-jar</type>
141 </dependencyManagement>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-project-info-reports-plugin</artifactId>
148 <version>${maven.info.reports.version}</version>
152 <report>dependency-info</report>
153 <report>license</report>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-javadoc-plugin</artifactId>
161 <version>${maven.javadoc.version}</version>
164 <id>non-aggregate</id>
166 <report>javadoc</report>
172 <groupId>org.codehaus.mojo</groupId>
173 <artifactId>findbugs-maven-plugin</artifactId>
174 <version>2.4.0</version>
177 <threshold>Low</threshold>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-compiler-plugin</artifactId>
190 <source>${java.version.source}</source>
191 <target>${java.version.target}</target>
192 <testSource>${java.version.source}</testSource>
193 <testTarget>${java.version.target}</testTarget>
194 <showDeprecation>true</showDeprecation>
195 <showWarnings>true</showWarnings>
196 <optimize>true</optimize>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-surefire-plugin</artifactId>
203 <redirectTestOutputToFile>true</redirectTestOutputToFile>
204 <!--parallel>classes</parallel>
205 <forkCount>1C</forkCount>
206 <perCoreThreadCount>true</perCoreThreadCount-->
207 <runOrder>alphabetical</runOrder>
208 <threadCount>1</threadCount>
209 <reuseForks>false</reuseForks>
210 <!-- Specific to generate mapping between tests and covered code -->
213 <name>listener</name>
214 <value>org.sonar.java.jacoco.JUnitListener</value>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-dependency-plugin</artifactId>
224 <failOnWarning>true</failOnWarning>
225 <ignoreNonCompile>true</ignoreNonCompile>
229 <!-- Let eclipse know about the generated sources -->
230 <groupId>org.codehaus.mojo</groupId>
231 <artifactId>build-helper-maven-plugin</artifactId>
234 <phase>generate-sources</phase>
236 <goal>add-source</goal>
240 <source>target/generated-sources/sal</source>
241 <source>target/generated-sources/config</source>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-checkstyle-plugin</artifactId>
251 <failOnViolation>true</failOnViolation>
252 <configLocation>checkstyle-logging.xml</configLocation>
253 <consoleOutput>true</consoleOutput>
254 <includeTestSourceDirectory>true</includeTestSourceDirectory>
255 <sourceDirectory>${project.basedir}</sourceDirectory>
256 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
257 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/.m2repo\/</excludes>
261 <groupId>org.opendaylight.yangtools</groupId>
262 <artifactId>checkstyle-logging</artifactId>
263 <version>${yangtools.version}</version>
275 <groupId>org.jacoco</groupId>
276 <artifactId>jacoco-maven-plugin</artifactId>
279 <id>prepare-ut-agent</id>
280 <phase>process-test-classes</phase>
282 <goal>prepare-agent</goal>
285 <destFile>${sonar.jacoco.reportPath}</destFile>
289 <id>prepare-it-agent</id>
290 <phase>pre-integration-test</phase>
292 <goal>prepare-agent</goal>
295 <destFile>${sonar.jacoco.itReportPath}</destFile>
301 <artifactId>maven-javadoc-plugin</artifactId>
304 <artifactId>maven-source-plugin</artifactId>
310 <!--This plugin's configuration is used to store Eclipse m2e settings
311 only. It has no influence on the Maven build itself. -->
313 <groupId>org.eclipse.m2e</groupId>
314 <artifactId>lifecycle-mapping</artifactId>
315 <version>1.0.0</version>
317 <lifecycleMappingMetadata>
320 <pluginExecutionFilter>
321 <groupId>pl.project13.maven</groupId>
322 <artifactId>git-commit-id-plugin</artifactId>
323 <versionRange>[2.1.4,)</versionRange>
325 <goal>revision</goal>
327 </pluginExecutionFilter>
333 <pluginExecutionFilter>
334 <groupId>org.opendaylight.yangtools</groupId>
335 <artifactId>yang-maven-plugin</artifactId>
336 <versionRange>[0.5,)</versionRange>
338 <goal>generate-sources</goal>
340 </pluginExecutionFilter>
346 <pluginExecutionFilter>
347 <groupId>org.jacoco</groupId>
348 <artifactId>jacoco-maven-plugin</artifactId>
349 <versionRange>[0.6,)</versionRange>
351 <goal>prepare-agent</goal>
353 </pluginExecutionFilter>
359 <pluginExecutionFilter>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-checkstyle-plugin</artifactId>
362 <versionRange>[2.13,)</versionRange>
366 </pluginExecutionFilter>
372 </lifecycleMappingMetadata>
376 <!-- Our YANG->DTO generation plugin -->
378 <groupId>org.opendaylight.yangtools</groupId>
379 <artifactId>yang-maven-plugin</artifactId>
380 <version>${yangtools.version}</version>
384 <goal>generate-sources</goal>
387 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
391 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
392 </codeGeneratorClass>
394 target/generated-sources/sal
398 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
399 <outputBaseDir>target/site</outputBaseDir>
402 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
403 <outputBaseDir>target/site</outputBaseDir>
407 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
408 </codeGeneratorClass>
409 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
410 <additionalConfiguration>
411 <namespaceToPackage1>
412 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
413 </namespaceToPackage1>
414 </additionalConfiguration>
417 <inspectDependencies>true</inspectDependencies>
423 <groupId>org.opendaylight.mdsal</groupId>
424 <artifactId>maven-sal-api-gen-plugin</artifactId>
425 <version>${yangtools.version}</version>
429 <groupId>org.opendaylight.controller</groupId>
430 <artifactId>yang-jmx-generator-plugin</artifactId>
431 <version>${controller.config.version}</version>