Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8530
| From | Markus Koschany <apo@gambaru.de> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Adding maven artifacts to library package |
| Date | 2015-10-31 22:40 +0100 |
| Message-ID | <qpM2u-82l-13@gated-at.bofh.it> (permalink) |
| References | <qpLJ7-7VS-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, Am 31.10.2015 um 22:13 schrieb Felix Natter: > hello, > > I am working on the insubstantial (flamingo/substance/trident) package > for Debian: > https://github.com/fnatter/insubstantial-debian > > Is there a "role model" package for publishing maven artifacts? > > Shall I generate the POMs from the (gradle) build system or > shall I adapt the poms from maven.org [1]? How does it need to be > adapted for /usr/share/maven-repo? > > [1] see for example: > http://search.maven.org/#artifactdetails|com.github.insubstantial|flamingo|7.3|jar > > Thanks and Best Regards, > The gradle source package itself generates the pom files like this: https://sources.debian.net/src/gradle/2.7-1/debian/generate-pom.gradle and installs all poms for instance with https://sources.debian.net/src/gradle/2.7-1/debian/libgradle-core-java.poms You need a build-dependency on maven-repo-helper and add --with maven_repo_helper to dh. That's it. You can also grab the poms from maven.org and put them into a subdirectory like debian/poms. Just change the path in your *.poms file accordingly. There is no real "role model" package but you can find some examples with codesearch.debian.net. https://codesearch.debian.net/results/--with%20maven_repo_helper Cheers, Markus
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Find similar
Adding maven artifacts to library package Felix Natter <fnatter@gmx.net> - 2015-10-31 22:20 +0100 Re: Adding maven artifacts to library package Markus Koschany <apo@gambaru.de> - 2015-10-31 22:40 +0100
csiph-web