Description: Use maven-repo-helper
 .
 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-27

--- cbmc-5.10.orig/jbmc/src/java_bytecode/library/Makefile
+++ cbmc-5.10/jbmc/src/java_bytecode/library/Makefile
@@ -22,12 +22,12 @@ clean: clean_library
 .PHONY: clean_library
 clean_library:
 	rm -rf core-models.jar
-	if [ -d $(LIBRARY_DIR) ]; then cd $(LIBRARY_DIR); mvn --quiet clean; fi
+	if [ -d $(LIBRARY_DIR) ]; then cd $(LIBRARY_DIR); mh_clean; fi
 
 .PHONY: library
 library:
 	if [ -d $(LIBRARY_DIR) ]; then \
-		(cd $(LIBRARY_DIR); mvn --quiet -Dmaven.test.skip=true package); \
+		(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.1</version>
         <configuration>
           <compilerArguments>
             <classpath>${java.home}/lib/rt.jar</classpath>
