RFD: Maven Repository Specification

Torsten Werner twerner at debian.org
Sat Jan 17 14:24:26 UTC 2009


Hi,

I have written a proposal on how to ship Maven pom files in Debian
packages at <http://wiki.debian.org/Java/MavenRepoSpec>. I would to
get an early feedback from you. Feel free to correct any language
errors in the wiki directly without any discussion.

I have already used maven-debian-helper on more than 2 dozen packages
on my local system (including jetty 6.1.9). Information about
maven-debian-helper can be found at
<http://wiki.debian.org/Java/MavenBuilder> but the specification
should be applicable to packages that are not using Maven for
building, too. The major ideas of the spec are:
- install the artifacts into a Maven repository at /usr/share/maven-repo/
- create unversioned symlinks to binary jars in /usr/share/java/
- replace hard coded version numbers in pom.xml files by properties
- use the <systemPath> element as a temporary workaround in the pom.xml

Thanks for helping,
Torsten



More information about the pkg-java-maintainers mailing list