From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Help needed from Java developer to finish maven Date: Sun, 23 Apr 2017 14:36:03 +0200 Message-ID: <58FC9FB3.4040302@crazy-compilers.com> References: <58F9E310.4070201@crazy-compilers.com> <20170421222508.468d4c18@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2GkO-0007e0-8S for guix-devel@gnu.org; Sun, 23 Apr 2017 08:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2GkL-00031L-3f for guix-devel@gnu.org; Sun, 23 Apr 2017 08:36:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:39339) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2GkK-00030u-TS for guix-devel@gnu.org; Sun, 23 Apr 2017 08:36:09 -0400 In-Reply-To: <20170421222508.468d4c18@alma-ubu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Cc: guix-devel Hi Bj=C3=B6rn, I'm looking forward to your findings! > 1. Is this already the output of "mvn -X" and/or "mvn -e"? Yes, this is the output of mvn -X (basically, in fact I'm running "java =E2=80=A6 org.apache.maven.cli.MavenCli -X"). > 3. Do you have a WIP branch and instructions on how to reproduce this? You can find the branch "WIP-maven" at https://gitlab.com/htgoebel/guix.git. To reproduce simply run git clone https://gitlab.com/htgoebel/guix.git cd guix git checkout WIP-maven =2E/pre-inst-env guix build maven-for-bootstrap > 2. Some posts suggest that this could be caused because of wrong > version of dependencies? I.e. API and thus number of parameters changed= : Inspired by you suggestion, I tested whether the versions I defined in guix would build when bootstrapping with "maven-ant-task". *maven bootstraps with this versions* (see below). In the repo you can find the file "30-compare-jars.ods", which shows the versions in different test-scenarios: Col 1: Versions and dependencies as listed in maven's DEPENDENCIES file. Col 2: Versions in the CLASSPATH when running maven-ant-task. Files not listed in Col 1 are marked yellow. Col 4: Versions in CLASSPATH used in guix WIP-maven. Version differing from Col 2 are marked blue. Col 3: Versions for running maven-ant-task, adopted to the versions in WIP-maven. Notably the versions used in guix are the same versions as used in Col 3 and Col 3 passes. You may want to double-check this. To reproduce this, run: git clone https://gitlab.com/htgoebel/guix.git cd guix git checkout WIP-maven X=3D"$PWD" cd /tmp tar xzf /gnu/store/ydp9px7*-apache-maven-3.3.9-src.tar.gz patch < "$X/maven-with-guix-versions.patch" cd apache-maven-3.3.9 M2_HOME=3D/tmp/maven-test-build ant all --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |