all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: Hilco Wijbenga <hilco.wijbenga@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Help needed from Java developer to finish maven
Date: Sun, 23 Apr 2017 22:34:49 +0200	[thread overview]
Message-ID: <22f7c69e-da5c-6652-ecc4-13b97e83506b@crazy-compilers.com> (raw)
In-Reply-To: <CAE1pOi1V3y=XzjE1F_mC4k+dZ7+c5KszgrVL6AcqynbY7AF0PA@mail.gmail.com>

Hi Hilco,

for what I want to achieve, you need to understand Guix's philosophy:
One of the major points is to have as few components as possible
pre-build be external entities. Because only then Guix can ensure that
the component is build from exactly the known source and not manipulated.

And this means, that neither adding JARs from Maven Central to the store
nor putting the maven tar-ball into the store are admissible options for
Guix. I know other distributions do, like NixOS, but Guix will not.

Sadly maven does not support building from source. Even the maven
"source" includes a jar-file (maven-ant-task), which's job is to
download JAR files from maven central. So I have a take a lot of effort
building all (minimum) requirements, manually recreating e.g. meta-data
files which maven creates, and that like. Most of these packages rely on
maven for buiilding - which is not yet available.

My actual gaol is to have some Java applications I need in Guix – but
the Guix way :-) And this requires to be able to build JARs which are
build using maven, and for this I need to be able to bootstrap maven
from source.

Am 23.04.2017 um 20:43 schrieb Hilco Wijbenga: I had a look at
> maven-with-guix-versions.patch and I notice that you are changing
> various version numbers and replacing some JARs with other JARs. Why
> would you do that? Why do you expect the end result to work well? Or
> at all? How would anyone be able to trust this patched Maven?
I assume you are referring so the patch I posted month ago, which is is
outdated now. For the current status, please have a look at the branch
"WIP-maven" at https://gitlab.com/htgoebel/guix.git. My question refer
to this status.

This branch also uses some different versions, but the tar-ball maven
builds and runs fine when using these versions. See
https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00536.html for
details on how I came to this conclusion.

> I hope this is of use to you. If you have more questions, ask away.

If you have an idea what could cause the error I posted, please give fixing it a try. You can find the Guix description at the branch "WIP-maven" at https://gitlab.com/htgoebel/guix.git.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

  reply	other threads:[~2017-04-23 20:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21 10:46 Help needed from Java developer to finish maven Hartmut Goebel
2017-04-21 20:25 ` Björn Höfling
2017-04-23 12:36   ` Hartmut Goebel
2017-04-24 12:41     ` Catonano
2017-04-24 12:58       ` Guile bindings of GnuTLS are missing (was: Help needed from Java developer to finish maven) Hartmut Goebel
2017-04-24 13:23         ` Catonano
2017-04-23 18:43 ` Help needed from Java developer to finish maven Hilco Wijbenga
2017-04-23 20:34   ` Hartmut Goebel [this message]
2017-04-24  1:20     ` Hilco Wijbenga
2017-04-24 13:36       ` Trust and reproducible build (was: Help needed from Java developer to finish maven) Hartmut Goebel

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=22f7c69e-da5c-6652-ecc4-13b97e83506b@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    --cc=hilco.wijbenga@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.