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.protocol</groupId>
9 <artifactId>protocol-parent</artifactId>
10 <description>OpenDaylight BGP+PCEP protocol parent</description>
11 <version>0.1</version>
12 <packaging>pom</packaging>
14 <java.version.source>1.7</java.version.source>
15 <java.version.target>1.7</java.version.target>
16 <commons.io.version>2.4</commons.io.version>
17 <checkstyle.version>2.9.1</checkstyle.version>
18 <pmd.version>2.7.1</pmd.version>
19 <dependency.version>2.8</dependency.version>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <cxf.version>2.6.5</cxf.version>
22 <slf4j.version>1.7.2</slf4j.version>
23 <logback.version>1.0.7</logback.version>
24 <junit.version>4.10</junit.version>
25 <maven.compiler.version>2.5.1</maven.compiler.version>
26 <maven.bundle.version>2.3.7</maven.bundle.version>
27 <jgrapht.version>0.8.3-SNAPSHOT</jgrapht.version>
28 <surefire.version>2.14.1</surefire.version>
29 <commonscodec.version>1.7</commonscodec.version>
30 <guava.version>13.0.1</guava.version>
31 <osgi.version>5.0.0</osgi.version>
32 <osgi.compendium.version>4.0.0</osgi.compendium.version>
40 <module>concepts</module>
41 <module>framework</module>
42 <module>mockito-configuration</module>
49 <groupId>junit</groupId>
50 <artifactId>junit</artifactId>
51 <version>${junit.version}</version>
55 <groupId>ch.qos.logback</groupId>
56 <artifactId>logback-classic</artifactId>
57 <version>${logback.version}</version>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-javadoc-plugin</artifactId>
67 <version>2.8.1</version>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-checkstyle-plugin</artifactId>
72 <version>2.9.1</version>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-pmd-plugin</artifactId>
77 <version>${pmd.version}</version>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-antrun-plugin</artifactId>
82 <version>${maven.antrun.version}</version>
87 <distributionManagement>
89 <id>${project.artifactId}</id>
90 <name>NPS-APPLICATION Project site</name>
91 <url>${basedir}/target/site/${project.artifactId}</url>
93 <!-- mock repository to allow deploy phase without real deployment -->
96 <name>Target folder as mock repository</name>
97 <url>file://${basedir}/target/deploy</url>
99 </distributionManagement>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-compiler-plugin</artifactId>
106 <version>${maven.compiler.version}</version>
108 <source>${java.version.source}</source>
109 <target>${java.version.target}</target>
110 <testSource>${java.version.source}</testSource>
111 <testTarget>${java.version.target}</testTarget>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-checkstyle-plugin</artifactId>
117 <version>2.9.1</version>
119 <configLocation>build/checkstyle/checkstyle-checker.xml</configLocation>
120 <outputDirectory>${basedir}/target/checkstyle/report</outputDirectory>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-surefire-plugin</artifactId>
126 <version>${surefire.version}</version>
128 <redirectTestOutputToFile>true</redirectTestOutputToFile>
129 <parallel>classes</parallel>
130 <forkCount>1C</forkCount>
131 <reuseForks>false</reuseForks>
132 <perCoreThreadCount>true</perCoreThreadCount>
133 <threadCount>2</threadCount>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-pmd-plugin</artifactId>
140 <version>${pmd.version}</version>
142 <targetJdk>${java.version.target}</targetJdk>
144 <ruleset>rulesets/basic.xml</ruleset>
145 <ruleset>rulesets/finalizers.xml</ruleset>
146 <ruleset>rulesets/imports.xml</ruleset>
147 <ruleset>rulesets/junit.xml</ruleset>
148 <!--ruleset>rulesets/optimizations.xml</ruleset -->
149 <ruleset>rulesets/strings.xml</ruleset>
150 <ruleset>rulesets/unusedcode.xml</ruleset>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-dependency-plugin</artifactId>
157 <version>${dependency.version}</version>
159 <!--failOnWarning>true</failOnWarning -->
160 <ignoreNonCompile>true</ignoreNonCompile>
164 <groupId>org.fusesource.mvnplugins</groupId>
165 <artifactId>maven-graph-plugin</artifactId>
166 <version>1.4</version>
169 <groupId>org.codehaus.mojo</groupId>
170 <artifactId>build-helper-maven-plugin</artifactId>
171 <version>1.8</version>
176 <!--This plugin's configuration is used to store Eclipse m2e settings
177 only. It has no influence on the Maven build itself. -->
179 <groupId>org.eclipse.m2e</groupId>
180 <artifactId>lifecycle-mapping</artifactId>
181 <version>1.0.0</version>
183 <lifecycleMappingMetadata>
186 <pluginExecutionFilter>
187 <groupId>pl.project13.maven</groupId>
188 <artifactId>git-commit-id-plugin</artifactId>
193 <goal>revision</goal>
195 </pluginExecutionFilter>
201 </lifecycleMappingMetadata>
210 <id>mvnplugins.fusesource.org</id>
211 <url>http://mvnplugins.fusesource.org/repo/release</url>
213 <enabled>true</enabled>
216 </pluginRepositories>