Re: How to replace javax.xml.bind in milib
- To: tony mancill <tmancill@debian.org>
- Cc: Debian Java List <debian-java@lists.debian.org>
- Subject: Re: How to replace javax.xml.bind in milib
- From: Andreas Tille <tille@debian.org>
- Date: Sun, 27 Jan 2019 00:25:35 +0100
- Message-id: <[🔎] 20190126232535.piucrem65whptule@an3as.eu>
- In-reply-to: <[🔎] 20190126185246.hddjim4asbrwv5kw@lark>
- References: <[🔎] 20190125205957.orn7giws6eqomrf4@an3as.eu> <[🔎] eae1db10-0138-4efd-9345-0de87e32331f@apache.org> <[🔎] 20190125213240.2pbkxxti2b6pdwrk@an3as.eu> <20190126042355.n4qzszb5ssn5vifl@lark> <[🔎] 20190126101136.slp6saauvzbk5kjp@an3as.eu> <[🔎] 20190126185246.hddjim4asbrwv5kw@lark>
Hi Tony, On Sat, Jan 26, 2019 at 10:52:46AM -0800, tony mancill wrote: > On Sat, Jan 26, 2019 at 11:11:36AM +0100, Andreas Tille wrote: > > [INFO] ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal on project milib: Could not resolve dependencies for project com.milaboratory:milib:jar:1.9: The following artifacts could not be resolved: javax.xml.bind:jaxb-core:jar:debian, javax.xml.bind:jaxb-runtime:jar:debian: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.xml.bind:jaxb-core: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 > > > > > > Am I missing something? > > Based on that error message, the build system is trying to find the > jaxb-core and jaxb-runtime JARs locally (since the Debian toolchain > doesn't allow it pull things from the Internet - this is why all of > these builds "just work" outside of the Debian context). > > Therefore, you should add libjaxb-java as a build-dep, which will add > the following JARs to the local maven repo during the build: Hmmm, the Build-Depends was set in the build creating the error above. > /usr/share/java/jaxb-core.jar > /usr/share/java/jaxb-jxc-jdk9.jar > /usr/share/java/jaxb-jxc.jar > /usr/share/java/jaxb-runtime.jar > /usr/share/java/jaxb-xjc-jdk9.jar > /usr/share/java/jaxb-xjc.jar > /usr/share/java/jaxb-impl.jar > > You might also want to include libjaxb-java as a dependency of your > binary package. I added this but there must be another trick to get the package built. Kind regards Andreas. -- http://fam-tille.de
Reply to:
- Follow-Ups:
- Re: How to replace javax.xml.bind in milib
- From: tony mancill <tmancill@debian.org>
- Re: How to replace javax.xml.bind in milib
- References:
- How to replace javax.xml.bind in milib
- From: Andreas Tille <andreas@an3as.eu>
- Re: How to replace javax.xml.bind in milib
- From: Emmanuel Bourg <ebourg@apache.org>
- Re: How to replace javax.xml.bind in milib
- From: Andreas Tille <andreas@an3as.eu>
- Re: How to replace javax.xml.bind in milib
- From: Andreas Tille <tille@debian.org>
- Re: How to replace javax.xml.bind in milib
- From: tony mancill <tmancill@debian.org>
- How to replace javax.xml.bind in milib
- Prev by Date: Re: Javadoc -link makes broken links if module name matches package name
- Next by Date: Re: How to replace javax.xml.bind in milib
- Previous by thread: Re: How to replace javax.xml.bind in milib
- Next by thread: Re: How to replace javax.xml.bind in milib
- Index(es):