debian swirl logo

Back to the packages list commons-configuration

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk

PACKAGE			   := $(DEB_SOURCE_PACKAGE)
VERSION			   := $(DEB_UPSTREAM_VERSION)
JAVA_HOME                  := /usr/lib/jvm/default-java

API_DOCS                   := target/site/apidocs/*
DEB_MAVEN_DOC_TARGET       := javadoc:aggregate
DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt

binary-post-install/lib$(PACKAGE)-java::
		jh_classpath -plib$(PACKAGE)-java

binary-post-install/lib$(PACKAGE)-java-doc::
		dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java/api/

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

Builds:

libcommons-configuration-java-doc
api documentation for commons-configuration
libcommons-configuration-java
java based library providing a generic configuration interface