From: Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr>
To: help-guix@gnu.org
Subject: Help with defining a package with maven-build-system
Date: Tue, 10 Dec 2024 17:05:50 +0100 [thread overview]
Message-ID: <8cec39fb-ef33-4e7c-bdcb-141c0e6ffa72@iphc.cnrs.fr> (raw)
Hello Guixers,
I am writing a package using the maven-build-system but I get an error:
maven: org.hamcrest:hamcrest is missing from inputs
error: in phase 'fix-pom-files': uncaught exception:
no-such-input "org.hamcrest" "hamcrest"
However I added to inputs: java-hamcrest-core java-hamcrest-library and
java-hamcrest-all
What am I missing ?
Here is the current package definition:
(define-public dcache
(package
(name "dcache")
(version "10.2.4")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/dCache/dcache/archive/refs/tags/" version
".zip"))
(sha256
(base32 "08v8rar3ab395qgklsmqbi6acsyivgv39v6936sakxggwychifj2"))
(file-name (string-append name "-" version ".zip"))))
(build-system maven-build-system)
(arguments
`(#:tests? #f))
(native-inputs (list unzip))
(inputs (list javacc java-junit java-hamcrest-core
java-hamcrest-library
java-hamcrest-all))
(home-page "https://www.dcache.org/")
(synopsis "Distributed storage for scientific data")
(description
"The goal of this project is to provide a system for storing and
retrieving huge amounts $
(license (nonfree:nonfree
"https://www.dcache.org/manuals/dCacheSoftwareLicence.html"))))
Thanks for your help
Regards,
Emmanuel Medernach
next reply other threads:[~2024-12-10 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 16:05 Emmanuel Medernach [this message]
2024-12-11 14:47 ` Help with defining a package with maven-build-system Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8cec39fb-ef33-4e7c-bdcb-141c0e6ffa72@iphc.cnrs.fr \
--to=emmanuel.medernach@iphc.cnrs.fr \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).