Remove Emma reporting plugin, enable JaCoCo plugin.
[rhynodge.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>net.pterodactylus</groupId>
5         <artifactId>rhynodge</artifactId>
6         <version>0.1</version>
7         <properties>
8                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9         </properties>
10         <build>
11                 <plugins>
12                         <plugin>
13                                 <groupId>org.codehaus.mojo</groupId>
14                                 <artifactId>findbugs-maven-plugin</artifactId>
15                                 <version>2.5.2</version>
16                                 <configuration>
17                                         <timeout>${findbugs.timeout}</timeout>
18                                 </configuration>
19                         </plugin>
20                         <plugin>
21                                 <artifactId>maven-compiler-plugin</artifactId>
22                                 <version>2.3.2</version>
23                                 <configuration>
24                                         <source>1.8</source>
25                                         <target>1.8</target>
26                                 </configuration>
27                         </plugin>
28                         <plugin>
29                                 <groupId>org.apache.maven.plugins</groupId>
30                                 <artifactId>maven-assembly-plugin</artifactId>
31                                 <version>2.2-beta-5</version>
32                                 <configuration>
33                                         <descriptorRefs>
34                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
35                                         </descriptorRefs>
36                                         <archiverConfig>
37                                                 <duplicateBehavior>skip</duplicateBehavior>
38                                         </archiverConfig>
39                                         <archive>
40                                                 <manifest>
41                                                         <mainClass>net.pterodactylus.rhynodge.engine.Starter</mainClass>
42                                                 </manifest>
43                                         </archive>
44                                 </configuration>
45                                 <executions>
46                                         <execution>
47                                                 <id>make-assembly</id>
48                                                 <phase>package</phase>
49                                                 <goals>
50                                                         <goal>single</goal>
51                                                 </goals>
52                                         </execution>
53                                 </executions>
54                         </plugin>
55                         <plugin>
56                                 <groupId>org.codehaus.mojo</groupId>
57                                 <artifactId>exec-maven-plugin</artifactId>
58                                 <version>1.2.1</version>
59                                 <configuration>
60                                         <mainClass>net.pterodactylus.rhynodge.engine.Starter</mainClass>
61                                 </configuration>
62                         </plugin>
63                         <plugin>
64                                 <groupId>org.jacoco</groupId>
65                                 <artifactId>jacoco-maven-plugin</artifactId>
66                                 <version>0.7.1.201405082137</version>
67                                 <executions>
68                                         <execution>
69                                                 <id>default-prepare-agent</id>
70                                                 <goals>
71                                                         <goal>prepare-agent</goal>
72                                                 </goals>
73                                         </execution>
74                                         <execution>
75                                                 <id>default-report</id>
76                                                 <phase>prepare-package</phase>
77                                                 <goals>
78                                                         <goal>report</goal>
79                                                 </goals>
80                                         </execution>
81                                         <execution>
82                                                 <id>default-check</id>
83                                                 <goals>
84                                                         <goal>check</goal>
85                                                 </goals>
86                                                 <configuration>
87                                                         <rules>
88                                                                 <!--  implmentation is needed only for Maven 2  -->
89                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
90                                                                         <element>BUNDLE</element>
91                                                                         <limits>
92                                                                                 <!--  implmentation is needed only for Maven 2  -->
93                                                                                 <limit implementation="org.jacoco.report.check.Limit">
94                                                                                         <counter>COMPLEXITY</counter>
95                                                                                         <value>COVEREDRATIO</value>
96                                                                                         <minimum>0.60</minimum>
97                                                                                 </limit>
98                                                                         </limits>
99                                                                 </rule>
100                                                         </rules>
101                                                 </configuration>
102                                         </execution>
103                                 </executions>
104                         </plugin>
105                 </plugins>
106         </build>
107
108         <dependencies>
109                 <dependency>
110                         <groupId>junit</groupId>
111                         <artifactId>junit</artifactId>
112                         <version>4.11</version>
113                         <scope>test</scope>
114                 </dependency>
115                 <dependency>
116                         <groupId>org.hamcrest</groupId>
117                         <artifactId>hamcrest-library</artifactId>
118                         <version>1.3</version>
119                         <scope>test</scope>
120                 </dependency>
121                 <dependency>
122                         <groupId>org.mockito</groupId>
123                         <artifactId>mockito-all</artifactId>
124                         <version>1.9.5</version>
125                         <scope>test</scope>
126                 </dependency>
127                 <dependency>
128                         <groupId>com.google.guava</groupId>
129                         <artifactId>guava</artifactId>
130                         <version>14.0-rc1</version>
131                 </dependency>
132                 <dependency>
133                         <groupId>log4j</groupId>
134                         <artifactId>log4j</artifactId>
135                         <version>1.2.17</version>
136                 </dependency>
137                 <dependency>
138                         <groupId>org.apache.httpcomponents</groupId>
139                         <artifactId>httpclient</artifactId>
140                         <version>4.2.2</version>
141                 </dependency>
142                 <dependency>
143                         <groupId>org.jsoup</groupId>
144                         <artifactId>jsoup</artifactId>
145                         <version>1.7.1</version>
146                 </dependency>
147                 <dependency>
148                         <groupId>javax.mail</groupId>
149                         <artifactId>mail</artifactId>
150                         <version>1.4.6-rc1</version>
151                 </dependency>
152                 <dependency>
153                         <groupId>org.apache.commons</groupId>
154                         <artifactId>commons-lang3</artifactId>
155                         <version>3.1</version>
156                 </dependency>
157                 <dependency>
158                         <groupId>com.fasterxml.jackson.core</groupId>
159                         <artifactId>jackson-core</artifactId>
160                         <version>2.1.2</version>
161                 </dependency>
162                 <dependency>
163                         <groupId>com.fasterxml.jackson.core</groupId>
164                         <artifactId>jackson-annotations</artifactId>
165                         <version>2.1.2</version>
166                 </dependency>
167                 <dependency>
168                         <groupId>com.fasterxml.jackson.core</groupId>
169                         <artifactId>jackson-databind</artifactId>
170                         <version>2.1.2</version>
171                 </dependency>
172                 <dependency>
173                         <groupId>com.lexicalscope.jewelcli</groupId>
174                         <artifactId>jewelcli</artifactId>
175                         <version>0.8.3</version>
176                 </dependency>
177         </dependencies>
178 </project>