1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk
JAVA_HOME := /usr/lib/jvm/default-java
DEB_MAVEN_INSTALL_TO_USJ := false
PACKAGE := jenkins-htmlunit-core-js
JAR := htmlunit-core-js
# Install branch specific named version in /usr/share/java
# This works around the fact that maven-debian-helper does
# not pass --usj-name from debian/*.poms
binary-post-install/lib$(PACKAGE)-java::
mh_installpoms -plib$(PACKAGE)-java
mh_installjar -plib$(PACKAGE)-java --usj-name=$(PACKAGE) -l pom.xml \
target/$(JAR)-$(DEB_UPSTREAM_VERSION).jar
get-orig-source:
uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
|