Description: Enable offline build
 .
 cbmc (5.10-1) unstable; urgency=low
 .
   * New upstream release
   * Updated Standards version to 4.2.1 (no changes required)
Author: Michael Tautschnig <mt@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-09-29

--- cbmc-5.10.orig/jbmc/src/java_bytecode/library/Makefile
+++ cbmc-5.10/jbmc/src/java_bytecode/library/Makefile
@@ -26,7 +26,7 @@ clean_library:
 
 .PHONY: library
 library:
-	if [ -d $(LIBRARY_DIR) ]; then (cd $(LIBRARY_DIR); mvn package); cp $(LIBRARY_DIR)/target/core-models.jar .; fi
+	if [ -d $(LIBRARY_DIR) ]; then (cd $(LIBRARY_DIR); mvn --offline -s /etc/maven/settings-debian.xml package); cp $(LIBRARY_DIR)/target/core-models.jar .; fi
 
 ###############################################################################
 
--- cbmc-5.10.orig/java-models-library/pom.xml
+++ cbmc-5.10/java-models-library/pom.xml
@@ -32,7 +32,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.6.1</version>
+        <version>3.8.0</version>
         <configuration>
           <compilerArguments>
             <classpath>${java.home}/lib/rt.jar</classpath>
