Re: New version has switched build system to Maven
Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- To: Debian Java List <debian-java@lists.debian.org>
- Cc: Debian Med Project List <debian-med@lists.debian.org>, Afif Elghraoui <afif@debian.org>
- Subject: Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Andreas Tille <andreas@an3as.eu>
- Date: Tue, 29 Jan 2019 10:20:48 +0100
- Message-id: <[🔎] 20190129092048.eckeaa27nxecjz74@an3as.eu>
- In-reply-to: <[🔎] f8a90a37-e291-a41a-7c0e-b1637446b5ef@apache.org>
- References: <[🔎] 20190128114640.5hqlsjeh6xqdpwjd@an3as.eu> <[🔎] 683df68a-f8ef-12c8-b810-ed5f5641da0e@apache.org> <[🔎] 20190128191951.a75eub3tg7gbqveq@an3as.eu> <[🔎] f8a90a37-e291-a41a-7c0e-b1637446b5ef@apache.org>
Hi Emmanuel, On Mon, Jan 28, 2019 at 09:15:49PM +0100, Emmanuel Bourg wrote: > No no no it has to work, otherwise you'll run into many other issues... Ahhh, another very helpful hint. I was running mh_make now and was merging its results in. That was very enlightening and saved me some stupid patches I did before just since I was to stupid to understand maven-helper. > > [ERROR] Failed to execute goal on project artemis: Could not resolve dependencies for project uk.ac.sanger:artemis:jar:18.0.1: The following artifacts could not be resolved: org.apache.xmlgraphics:batik-codec:jar:1.9.1, org.apache.xmlgraphics:batik-dom:jar:1.9.1, org.apache.xmlgraphics:batik-ext:jar:1.9.1, org.apache.xmlgraphics:batik-svggen:jar:1.9.1, org.apache.xmlgraphics:batik-util:jar:1.9.1, com.ibatis:ibatis:jar:2.3.4.726, cglib:cglib-nodep:jar:2.2, com.sshtools:j2ssh-core:jar:0.2.9, org.emboss:jemboss:jar:1.0, org.biojava:biojava:jar:1.6, com.github.broadinstitute:picard:jar:2.18.14, org.evosuite:evosuite-standalone-runtime:jar:1.0.6, org.mockito:mockito-core:jar:2.23.0: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.xmlgraphics:batik-codec:jar:1.9.1 has not been downloaded from it before. -> [Help 1] > > ...like this one :) On the other hand I think there are some remaining packages that are not featuring proper maven helper. So I'm now remaining with: [INFO] ------------------------< uk.ac.sanger:artemis >------------------------ [INFO] Building Artemis 18.0.1 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for com.ibatis:ibatis:jar:debian is missing, no dependency information available [WARNING] The POM for com.sshtools:j2ssh-core:jar:debian is missing, no dependency information available [WARNING] The POM for org.emboss:jemboss:jar:debian is missing, no dependency information available [WARNING] The POM for org.biojava:biojava:jar:debian is missing, no dependency information available [WARNING] The POM for com.github.broadinstitute:picard:jar:debian is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.450 s [INFO] Finished at: 2019-01-29T08:29:42Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project artemis: Could not resolve dependencies for project uk.ac.sanger:artemis:jar:18.0.1: The following artifacts could not be resolved: com.ibatis:ibatis:jar:debian, com.sshtools:j2ssh-core:jar:debian, org.emboss:jemboss:jar:debian, org.biojava:biojava:jar:debian, com.github.broadinstitute:picard:jar:debian: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.ibatis:ibatis:jar:debian has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException which are less issues but the according JARs are definitely inside Debian: com.ibatis:ibatis:jar:debian -> libibatis-java com.sshtools:j2ssh-core:jar:debian -> libj2ssh-java org.emboss:jemboss:jar:debian -> jemboss org.biojava:biojava:jar:debian -> libbiojava-java com.github.broadinstitute:picard:jar:debian -> picard-tools While the latter three are in possession of the Debian Med team and I'm willing to add proper maven metadata to enable correct detection for the future, I think there are some replacement rules which would let the package build. Unfortunately I never have understand these substitutions done in debian/maven.rules and I wonder whether some kind soul can provide me with a patch for the said packages. Kind regards Andreas. -- http://fam-tille.de
Reply to:
- Follow-Ups:
- Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Olivier Sallou <olivier.sallou@irisa.fr>
- Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- References:
- New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Andreas Tille <andreas@an3as.eu>
- Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Emmanuel Bourg <ebourg@apache.org>
- Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Andreas Tille <andreas@an3as.eu>
- Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- From: Emmanuel Bourg <ebourg@apache.org>
- New version has switched build system to Maven - any hint how to resolve dependencies?
- Prev by Date: Bug#920771: ITP: jodd -- Java utility library and set of frameworks
- Next by Date: Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- Previous by thread: Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- Next by thread: Re: New version has switched build system to Maven - any hint how to resolve dependencies?
- Index(es):