[Debian-med-packaging] How to propagate mvn options to debhelper (Was: Need help to upgrade libnetlib-java package)
Andreas Tille
andreas at an3as.eu
Fri Apr 22 19:25:43 UTC 2016
On Fri, Apr 22, 2016 at 05:46:30PM +0200, Olivier Sallou wrote:
> >> I think this plugin is used in the maven "workflow", at install time only, which should not be needed or required in Debian build workflow.
> >> Maybe adding property in mvn command "-Dmaven.install.skip=true" would help skipping this.
> > Sounds promising - but how do I specify this?
> Do you use mvn command in d/rules or only debian helpers? If you use
> mvn, just add this after mvn, else I do not know how to specify extra
> parameters for Debian java helpers.
I'm using plain javahelper. The following failed:
diff --git a/debian/rules b/debian/rules
index bde0193..eadfd0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,5 @@
dh $@ --buildsystem=maven --with javahelper
override_dh_auto_build:
- dh_auto_build -- install
+ dh_auto_build -- install -Dmaven.install.skip=true
Any better hint how to propagate mvn options
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list