all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 31943@debbugs.gnu.org
Subject: bug#31943: Some Maven bugs
Date: Mon, 25 Jun 2018 12:13:45 +0200	[thread overview]
Message-ID: <20180625121345.72e0349b@alma-ubu> (raw)
In-Reply-To: <20180623122033.31edf218@lepiller.eu>

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]

On Sat, 23 Jun 2018 12:20:33 +0200
Julien Lepiller <julien@lepiller.eu> wrote:

> Le Sat, 23 Jun 2018 00:39:35 +0200,
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> a écrit :
> 

> > 1) The following propagated inputs are used from bash scripts
> > and are missing: which, coreutils
> > 
> > 2) There is something wrong with the version output:  
> 
> Fixed with 7504f3c3d3a2fbd0f901757a9bd3175e424c11ca and
> e27c43d94e23daf6b114b03688a51c924890a286 :)

That was quick :-) Thanks.


> > 4) I cannot use icedteaX (x \in {1,2}) (i.e. X=2 means JDK 1.7) with
> > Maven. Is this a bug or a fact?
> >   
> 
> This is because some of the dependencies cannot be built without
> java8. I think there is an option in ant to build with a new jdk but
> stay compatible with older jdks. Our ant-build-system should probably
> use that.

Maven requires JDK 1.7 or above to run
(https://maven.apache.org/download.cgi). So support for JDK7 should
work, JDK6 not. Forget icedtea@1.

I see that some of the dependencies like maven-resolver-util are
explicitly setting the #jdk to icedtea-8. So no wonder they produce JDK
1.8 code.

For the <javac ..> task, there is target property, see docs here:

https://ant.apache.org/manual/Tasks/javac.html

You can also set the option ant.build.javac.target:

https://ant.apache.org/manual/javacprops.html#target

We could introduce the latter one in the ant-build-system, with nothing
set being the default (i.e. the output of the used JDK).


Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2018-06-25 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 22:39 bug#31943: Some Maven bugs Björn Höfling
2018-06-23 10:20 ` Julien Lepiller
2018-06-25 10:13   ` Björn Höfling [this message]
2018-07-04 20:06 ` Julien Lepiller
2018-07-05  4:42   ` Björn Höfling

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=20180625121345.72e0349b@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=31943@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /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.