Bug#577785: /usr/share/cdbs/1/class/maven-vars.mk: Provide variable DEB_MAVEN_BUILDFILE to specify alternating pom.xml file
Damien Raude-Morvan
drazzib at drazzib.com
Wed Apr 14 15:09:11 UTC 2010
Hi Onkar,
On Wed, 14 Apr 2010 20:26:41 +0530, Onkar Shinde <onkarshinde at ubuntu.com>
wrote:
> ant-vars.mk has a variable DEB_ANT_BUILDFILE which if set from
> debian/rules file is used as path to an alternate build.xml file.
Similar
> variable (DEB_MAVEN_BUILDFILE) should be defined in maven-var.mk.
Currently
> the only way to specify alternative pom.xml file is to set MAVEN_ARGS in
> debian/rules to '-f path/to/pom.xml'.
To bypass this limitation, I've personnaly used DEB_BUILDDIR:
# Use uimaj/pom.xml for build
DEB_BUILDDIR := uimaj
See :
http://svn.debian.org/viewsvn/pkg-java/trunk/uimaj/debian/rules?revision=HEAD&view=markup
Cheers,
--
Damien
More information about the pkg-java-maintainers
mailing list