I am trying to build a debian package against Debian stretch. The debian/rules file is this:
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
mvn clean package
When I build it using pbuilder-buildpackage I get this build error:
mvn -e clean package
[INFO] Error stacktraces are turned on.
[ERROR] Could not create local repository at /nonexistent/.m2/repository -> [Help 1]
How do I resolve this error?