Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #9106
| From | Emmanuel Bourg <ebourg@apache.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Dependencies packaged without POMs |
| Date | 2016-05-11 00:50 +0200 |
| Message-ID | <rxoDw-3zC-23@gated-at.bofh.it> (permalink) |
| References | <rxotR-3v7-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 11/05/2016 à 00:34, Christopher Hoskin a écrit : > How should Maven projects which reference such dependencies be packaged? > According to the spec [0], <scope> and <systempath> should be used to > reference such jars. But this appears not to work in practice ([1]). Actually you can use <systemPath> with maven-debian-helper, it's just the package generator mh_make that doesn't support it. To deal with such a dependency you have to: 1. ignore it during the mh_make process 2. re-enable it by editing the generated debian/maven.ignoreRules file 3. patch the pom to set the <systempath> However this is really a last resort solution, it's preferable to modify the package and install the Maven artifacts. Emmanuel Bourg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar | Unroll thread
Dependencies packaged without POMs Christopher Hoskin <christopher.hoskin@gmail.com> - 2016-05-11 00:40 +0200 Re: Dependencies packaged without POMs Emmanuel Bourg <ebourg@apache.org> - 2016-05-11 00:50 +0200
csiph-web