Hello, as stated earlier in this thread. I'm not going to spend any more time on packaging java. But for others, more skilled in this mine-field, being able to continue the work, here are some notes. Even if non of this is working it at least saves some time figuring out the source-urls and checksums :-) So here are my scratches from my work on packaging some java packages and maven. Good Luck! Notes for a "junits" ant task: outputting the reports into some "${build.home}/test-reports" seems to be a good idea. ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; -*- mode: scheme -*- (use-modules (guix) (guix build-system ant) (guix build java-utils) (guix git-download) ((guix licenses) #:prefix license:) (gnu packages base) (gnu packages java) (gnu packages zip) ) ;---------- (define-public maven-ant-helper ; todo: check content of files " Helper scripts for building Maven components with ant This is a package from Debian. It adds some environment that should simplify generating of (originally) Debian packages. I seems to be meant to use maven and implement something like the "default build.xml" we have for ant-build-system. I doubt this is the way to go since it does thing guix typically does in guile. Additionally it is designed to be felxible which makes it more complicated again. It includes a "modello" implementation, which *may* be worth carving out - some person knowledable in java may be able to tell if it. " (package (name "maven-ant-helper") (version "7.11") (source (origin (method git-fetch) (uri (git-reference (url "git://anonscm.debian.org/pkg-java/maven-ant-helper.git") (commit (string-append "debian/" version)))) (sha256 (base32 "1aldw40b5bv0sx3nxp0m3zwdwrnyp1cslwqv4z1ifz1jkj4zm8vb")))) (build-system ant-build-system) ; todo: build javadocs (arguments `(#:jar-name (string-append ,name "-" ,version ".jar") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-files (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share/maven-ant-helper"))) (substitute* "maven-build.xml" ; lib${package}-java -> java-${package} (("