Follow redirects in ClientGet
[jFCPlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 5e7dfde..92d9536 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>3.8.2</version>
+                       <version>4.12</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.hamcrest</groupId>
+                       <artifactId>hamcrest-integration</artifactId>
+                       <version>1.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.mockito</groupId>
+                       <artifactId>mockito-all</artifactId>
+                       <version>1.10.19</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.nitorcreations</groupId>
+                       <artifactId>junit-runners</artifactId>
+                       <version>1.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
        </repositories>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <plugin.compiler.version>3.3</plugin.compiler.version>
+               <plugin.source.version>2.4</plugin.source.version>
+               <plugin.javadoc.version>2.10.3</plugin.javadoc.version>
+               <plugin.jacoco.version>0.7.1.201405082137</plugin.jacoco.version>
        </properties>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
+                               <version>${plugin.compiler.version}</version>
                                <configuration>
-                                       <source>1.6</source>
-                                       <target>1.6</target>
+                                       <source>1.8</source>
+                                       <target>1.8</target>
                                        <encoding>UTF-8</encoding>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
+                               <version>${plugin.javadoc.version}</version>
+                               <configuration>
+                                       <detectLinks>true</detectLinks>
+                                       <links>
+                                               <link>http://docs.guava-libraries.googlecode.com/git-history/v18.0/javadoc/</link>
+                                       </links>
+                               </configuration>
                                <executions>
                                        <execution>
                                                <id>attach-javadocs</id>
@@ -61,6 +89,7 @@
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
+                               <version>${plugin.source.version}</version>
                                <executions>
                                        <execution>
                                                <id>attach-sources</id>
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.jacoco</groupId>
+                               <artifactId>jacoco-maven-plugin</artifactId>
+                               <version>${plugin.jacoco.version}</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-prepare-agent</id>
+                                               <goals>
+                                                       <goal>prepare-agent</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-report</id>
+                                               <phase>prepare-package</phase>
+                                               <goals>
+                                                       <goal>report</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-check</id>
+                                               <phase/>
+                                               <goals>
+                                                       <goal>check</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
 </project>