Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8792
| From | Andrew Schurman <arcticwaters@gmail.com> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Packaging maven-scala-plugin (Was: Help needed for gatk) |
| Date | 2016-02-01 13:40 +0100 |
| Message-ID | <qXlVU-2IS-19@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <qWHc9-70c-69@gated-at.bofh.it> <qWKWl-1fn-3@gated-at.bofh.it> <qXiv0-4W-19@gated-at.bofh.it> <qXkwO-1GH-9@gated-at.bofh.it> <qXkGu-1Kt-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, 2016-02-01 at 12:18 +0100, Andreas Tille wrote: > I admit I have no idea how > to > craft the suggested publishedRule. The maven.publishedRules usually gets generated with comments to help you if you used mh_make. If not, check another project for reference such as [1]. Adding the line below should work: org.apache.maven maven-core jar s/.*/3.x/ > > However, what makes me really suspicious is: > > $ grep maven.*-core-java maven-scala-plugin_3.2.2-1_amd64.build > Selecting previously unselected package libmaven2-core-java. > Preparing to unpack .../libmaven2-core-java_2.2.1-24_all.deb ... > Unpacking libmaven2-core-java (2.2.1-24) ... > Selecting previously unselected package libmaven3-core-java. > Preparing to unpack .../libmaven3-core-java_3.3.9-3_all.deb ... > Unpacking libmaven3-core-java (3.3.9-3) ... > Setting up libmaven2-core-java (2.2.1-24) ... > Setting up libmaven3-core-java (3.3.9-3) ... > > > Is there any reason that libmaven2-core-java is implicitly dragged in > by > other Build-Depends and may be this is creating the problem? I wouldn't worry about this. It just means another package depends on a different version of the library. Both libmaven2-core-java and libmaven3-core-java are able to coexist on the same system. In your case, it's brought in by libmaven-docck-plugin-java, a direct dependency in the maven-scala-plugin. Your problem is that poms get rewritten in the build phase by maven- debian-helper. They change the version of dependencies to `debian` because bananas (there really is a reason, but its not important here). This happens regardless whether libmaven2-core-java gets pulled in by dpkg. We just need to tell maven-debian-helper to use a specific version, 3.x, instead of `debian` which redirects to 2.2.1 likely to maintain compatibility. This is what the maven.publishedRules file is for. Andrew [1] https://github.com/googlei18n/libphonenumber/blob/master/debian/mav en.publishedRules
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