debian swirl logo

Back to the packages list jenkins-json

#!/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-json
JAR := json

# 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 pom.xml -l \
        target/$(JAR)-lib-$(DEB_UPSTREAM_VERSION).jar --usj-name= $(PACKAGE)-lib
		jh_classpath -plib$(PACKAGE)-java

# Re-locate java 5 source code into main java directory
before-mvn-build::
		cp -r src/main/jdk15/* src/main/java/	

get-orig-source:
		uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

Builds:

libjenkins-json-java-doc
documentation for libjenkins-json-java
libjenkins-json-java
library for transforming java objects between xml and json