File: README.md

package info (click to toggle)
ivy-debian-helper 1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 72 kB
  • sloc: java: 135; xml: 46; perl: 32; makefile: 3
file content (32 lines) | stat: -rw-r--r-- 975 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Ivy Debian Helper
-----------------

This project contains helper tools to ease the packaging of Ivy based projects in Debian.
It consists in:

 * an Ivy plugin resolving the dependencies against the system Maven repository (`/usr/share/maven-repo`).
   The resolver uses the same Maven rule files that maven-debian-helper and maven-repo-helper employ
   (`debian/maven.rules`, `debian/maven.ignoreRules`).

 * a debhelper class initializing the plugin and running Ant+Ivy in offline mode.


Usage
-----

1. Add a build dependency on ivy-debian-helper in `debian/control`

2. Use a `debian/rules` file with:

       %:
               dh $@ --buildsystem=ivy

3. Create `debian/maven.rules` and/or `debian.maven.ignoreRules` with the dependency rules


Limitations
-----------

* Transitive dependencies with a non generic version (neither 'debian' nor '.x')
  must be added to `debian/maven.rules` in order to preserve the version
  (with a rule like: `org.foo bar * * * *`)