* Help with defining a package with maven-build-system
@ 2024-12-10 16:05 Emmanuel Medernach
2024-12-11 14:47 ` Simon Tournier
0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Medernach @ 2024-12-10 16:05 UTC (permalink / raw)
To: help-guix
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with defining a package with maven-build-system
2024-12-10 16:05 Help with defining a package with maven-build-system Emmanuel Medernach
@ 2024-12-11 14:47 ` Simon Tournier
0 siblings, 0 replies; 2+ messages in thread
From: Simon Tournier @ 2024-12-11 14:47 UTC (permalink / raw)
To: Emmanuel Medernach, help-guix
Hi Emmanuel,
On Tue, 10 Dec 2024 at 17:05, Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> wrote:
> maven: org.hamcrest:hamcrest is missing from inputs
> error: in phase 'fix-pom-files': uncaught exception:
> no-such-input "org.hamcrest" "hamcrest"
My guess is about pom.xml. Either something with the one of dcache is
incorrectly formatted, either the Guix parser does not implement
something.
Please note I know nothing about Maven. :-)
Cheers,
simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-11 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 16:05 Help with defining a package with maven-build-system Emmanuel Medernach
2024-12-11 14:47 ` Simon Tournier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.