Follow redirects in ClientGet
[jFCPlib.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 0e832fa..92d9536 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                        <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>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                        <version>16.0.1</version>
        </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>
@@ -66,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>
                        <plugin>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>0.7.1.201405082137</version>
+                               <version>${plugin.jacoco.version}</version>
                                <executions>
                                        <execution>
                                                <id>default-prepare-agent</id>
                                                <goals>
                                                        <goal>check</goal>
                                                </goals>
-                                               <configuration>
-                                                       <rules>
-                                                               <!--  implmentation is needed only for Maven 2  -->
-                                                               <rule implementation="org.jacoco.maven.RuleConfiguration">
-                                                                       <element>BUNDLE</element>
-                                                                       <limits>
-                                                                               <!--  implmentation is needed only for Maven 2  -->
-                                                                               <limit implementation="org.jacoco.report.check.Limit">
-                                                                                       <counter>COMPLEXITY</counter>
-                                                                                       <value>COVEREDRATIO</value>
-                                                                                       <minimum>0.60</minimum>
-                                                                               </limit>
-                                                                       </limits>
-                                                               </rule>
-                                                       </rules>
-                                               </configuration>
                                        </execution>
                                </executions>
                        </plugin>