Getting "Could not create local repository" error when building Debian package
5
votes
1
answer
4879
views
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?
Asked by rlandster
(763 rep)
Jun 1, 2018, 07:00 PM
Last activity: Jun 3, 2018, 01:31 AM
Last activity: Jun 3, 2018, 01:31 AM