From: Julien Lepiller <julien@lepiller.eu>
To: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Cc: 55929@debbugs.gnu.org
Subject: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api
Date: Sat, 18 Jun 2022 20:00:13 +0200 [thread overview]
Message-ID: <20220618200007.4939d143@sybil.lepiller.eu> (raw)
In-Reply-To: <87sfo1vris.fsf@gmail.com>
Thanks for the new patch :)
Le Sat, 18 Jun 2022 19:57:15 +0300,
"Artyom V. Poptsov" <poptsov.artyom@gmail.com> a écrit :
> + (native-inputs
> + (list java-javax-inject))
> + (propagated-inputs
> + (list maven-parent-pom-34))
Sorry if my previous messages were confusing you. I meant to have a new
package maven-doxia-parent (or similar name) that contains only the
parent pom file. You're propagating the grand-parent. I think this
would be more correct:
(propagated-inputs (list maven-doxia-parent))
and maven-doxia-parent would be something like:
(define maven-doxia-parent
(package
(inherit maven-doxia-sink-api)
(name "maven-doxia-parent")
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install (install-pom-file "pom.xml")))))
(synopsis "...")
(description "...")))
This is untested, of course :)
Since we "define" and not "define-public" (we don't want it to be
accessible from other modules or the command-line), you can put both
packages in the same patch.
> + (arguments
> + `(#:jar-name "doxia-sink-api.jar"
> + #:source-dir "doxia-sink-api/src/main/java"
> + #:tests? #f ; no tests
> + #:phases (modify-phases %standard-phases
> + (replace 'install
> + (install-from-pom "doxia-sink-api/pom.xml")))))
That's correct :)
next prev parent reply other threads:[~2022-06-18 18:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-12 18:25 [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Artyom V. Poptsov
2022-06-12 18:45 ` Artyom V. Poptsov
2022-06-12 21:03 ` Julien Lepiller
2022-06-13 4:29 ` Artyom V. Poptsov
2022-06-13 4:38 ` Artyom V. Poptsov
2022-06-13 5:41 ` Julien Lepiller
2022-06-18 15:34 ` Artyom V. Poptsov
2022-06-18 16:52 ` Julien Lepiller
2022-06-18 16:57 ` Artyom V. Poptsov
2022-06-18 18:00 ` Julien Lepiller [this message]
2022-06-19 4:55 ` Artyom V. Poptsov
2022-06-19 19:03 ` bug#55929: " Julien Lepiller
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220618200007.4939d143@sybil.lepiller.eu \
--to=julien@lepiller.eu \
--cc=55929@debbugs.gnu.org \
--cc=poptsov.artyom@gmail.com \
/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.
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.