Run FindBugs when test is run.
[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.8.6</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.freenetproject</groupId>
26                         <artifactId>fred</artifactId>
27                         <version>0.7.5.1405</version>
28                         <scope>provided</scope>
29                 </dependency>
30                 <dependency>
31                         <groupId>org.freenetproject</groupId>
32                         <artifactId>freenet-ext</artifactId>
33                         <version>26</version>
34                         <scope>provided</scope>
35                 </dependency>
36                 <dependency>
37                         <groupId>com.google.inject</groupId>
38                         <artifactId>guice</artifactId>
39                         <version>3.0</version>
40                 </dependency>
41                 <dependency>
42                         <groupId>com.google.guava</groupId>
43                         <artifactId>guava</artifactId>
44                         <version>14.0-rc1</version>
45                 </dependency>
46                 <dependency>
47                         <groupId>commons-lang</groupId>
48                         <artifactId>commons-lang</artifactId>
49                         <version>2.6</version>
50                 </dependency>
51                 <dependency>
52                         <groupId>com.fasterxml.jackson.core</groupId>
53                         <artifactId>jackson-databind</artifactId>
54                         <version>2.1.2</version>
55                 </dependency>
56         </dependencies>
57         <repositories>
58                 <repository>
59                         <id>pterodactylus</id>
60                         <url>http://maven.pterodactylus.net/</url>
61                 </repository>
62         </repositories>
63         <properties>
64                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
65                 <version.utils>0.12.4</version.utils>
66         </properties>
67         <build>
68                 <plugins>
69                         <plugin>
70                                 <groupId>org.codehaus.mojo</groupId>
71                                 <artifactId>findbugs-maven-plugin</artifactId>
72                                 <version>2.5.2</version>
73                                 <executions>
74                                         <execution>
75                                                 <phase>test</phase>
76                                                 <goals>
77                                                         <goal>findbugs</goal>
78                                                 </goals>
79                                         </execution>
80                                 </executions>
81                         </plugin>
82                         <plugin>
83                                 <groupId>org.apache.maven.plugins</groupId>
84                                 <artifactId>maven-compiler-plugin</artifactId>
85                                 <version>2.0.2</version>
86                                 <configuration>
87                                         <source>1.6</source>
88                                         <target>1.6</target>
89                                 </configuration>
90                         </plugin>
91                         <plugin>
92                                 <groupId>org.apache.maven.plugins</groupId>
93                                 <artifactId>maven-jar-plugin</artifactId>
94                                 <version>2.2</version>
95                                 <configuration>
96                                         <archive>
97                                                 <manifestEntries>
98                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
99                                                 </manifestEntries>
100                                         </archive>
101                                 </configuration>
102                         </plugin>
103                         <plugin>
104                                 <groupId>org.apache.maven.plugins</groupId>
105                                 <artifactId>maven-assembly-plugin</artifactId>
106                                 <version>2.2-beta-5</version>
107                                 <configuration>
108                                         <descriptorRefs>
109                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
110                                         </descriptorRefs>
111                                         <archiverConfig>
112                                                 <duplicateBehavior>skip</duplicateBehavior>
113                                         </archiverConfig>
114                                         <archive>
115                                                 <manifestEntries>
116                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
117                                                 </manifestEntries>
118                                         </archive>
119                                 </configuration>
120                                 <executions>
121                                         <execution>
122                                                 <id>make-assembly</id>
123                                                 <phase>package</phase>
124                                                 <goals>
125                                                         <goal>single</goal>
126                                                 </goals>
127                                         </execution>
128                                 </executions>
129                         </plugin>
130                         <plugin>
131                                 <groupId>org.apache.maven.plugins</groupId>
132                                 <artifactId>maven-javadoc-plugin</artifactId>
133                                 <version>2.7</version>
134                                 <configuration>
135                                         <detectLinks>true</detectLinks>
136                                         <detectJavaApiLink>true</detectJavaApiLink>
137                                         <show>private</show>
138                                         <footer>© 2010–2013 David ‘Bombe’ Roden</footer>
139                                 </configuration>
140                         </plugin>
141                 </plugins>
142         </build>
143 </project>