Remove checkstyle plugin
[bgpcep.git] / pom.xml
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>
6         <url>index.html</url>
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>
13         <properties>
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                 <pmd.version>2.7.1</pmd.version>
18                 <dependency.version>2.8</dependency.version>
19                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20                 <cxf.version>2.6.5</cxf.version>
21                 <slf4j.version>1.7.2</slf4j.version>
22                 <logback.version>1.0.7</logback.version>
23                 <junit.version>4.10</junit.version>
24                 <maven.compiler.version>2.5.1</maven.compiler.version>
25                 <maven.bundle.version>2.3.7</maven.bundle.version>
26                 <jgrapht.version>0.8.3-SNAPSHOT</jgrapht.version>
27                 <surefire.version>2.14.1</surefire.version>
28                 <commonscodec.version>1.7</commonscodec.version>
29                 <guava.version>13.0.1</guava.version>
30                 <osgi.version>5.0.0</osgi.version>
31                 <osgi.compendium.version>4.0.0</osgi.compendium.version>
32         </properties>
33         <prerequisites>
34                 <maven>3.0.4</maven>
35         </prerequisites>
36
37         <modules>
38                 <module>bgp</module>
39                 <module>concepts</module>
40                 <module>framework</module>
41                 <module>mockito-configuration</module>
42                 <module>pcep</module>
43                 <module>util</module>
44         </modules>
45
46         <dependencies>
47                 <dependency>
48                         <groupId>junit</groupId>
49                         <artifactId>junit</artifactId>
50                         <version>${junit.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53                 <dependency>
54                         <groupId>ch.qos.logback</groupId>
55                         <artifactId>logback-classic</artifactId>
56                         <version>${logback.version}</version>
57                         <scope>test</scope>
58                 </dependency>
59         </dependencies>
60         
61         <reporting>
62                 <plugins>
63                         <plugin>
64                                 <groupId>org.apache.maven.plugins</groupId>
65                                 <artifactId>maven-javadoc-plugin</artifactId>
66                                 <version>2.8.1</version>
67                         </plugin>
68                         <plugin>
69                                 <groupId>org.apache.maven.plugins</groupId>
70                                 <artifactId>maven-pmd-plugin</artifactId>
71                                 <version>${pmd.version}</version>
72                         </plugin>
73                         <plugin>
74                                 <groupId>org.apache.maven.plugins</groupId>
75                                 <artifactId>maven-antrun-plugin</artifactId>
76                                 <version>${maven.antrun.version}</version>
77                         </plugin>
78                 </plugins>
79         </reporting>
80
81         <distributionManagement>
82                 <site>
83                         <id>${project.artifactId}</id>
84                         <name>NPS-APPLICATION Project site</name>
85                         <url>${basedir}/target/site/${project.artifactId}</url>
86                 </site>
87                 <!-- mock repository to allow deploy phase without real deployment -->
88                 <repository>
89                         <id>targetRepo</id>
90                         <name>Target folder as mock repository</name>
91                         <url>file://${basedir}/target/deploy</url>
92                 </repository>
93         </distributionManagement>
94
95         <build>
96                 <plugins>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-compiler-plugin</artifactId>
100                                 <version>${maven.compiler.version}</version>
101                                 <configuration>
102                                         <source>${java.version.source}</source>
103                                         <target>${java.version.target}</target>
104                                         <testSource>${java.version.source}</testSource>
105                                         <testTarget>${java.version.target}</testTarget>
106                                 </configuration>
107                         </plugin>
108                         <plugin>
109                                 <groupId>org.apache.maven.plugins</groupId>
110                                 <artifactId>maven-surefire-plugin</artifactId>
111                                 <version>${surefire.version}</version>
112                                 <configuration>
113                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
114                                         <parallel>classes</parallel>
115                                         <forkCount>1C</forkCount>
116                                         <reuseForks>false</reuseForks>
117                                         <perCoreThreadCount>true</perCoreThreadCount>
118                                         <threadCount>2</threadCount>
119                                 </configuration>
120                         </plugin>
121
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-pmd-plugin</artifactId>
125                                 <version>${pmd.version}</version>
126                                 <configuration>
127                                         <targetJdk>${java.version.target}</targetJdk>
128                                         <rulesets>
129                                                 <ruleset>rulesets/basic.xml</ruleset>
130                                                 <ruleset>rulesets/finalizers.xml</ruleset>
131                                                 <ruleset>rulesets/imports.xml</ruleset>
132                                                 <ruleset>rulesets/junit.xml</ruleset>
133                                                 <!--ruleset>rulesets/optimizations.xml</ruleset -->
134                                                 <ruleset>rulesets/strings.xml</ruleset>
135                                                 <ruleset>rulesets/unusedcode.xml</ruleset>
136                                         </rulesets>
137                                 </configuration>
138                         </plugin>
139                         <plugin>
140                                 <groupId>org.apache.maven.plugins</groupId>
141                                 <artifactId>maven-dependency-plugin</artifactId>
142                                 <version>${dependency.version}</version>
143                                 <configuration>
144                                         <!--failOnWarning>true</failOnWarning -->
145                                         <ignoreNonCompile>true</ignoreNonCompile>
146                                 </configuration>
147                         </plugin>
148                         <plugin>
149                                 <groupId>org.fusesource.mvnplugins</groupId>
150                                 <artifactId>maven-graph-plugin</artifactId>
151                                 <version>1.4</version>
152                         </plugin>
153                         <plugin>
154                                 <groupId>org.codehaus.mojo</groupId>
155                                 <artifactId>build-helper-maven-plugin</artifactId>
156                                 <version>1.8</version>
157                         </plugin>
158                 </plugins>
159                 <pluginManagement>
160                         <plugins>
161                                 <!--This plugin's configuration is used to store Eclipse m2e settings
162                                         only. It has no influence on the Maven build itself. -->
163                                 <plugin>
164                                         <groupId>org.eclipse.m2e</groupId>
165                                         <artifactId>lifecycle-mapping</artifactId>
166                                         <version>1.0.0</version>
167                                         <configuration>
168                                                 <lifecycleMappingMetadata>
169                                                         <pluginExecutions>
170                                                                 <pluginExecution>
171                                                                         <pluginExecutionFilter>
172                                                                                 <groupId>pl.project13.maven</groupId>
173                                                                                 <artifactId>git-commit-id-plugin</artifactId>
174                                                                                 <versionRange>
175                                                                                         [2.1.4,)
176                                                                                 </versionRange>
177                                                                                 <goals>
178                                                                                         <goal>revision</goal>
179                                                                                 </goals>
180                                                                         </pluginExecutionFilter>
181                                                                         <action>
182                                                                                 <ignore></ignore>
183                                                                         </action>
184                                                                 </pluginExecution>
185                                                         </pluginExecutions>
186                                                 </lifecycleMappingMetadata>
187                                         </configuration>
188                                 </plugin>
189                         </plugins>
190                 </pluginManagement>
191         </build>
192
193         <pluginRepositories>
194                 <pluginRepository>
195                         <id>mvnplugins.fusesource.org</id>
196                         <url>http://mvnplugins.fusesource.org/repo/release</url>
197                         <releases>
198                                 <enabled>true</enabled>
199                         </releases>
200                 </pluginRepository>
201         </pluginRepositories>
202 </project>