This is an automated email from the git hooks/post-receive script. tpot-guest pushed a commit to branch master in repository jnr-constants.
commit eee88e78b40d386f5fc93288169e4eef9a06ef5b Author: Tim Potter <[email protected]> Date: Tue Jan 13 23:54:13 2015 +1100 Add debian/* files to perform build --- debian/control | 2 +- debian/libjnr-constants-java.poms | 28 ++++++++++++++++++++++++++++ debian/maven.rules | 3 +++ debian/rules | 5 ++++- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index d6c4762..ccb0c47 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: jnr-constants Section: java Priority: optional Maintainer: Tim Potter <[email protected]> -Build-Depends: debhelper (>= 9), maven-debian-helper, javahelper +Build-Depends: debhelper (>= 9), maven-debian-helper, javahelper, junit4 Standards-Version: 3.9.6 Homepage: https://github.com/jnr/jnr-constants Vcs-Git: git://anonscm.debian.org/pkg-java/jnr-constants.git diff --git a/debian/libjnr-constants-java.poms b/debian/libjnr-constants-java.poms new file mode 100644 index 0000000..64b1188 --- /dev/null +++ b/debian/libjnr-constants-java.poms @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent --has-package-version --java-lib diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..0f9ded2 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ + +junit junit jar s/.*/4.x/ * * +junit junit jar s/4\..*/4.x/ * * diff --git a/debian/rules b/debian/rules index 2d33f6a..41fb9d5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f +export JAVA_HOME=/usr/lib/jvm/default-java +export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 + %: - dh $@ + dh $@ --buildsystem=maven --with javahelper -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jnr-constants.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

