Update JUnit to 4.11
[jFCPlib.git] / pom.xml
1 <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/maven-v4_0_0.xsd">
2         <modelVersion>4.0.0</modelVersion>
3         <groupId>net.pterodactylus</groupId>
4         <artifactId>jFCPlib</artifactId>
5         <version>0.2-SNAPSHOT</version>
6         <name>jFCPlib</name>
7         <packaging>jar</packaging>
8         <distributionManagement>
9                 <repository>
10                         <id>pterodactylus</id>
11                         <name>pterodactylus.net Maven Repository</name>
12                         <url>scp://maven@maven.pterodactylus.net/home/maven/repository</url>
13                 </repository>
14         </distributionManagement>
15         <dependencies>
16                 <dependency>
17                         <groupId>junit</groupId>
18                         <artifactId>junit</artifactId>
19                         <version>4.11</version>
20                         <scope>test</scope>
21                 </dependency>
22                 <dependency>
23                         <groupId>com.google.guava</groupId>
24                         <artifactId>guava</artifactId>
25                         <version>16.0.1</version>
26                 </dependency>
27         </dependencies>
28         <repositories>
29                 <repository>
30                         <id>pterodactylus</id>
31                         <name>pterodactylus.net Maven Repository</name>
32                         <url>http://maven.pterodactylus.net</url>
33                 </repository>
34         </repositories>
35         <properties>
36                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37         </properties>
38         <build>
39                 <plugins>
40                         <plugin>
41                                 <groupId>org.apache.maven.plugins</groupId>
42                                 <artifactId>maven-compiler-plugin</artifactId>
43                                 <configuration>
44                                         <source>1.6</source>
45                                         <target>1.6</target>
46                                         <encoding>UTF-8</encoding>
47                                 </configuration>
48                         </plugin>
49                         <plugin>
50                                 <groupId>org.apache.maven.plugins</groupId>
51                                 <artifactId>maven-javadoc-plugin</artifactId>
52                                 <executions>
53                                         <execution>
54                                                 <id>attach-javadocs</id>
55                                                 <goals>
56                                                         <goal>jar</goal>
57                                                 </goals>
58                                         </execution>
59                                 </executions>
60                         </plugin>
61                         <plugin>
62                                 <groupId>org.apache.maven.plugins</groupId>
63                                 <artifactId>maven-source-plugin</artifactId>
64                                 <executions>
65                                         <execution>
66                                                 <id>attach-sources</id>
67                                                 <goals>
68                                                         <goal>jar</goal>
69                                                 </goals>
70                                         </execution>
71                                 </executions>
72                         </plugin>
73                         <plugin>
74                                 <groupId>org.jacoco</groupId>
75                                 <artifactId>jacoco-maven-plugin</artifactId>
76                                 <version>0.7.1.201405082137</version>
77                                 <executions>
78                                         <execution>
79                                                 <id>default-prepare-agent</id>
80                                                 <goals>
81                                                         <goal>prepare-agent</goal>
82                                                 </goals>
83                                         </execution>
84                                         <execution>
85                                                 <id>default-report</id>
86                                                 <phase>prepare-package</phase>
87                                                 <goals>
88                                                         <goal>report</goal>
89                                                 </goals>
90                                         </execution>
91                                         <execution>
92                                                 <id>default-check</id>
93                                                 <phase/>
94                                                 <goals>
95                                                         <goal>check</goal>
96                                                 </goals>
97                                                 <configuration>
98                                                         <rules>
99                                                                 <!--  implmentation is needed only for Maven 2  -->
100                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
101                                                                         <element>BUNDLE</element>
102                                                                         <limits>
103                                                                                 <!--  implmentation is needed only for Maven 2  -->
104                                                                                 <limit implementation="org.jacoco.report.check.Limit">
105                                                                                         <counter>COMPLEXITY</counter>
106                                                                                         <value>COVEREDRATIO</value>
107                                                                                         <minimum>0.60</minimum>
108                                                                                 </limit>
109                                                                         </limits>
110                                                                 </rule>
111                                                         </rules>
112                                                 </configuration>
113                                         </execution>
114                                 </executions>
115                         </plugin>
116                 </plugins>
117         </build>
118 </project>