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