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

Re: maven-debian-helper and dh's --builddirectory option



Hi Emmanuel,

On 17/09/2019 08:22, Emmanuel Bourg wrote:
> maven-debian-helper doesn't support --builddirectory. I've reported this
> issue for maven-repo-helper (see #884088) but maven-debian-helper is
> also affected.
Good to know that, thanks for the pointer.
> You can get a look at the jaxrs-api package (or other similar JavaEE
> packages), it also has it's main pom.xml in a subdirectory. debian/rules
> looks like this:
>
>   #!/usr/bin/make -f
>
>   %:
>   	dh $@ --buildsystem=maven
>
>   override_dh_auto_build:
>   	dh_auto_build -- -f jaxrs-api/pom.xml package
>
>   override_dh_auto_test:
>   	dh_auto_test -- -f jaxrs-api/pom.xml test
>
>   override_dh_auto_install:
>   	dh_auto_install -- -f jaxrs-api/pom.xml
>
>   override_dh_auto_clean:
>   	dh_auto_clean -- -f jaxrs-api/pom.xml clean

Also thanks for this example!

Cheers!

-- 
Lucas Kanashiro


Reply to: