Bug#906808: libbuild-helper-maven-plugin-java: Provide debian version for maven artefact

Adrian debian-292303 at kyubu.de
Wed Aug 22 08:35:16 BST 2018


On Tue, Aug 21, 2018 at 04:14:19PM +0200, Emmanuel Bourg wrote:

Hi Emmanuel,

> Hi Adrian,
> 
> Maven plugins can't use a generic 'debian' version because Maven checks
> the actual version in the plugin metadata. If your package doesn't build
> with the plugin provided by libbuild-helper-maven-plugin-java you have
> to adapt your build. 

Thanks, good to know. I've already done adaptations since the upstream
pom suggests an 1.7 version. I've redirected this to 1.8 using
maven.rules for building on jessie and stretch.

> Typically, not specifying the version of the plugin in the pom.xml file
> will fix the issue.

I know that. My intention was to build my package for all releases using
the maven-helper provided by debian and to refrain from patching the
original pom.xml.

Best regards, Adrian



More information about the pkg-java-maintainers mailing list