guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed from Java developer to finish maven


From: Hartmut Goebel
Subject: Re: Help needed from Java developer to finish maven
Date: Sun, 23 Apr 2017 14:36:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Björn,

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
… 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
./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="$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=/tmp/maven-test-build ant all

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |





reply via email to

[Prev in Thread] Current Thread [Next in Thread]