Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8802
| From | David Bernard <david.bernard.31@gmail.com> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Packaging maven-scala-plugin (Was: Help needed for gatk) |
| Date | 2016-02-01 23:10 +0100 |
| Message-ID | <qXuPx-WW-17@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <qXmRY-3vq-13@gated-at.bofh.it> <qXmRY-3vq-11@gated-at.bofh.it> <qXn1E-3zn-29@gated-at.bofh.it> <qXtJM-8pU-11@gated-at.bofh.it> <qXtJM-8pU-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
zinc is optional at runtime, but required at build time (part of the code depends of it). I don't know the package policy of Debian (I use ArchLinux). Is it mandatarory to build every package (like in a gentoo)? If yes you'll have to build all the dependency of plugin, jars, ... from source and install them into a maven repository. It's a crazy task (including that some of jar, like scala, are not build with maven). And you'll have to create a package for every dependencies (directs + transitives). Do you plan to create a debian package for each artifacts listed via https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html of the gatk project and its plugins ? ( I didn't read the full conversation yet). On Mon, Feb 1, 2016 at 9:56 PM, Andreas Tille <andreas@an3as.eu> wrote: > Hi David, > > On Mon, Feb 01, 2016 at 09:38:44PM +0100, David Bernard wrote: > > > > TBH, I don't understand why you package a maven plugin ? > > I can understand that from a maven plugin author this sounds totally > crazy since maven is designed to download what is missing. However, the > Debian archive has to be self consistent and needs to be buildable from > source out of itself. So per Debian policy you need to build a package > while beeing offline and the usual build process guarantees that this is > ensured by creating a chroot environment that can access only the Debian > archive. The reason why we are packaging maven plugins is that we want > to package Java software for Debian that is using this plugin to build. > The project I want to build is gatk[1] and there is a thread on the > debian-java lists that exposes my motivation to package > macen-scala-plugin[2]. > > > Because the maven > > regular flow, is to let maven download and install plugins declared in > the > > project, on demand, the first time it's used/required. > > As I said above from a distribution point of view downloading is not > possible. > > > Now, about your issue, zinc is optional (personnaly I never use it). and > > first build of a maven project should not be done offline include, first > > build of a maven's plugin. And from your log, you build the plugin > offline. > > You could find the *direct* list of dependency at : > > http://davidb.github.io/scala-maven-plugin/dependencies.html > > Its an interesting piece of information that you personally do not use > zinc and thus this could be ignored. However, as you say its downloaded > at some point in time anyway due to maven's plugin mechanism. Do you > see any chance that this download could be avoided and the source code > checks the existence before trying to access zinc? > > I hope I have explained my point clearly enough and you can make some > sense out of it why we exactly need this offline mode and try to be able > to skip those things that are not used completely. > > Kind regards > > Andreas. > > [1] https://www.broadinstitute.org/gatk/ > [2] https://lists.debian.org/debian-java/2016/01/msg00050.html > > -- > http://fam-tille.de >
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-21 09:50 +0100
Re: Help needed for gatk Thorsten Glaser <t.glaser@tarent.de> - 2016-01-21 10:00 +0100
Re: Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-21 10:10 +0100
Re: Help needed for gatk gregor herrmann <gregoa@debian.org> - 2016-01-21 10:10 +0100
Re: Help needed for gatk Thorsten Glaser <t.glaser@tarent.de> - 2016-01-21 10:20 +0100
Re: Help needed for gatk Emmanuel Bourg <ebourg@apache.org> - 2016-01-21 10:30 +0100
Re: Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-21 10:50 +0100
Re: Help needed for gatk Emmanuel Bourg <ebourg@apache.org> - 2016-01-21 11:10 +0100
Re: Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-27 15:10 +0100
Re: Help needed for gatk Andrew Schurman <arcticwaters@gmail.com> - 2016-01-28 00:00 +0100
Re: Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-28 16:30 +0100
Re: Help needed for gatk Andrew Schurman <arcticwaters@gmail.com> - 2016-01-29 19:50 +0100
Re: Help needed for gatk Andreas Tille <andreas@an3as.eu> - 2016-01-29 22:40 +0100
Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <tille@debian.org> - 2016-01-28 19:40 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-01-30 15:00 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Emmanuel Bourg <ebourg@apache.org> - 2016-01-30 15:50 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-01-30 18:10 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andrew Schurman <arcticwaters@gmail.com> - 2016-01-30 22:10 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-02-01 10:00 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andrew Schurman <arcticwaters@gmail.com> - 2016-02-01 12:10 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-02-01 12:20 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andrew Schurman <arcticwaters@gmail.com> - 2016-02-01 13:40 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Emmanuel Bourg <ebourg@apache.org> - 2016-02-01 14:40 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-02-01 14:50 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-02-01 22:00 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) David Bernard <david.bernard.31@gmail.com> - 2016-02-01 23:10 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@fam-tille.de> - 2016-02-01 23:10 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) David Bernard <david.bernard.31@gmail.com> - 2016-02-01 23:20 +0100
Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Andreas Tille <andreas@an3as.eu> - 2016-02-01 14:40 +0100
csiph-web