Add test for SonePart
[Sone.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/xsd/maven-4.0.0.xsd">
2         <modelVersion>4.0.0</modelVersion>
3         <groupId>net.pterodactylus</groupId>
4         <artifactId>sone</artifactId>
5         <version>0.9.5</version>
6         <dependencies>
7                 <dependency>
8                         <groupId>net.pterodactylus</groupId>
9                         <artifactId>utils</artifactId>
10                         <version>${version.utils}</version>
11                 </dependency>
12                 <dependency>
13                         <groupId>junit</groupId>
14                         <artifactId>junit</artifactId>
15                         <version>4.11</version>
16                         <scope>test</scope>
17                 </dependency>
18                 <dependency>
19                         <groupId>org.mockito</groupId>
20                         <artifactId>mockito-all</artifactId>
21                         <version>1.9.5</version>
22                         <scope>test</scope>
23                 </dependency>
24                 <dependency>
25                         <groupId>org.hamcrest</groupId>
26                         <artifactId>hamcrest-all</artifactId>
27                         <version>1.3</version>
28                 </dependency>
29                 <dependency>
30                         <groupId>org.jsoup</groupId>
31                         <artifactId>jsoup</artifactId>
32                         <version>1.7.1</version>
33                         <scope>test</scope>
34                 </dependency>
35                 <dependency>
36                         <groupId>org.freenetproject</groupId>
37                         <artifactId>fred</artifactId>
38                         <version>0.7.5.1475</version>
39                         <scope>provided</scope>
40                 </dependency>
41                 <dependency>
42                         <groupId>org.freenetproject</groupId>
43                         <artifactId>freenet-ext</artifactId>
44                         <version>29</version>
45                         <scope>provided</scope>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.bouncycastle</groupId>
49                         <artifactId>bcprov-jdk15on</artifactId>
50                         <version>1.54</version>
51                         <scope>provided</scope>
52                 </dependency>
53                 <dependency>
54                         <groupId>com.google.inject</groupId>
55                         <artifactId>guice</artifactId>
56                         <version>3.0</version>
57                 </dependency>
58                 <dependency>
59                         <groupId>com.google.guava</groupId>
60                         <artifactId>guava</artifactId>
61                         <version>14.0.1</version>
62                 </dependency>
63                 <dependency>
64                         <groupId>commons-lang</groupId>
65                         <artifactId>commons-lang</artifactId>
66                         <version>2.6</version>
67                 </dependency>
68                 <dependency>
69                         <groupId>com.fasterxml.jackson.core</groupId>
70                         <artifactId>jackson-databind</artifactId>
71                         <version>2.1.2</version>
72                 </dependency>
73                 <dependency>
74                         <groupId>com.google.code.findbugs</groupId>
75                         <artifactId>jsr305</artifactId>
76                         <version>2.0.1</version>
77                 </dependency>
78         </dependencies>
79         <repositories>
80                 <repository>
81                         <id>pterodactylus</id>
82                         <url>http://maven.pterodactylus.net/</url>
83                 </repository>
84         </repositories>
85         <properties>
86                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
87                 <version.utils>0.12.4</version.utils>
88                 <findbugs.timeout>600000</findbugs.timeout>
89         </properties>
90         <build>
91                 <plugins>
92                         <plugin>
93                                 <groupId>org.codehaus.mojo</groupId>
94                                 <artifactId>findbugs-maven-plugin</artifactId>
95                                 <version>2.5.2</version>
96                                 <configuration>
97                                         <timeout>${findbugs.timeout}</timeout>
98                                 </configuration>
99                         </plugin>
100                         <plugin>
101                                 <groupId>org.apache.maven.plugins</groupId>
102                                 <artifactId>maven-compiler-plugin</artifactId>
103                                 <version>2.0.2</version>
104                                 <configuration>
105                                         <source>1.7</source>
106                                         <target>1.7</target>
107                                         <encoding>UTF-8</encoding>
108                                 </configuration>
109                         </plugin>
110                         <plugin>
111                                 <groupId>org.apache.maven.plugins</groupId>
112                                 <artifactId>maven-jar-plugin</artifactId>
113                                 <version>2.2</version>
114                                 <configuration>
115                                         <archive>
116                                                 <manifestEntries>
117                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
118                                                 </manifestEntries>
119                                         </archive>
120                                 </configuration>
121                         </plugin>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-assembly-plugin</artifactId>
125                                 <version>2.2-beta-5</version>
126                                 <configuration>
127                                         <finalName>sone</finalName>
128                                         <descriptorRefs>
129                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
130                                         </descriptorRefs>
131                                         <archiverConfig>
132                                                 <duplicateBehavior>skip</duplicateBehavior>
133                                         </archiverConfig>
134                                         <archive>
135                                                 <manifestEntries>
136                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
137                                                 </manifestEntries>
138                                         </archive>
139                                 </configuration>
140                                 <executions>
141                                         <execution>
142                                                 <id>make-assembly</id>
143                                                 <phase>package</phase>
144                                                 <goals>
145                                                         <goal>single</goal>
146                                                 </goals>
147                                         </execution>
148                                 </executions>
149                         </plugin>
150                         <plugin>
151                                 <groupId>org.apache.maven.plugins</groupId>
152                                 <artifactId>maven-javadoc-plugin</artifactId>
153                                 <version>2.7</version>
154                                 <configuration>
155                                         <detectLinks>true</detectLinks>
156                                         <detectJavaApiLink>true</detectJavaApiLink>
157                                         <show>private</show>
158                                         <footer>© 2010–2013 David ‘Bombe’ Roden</footer>
159                                 </configuration>
160                         </plugin>
161                         <plugin>
162                                 <groupId>org.jacoco</groupId>
163                                 <artifactId>jacoco-maven-plugin</artifactId>
164                                 <version>0.7.6.201602180812</version>
165                                 <executions>
166                                         <execution>
167                                                 <id>default-prepare-agent</id>
168                                                 <goals>
169                                                         <goal>prepare-agent</goal>
170                                                 </goals>
171                                         </execution>
172                                         <execution>
173                                                 <id>default-report</id>
174                                                 <phase>prepare-package</phase>
175                                                 <goals>
176                                                         <goal>report</goal>
177                                                 </goals>
178                                         </execution>
179                                         <execution>
180                                                 <id>default-check</id>
181                                                 <goals>
182                                                         <goal>check</goal>
183                                                 </goals>
184                                                 <configuration>
185                                                         <rules>
186                                                                 <!--  implmentation is needed only for Maven 2  -->
187                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
188                                                                         <element>BUNDLE</element>
189                                                                         <limits>
190                                                                                 <!--  implmentation is needed only for Maven 2  -->
191                                                                                 <limit implementation="org.jacoco.report.check.Limit">
192                                                                                         <counter>COMPLEXITY</counter>
193                                                                                         <value>COVEREDRATIO</value>
194                                                                                         <minimum>0.60</minimum>
195                                                                                 </limit>
196                                                                         </limits>
197                                                                 </rule>
198                                                         </rules>
199                                                 </configuration>
200                                         </execution>
201                                 </executions>
202                         </plugin>
203                         <plugin>
204                                 <groupId>org.pitest</groupId>
205                                 <artifactId>pitest-maven</artifactId>
206                                 <version>1.1.10</version>
207                                 <configuration>
208                                         <targetClasses>
209                                                 <param>net.pterodactylus.sone.*</param>
210                                         </targetClasses>
211                                         <targetTests>
212                                                 <param>net.pterodactylus.sone.*</param>
213                                         </targetTests>
214                                 </configuration>
215                         </plugin>
216                 </plugins>
217         </build>
218 </project>