Update plugin and minor deps; catch additional Android error in app

This commit is contained in:
Sean Owen 2017-03-15 11:08:07 +00:00
parent 0a542b9e9e
commit b5f6d3f73c
4 changed files with 8 additions and 8 deletions

View file

@ -216,8 +216,8 @@ public final class HttpHelper {
private static int safelyConnect(HttpURLConnection connection) throws IOException {
try {
connection.connect();
} catch (NullPointerException | IllegalArgumentException | IndexOutOfBoundsException | SecurityException e) {
// this is an Android bug: http://code.google.com/p/android/issues/detail?id=16895
} catch (RuntimeException e) {
// These are, generally, Android bugs
throw new IOException(e);
}
try {

View file

@ -29,7 +29,7 @@
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.60</version>
<version>1.64</version>
</dependency>
<dependency>
<groupId>com.github.jai-imageio</groupId>

View file

@ -89,8 +89,8 @@
<java.version>1.7</java.version>
<maven.version.min>3.2.1</maven.version.min>
<proguard.version>5.3.2</proguard.version>
<proguard.plugin.version>2.0.13</proguard.plugin.version>
<slf4j.version>1.7.22</slf4j.version>
<proguard.plugin.version>2.0.14</proguard.plugin.version>
<slf4j.version>1.7.24</slf4j.version>
<!-- This can't reference project.version as some subprojects version differently -->
<zxing.version>3.3.1-SNAPSHOT</zxing.version>
<android.platform>22</android.platform>
@ -439,7 +439,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.12</version>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -523,7 +523,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.8</version>
<version>0.7.9</version>
<executions>
<execution>
<goals>

View file

@ -57,7 +57,7 @@
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.4.1.v20170120</version>
<version>9.4.2.v20170220</version>
</plugin>
</plugins>
</build>