Bug#703376: javahelper: Remove Maven support from jh_makepkg

Niels Thykier niels at thykier.net
Sun Apr 7 13:29:38 UTC 2013


Control: tags -1 confirmed

On 2013-03-18 23:04, Hilko Bengen wrote:
> Package: javahelper
> Version: 0.43
> Severity: normal
> Tags: patch
> 
> jh_makepkg's template for Maven projects produces a debian/rules file
> that uses /usr/bin/mvn-debian whose maintainer does not support
> "production use". The comment at the top of /usr/bin/mvn-debian is
> correct: The template produced by jh_makepkg cannot even determine in a
> robust way if the build attempt by mvn-debian has been successful or
> not.
> 
> Yet, production use is exactly what is implied by templates for building
> Debian packages that are output by a script.
> 
> In its current form, this template does more harm and frustration than
> good for unsuspecting users (DDs such as myself who just want to package
> some Maven-built software). On the other hand, supporting Maven seems to
> be a bigger, more complicated, task that is better served by mh_make
> from the maven-debian-helper package. 
> 
> I suggest removing maven "support" from jh_makepkg altogether; see my
> patch below.
> 
> Cheers,
> -Hilko
> 
> [...]
> 

I will probably have jh_makepkg recommend mh_make for this instead
instead of just removing the options.  But definitely seconded.
  I am planning on a rewrite of jh_makepkg and have therefore not
applied your patch as-is.

~Niels



More information about the pkg-java-maintainers mailing list