dpkg-buildpackage mvn command tries to use /root/.m2/repository
When I run "dpkg-buildpackage -us -uc -b" on a packaging area with this
it fails with:
(cd unpacked-src; mvn clean install -DskipTests=true )
[ERROR] Could not create local repository at /root/.m2/repository -> [Help 1]
I'm running as my own user.
I've tried setting
but it didn't help.
Do I need to be root to build a debian package? (I thought fakeroot took
care of the path access stuff...?)