From: BCG <bgould@hushmail.com>
To: guix-devel@gnu.org
Subject: Re: What would a Maven build system be like?
Date: Mon, 29 Feb 2016 12:09:21 -0500 [thread overview]
Message-ID: <ce00a5738fceabf4f41b565370efa7db@smtp.hushmail.com> (raw)
In-Reply-To: <idj4mcr1okp.fsf@bimsb-sys02.mdc-berlin.net>
On 02/29/2016 11:14 AM, Ricardo Wurmus wrote:
>
> Since not every application uses Maven (or even the same version of
> Maven), and I cannot yet be certain that the directory layout remains
> the same across different versions of Maven, I think it would be best to
> generate this dynamically rather than change the prefix for Java
> libraries to “$out/maven-repo/” and then place the jars at the leaves of
> this structure.
>
>
FWIW - I've been using Maven for 10 years and I can't recall the
repository layout ever changing since Maven 2 was released, although I
could be wrong about that.
One thing you may want to look at is the "maven-ant-tasks" Ant plugin here:
https://maven.apache.org/ant-tasks/
This allows you to take artifacts built outside of Maven and install
them into a Maven repository layout. The Maven repository layout is the
defacto standard these days for all major Java build systems these days,
so create a folder structure with that layout for Guix might be a great
choice.
Other Java dependency managers support Maven repositories as well,
including Apache Ivy (http://ant.apache.org/ivy/) and Gradle
(http://gradle.org/why/robust-dependency-management/).
As a Java developer, my gut tells me that it is worth exploring putting
Guix's Java packages get put into a Maven repository layout by
default... Maven is notoriously difficult to bend to your will otherwise :)
-- Ben
next prev parent reply other threads:[~2016-02-29 17:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 16:14 What would a Maven build system be like? Ricardo Wurmus
2016-02-29 17:09 ` BCG [this message]
2016-04-29 14:46 ` Ludovic Courtès
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=ce00a5738fceabf4f41b565370efa7db@smtp.hushmail.com \
--to=bgould@hushmail.com \
--cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).