[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jgit-dev] Adjusting the org.eclipse.jgit.packaging build for a new module
|
Hi,
There is a package in org.eclipse.jgit.pgm that I would like to move
to a separate module, to let packages like Gitiles make use of it
without depending on the entire set of command-line tools. So I
made a new OSGi bundle for it:
https://git.eclipse.org/r/#/c/12262/
After that change, JGit built with "mvn clean install" still passes
tests and "jgit archive" works as before. Unfortunately
mvn -f org.eclipse.jgit.packaging/pom.xml clean install
fails with
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.jgit.pgm.feature.group 3.0.0.qualifier
[ERROR] Missing requirement: org.eclipse.jgit.pgm.feature.group 3.0.0.qualifier requires 'org.eclipse.jgit.archive 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.apache.commons.compress 1.4.1 to package org.tukaani.xz 0.0.0.",
(etc). By contrast, the Tycho build for unpatched JGit works fine,
even though it relies on org.apache.commons.compress as well. A
fuller message can be found at the gerrit link above, and a complete
log of Hudson reaching the same error is at
https://hudson.eclipse.org/sandbox/job/jgit.gerrit/3458/console
No doubt I made a mistake somewhere, for example in the manifest for
org.eclipse.jgit.archive, but try as I might I haven't been able to
find the problem. Ideas? Alternatively, where can I read more about
how Tycho and p2 work?
Thanks,
Jonathan