#!/usr/bin/make -f

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

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_JARS		:= commons-logging jgroups servlet-api-2.5 jsp-api-2.1 \
  glassfish-javaee hibernate-core

install/liboscache-java::
	mh_installpom -pliboscache-java pom.xml
	mh_installjar -pliboscache-java pom.xml -l oscache.jar

get-orig-source:
	uscan --force-download
