Le 20/06/2016 à 12:39, Christopher Hoskin a écrit : > According to the documentation, calling mh_make with --run-tests=false should > disable the running of tests, similarly --javadoc=false should disable > generation of documentation. In practice it is not currently possible to > disable > either tests or documentation through a command line option. The attached > patch is a quick fix for this, there may be more elegant solutions.
Hi Christopher, I haven't been able to reproduce the issue you are reporting. I ran this command on a simple Maven project with tests: mh_make --run-tests=false --javadoc=false The package generated didn't include a javadoc package in debian/control and the unit tests were properly disabled with the maven.test.skip=true property in debian/maven.properties. The value of --run-tests and --javadoc options are passed to GenerateDebianFilesMojo which convert them to boolean values. So detecting the value "false" and clearing the RUN_TESTS and GEN_JAVADOC variables in the script shouldn't be necessary. Emmanuel Bourg