#!/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
# hibernate 3.3 uses hibernate3 and 3.5 uses hibernate-core
DEB_JARS		:= commons-logging jgroups-all servlet-api-2.5 jsp-api \
  glassfish-javaee jgroups-all hibernate3 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
