[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-buildpackage mvn command tries to use /root/.m2/repository

Le 19/01/2018 à 23:51, Steinar Bang a écrit :
> When I run "dpkg-buildpackage -us -uc -b" on a packaging area with this
> control file
>  https://gist.github.com/steinarb/5b0b6d771e2fae3873abac15c21a4f82
> it fails with:
>  (cd unpacked-src; mvn clean install -DskipTests=true )
>  [ERROR] Could not create local repository at /root/.m2/repository -> [Help 1]

The rules file disables most of the targets, that looks wrong. Did you
generate the package with mh_make from maven-debian-helper? If you share
the repository on GitHub I'll get a look. I suggest running mh_make and
selecting only the first core karaf modules, and then enabling more
modules gradually as needed.

Emmanuel Bourg

Reply to: